{"id":37305,"date":"2019-10-31T22:16:52","date_gmt":"2019-10-31T19:16:52","guid":{"rendered":"https:\/\/prohoster.info\/blog\/kak-ya-navodil-poryadok-v-proekte-gde-les-pryamyh-ruk-nastrojki-tslint-prettier-etc\/"},"modified":"2019-10-31T22:16:52","modified_gmt":"2019-10-31T19:16:52","slug":"kak-ya-navodil-poryadok-v-proekte-gde-les-pryamyh-ruk-nastrojki-tslint-prettier-etc","status":"publish","type":"post","link":"https:\/\/prohoster.info\/de\/blog\/novosti-interneta\/kak-ya-navodil-poryadok-v-proekte-gde-les-pryamyh-ruk-nastrojki-tslint-prettier-etc","title":{"rendered":"Wie ich Ordnung in ein Projekt gebracht habe, wo es eine Menge Chaos gab (Einstellungen f\u00fcr TSLint, Prettier usw.)","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u0418 \u0441\u043d\u043e\u0432\u0430 \u0437\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435. \u041d\u0430 \u0441\u0432\u044f\u0437\u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/vk.com\/sergamers\">\u041e\u043c\u0435\u043b\u044c\u043d\u0438\u0446\u043a\u0438\u0439 \u0421\u0435\u0440\u0433\u0435\u0439<\/a><\/noindex>. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441 \u0412\u0430\u043c\u0438 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u0433\u043e\u043b\u043e\u0432\u043d\u044b\u0445 \u0431\u043e\u043b\u0435\u0439, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u2014 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0438\u0448\u0443\u0442 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u041a\u0430\u043a \u044f \u043d\u0430\u0432\u043e\u0434\u0438\u043b \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0433\u0434\u0435 \u043b\u0435\u0441 \u043f\u0440\u044f\u043c\u044b\u0445 \u0440\u0443\u043a (\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 tslint, prettier, etc)\" src=\"\/wp-content\/uploads\/2019\/08\/7fd81ec29691efaf94a87c5786f24fbc.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u0422\u0430\u043a \u043f\u043e\u0432\u0435\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044f \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439, \u0433\u0434\u0435 \u043c\u044b \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u044b\u0432\u0430\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0438 \u0442.\u043f. \u041f\u0440\u0438\u0442\u0435\u0440\u043b\u0438\u0441\u044c \u043a \u043d\u0438\u043c \u0438 \u0436\u0438\u043b\u0438 \u0434\u0440\u0443\u0436\u043d\u043e \u0438 \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u043e. \u041d\u0430 \u0440\u0430\u0434\u043e\u0441\u0442\u044f\u0445 \u044f \u0434\u0430\u0436\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u044e \u043d\u0430 \u0425\u0430\u0431\u0440 \u043f\u043e <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/sandbox\/128796\/\">\u043d\u0430\u0448\u0435\u043c\u0443 \u043a\u043e\u0434\u0441\u0442\u0430\u0439\u043b\u0443<\/a><\/noindex>. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0437 \u0447\u0435\u0433\u043e-\u0442\u043e \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e tslint \u043d\u0430 \u043f\u0440\u0435-\u043a\u043e\u043c\u043c\u0438\u0442.<\/p>\n<p><\/p>\n<p>\u0418 \u0442\u0443\u0442 \u043c\u044b \u0440\u0430\u0437\u0440\u043e\u0441\u043b\u0438\u0441\u044c. \u041f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0441 \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u0430 \u043a \u043d\u0435\u043c\u0443 \u0432 \u043f\u0440\u0438\u0434\u0430\u0447\u0443 \u043d\u043e\u0432\u044b\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0432 \u0440\u0430\u0437\u043c\u0435\u0440\u0435 4-\u0445 \u0434\u043e\u0431\u0440\u044b\u0445 \u043c\u043e\u043b\u043e\u0434\u0446\u0435\u0432. \u0418 \u0447\u0435\u0442 \u0442\u0443\u0442 \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u043f\u043e \u043f\u043b\u0430\u043d\u0443. <\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<p><img decoding=\"async\" alt=\"\u041a\u0430\u043a \u044f \u043d\u0430\u0432\u043e\u0434\u0438\u043b \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0433\u0434\u0435 \u043b\u0435\u0441 \u043f\u0440\u044f\u043c\u044b\u0445 \u0440\u0443\u043a (\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 tslint, prettier, etc)\" src=\"\/wp-content\/uploads\/2019\/08\/8beb59e6704242ef455ee183af7b0134.jpg\" style=\"display:block;margin: 0 auto;\" \/> <\/p>\n<p><\/p>\n<p>\u042f \u0434\u0443\u043c\u0430\u044e \u043c\u043d\u043e\u0433\u0438\u0435 \u0437\u043d\u0430\u044e\u0442, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u043d\u0435 \u043a\u0430\u0439\u0444. \u041d\u0430 \u043c\u043e\u0435\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0435\u043a\u0442 \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u044b\u043b \u0432 \u0432\u043e\u0441\u0442\u043e\u0440\u0433\u0435, \u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435\u2026 \u0422\u0430\u043a \u043e \u0447\u0435\u043c \u044f?) \u0410\u0445 \u0434\u0430.<\/p>\n<p><\/p>\n<p>\u041e\u0442\u043a\u0440\u043e\u0432\u0435\u043d\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u0430 \u0436\u0435\u043b\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0435\u0433\u043e, \u0430 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0438 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043d\u0438\u043b\u0430\u0441\u044c. \u0412 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u043f\u0440\u0438\u0443\u043d\u044b\u043b \u043e\u0442 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0430\u0448\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0448\u043a\u0430 \u043f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043d\u0435 \u043f\u0438\u0448\u0443\u0442\u0441\u044f, \u0442\u0438\u043f \u2014 \u0447\u0442\u043e \u044d\u0442\u043e?). \u0412\u043e\u0442 \u0441 \u044d\u0442\u0438\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0447\u0442\u043e-\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c.<\/p>\n<p>\n<b class=\"spoiler_title\">\u0414\u043b\u044f \u0442\u0435\u0445 \u043a\u043e\u043c\u0443 \u043d\u0435 \u0442\u0435\u0440\u043f\u0438\u0442\u0441\u044f \u0443\u0437\u043d\u0430\u0442\u044c \u0432\u0441\u0435 \u0448\u0430\u0433\u0438 \u0441\u0440\u0430\u0437\u0443:<\/b><\/p>\n<ul>\n<li>\n<p>\u041c\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u043b\u0438 tslint \u043d\u0430 \u043c\u044f\u0433\u043a\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 ( \u0434\u043b\u044f pre-commit ) \u0438 \u0436\u0435\u0441\u0442\u043a\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 ( \u0434\u043b\u044f ide, \u0447\u0442\u043e\u0431 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043b\u0430 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0437\u0430\u0431\u044b\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c )<\/p>\n<p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0432\u0435\u0441\u0438\u043b\u0438 \u043d\u0430 pre-commit \u0430\u0432\u0442\u043e\u0444\u0438\u043a\u0441\u0430\u0446\u0438\u044e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u043f\u0440\u0430\u0432\u0438\u043b \u043e\u0442 \u0436\u0435\u0441\u0442\u043a\u043e\u0433\u043e tslint<\/p>\n<p>\n<\/li>\n<li>\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f prettier <\/p>\n<p>\n<\/li>\n<li>\n<p>\u0422\u0430\u043d\u0446\u0435\u0432\u0430\u043b\u0438 \u0441 \u0431\u0443\u0431\u043d\u043e\u043c \u0447\u0442\u043e\u0431 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c ng lint \u0441 lint-staged<\/p>\n<p>\n<\/li>\n<\/ul>\n<p><\/p>\n<h3 id=\"shag-pervyy---razdelyay-i-vlastvuy\">\u0428\u0430\u0433 \u043f\u0435\u0440\u0432\u044b\u0439 \u2014 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0439 \u0438 \u0432\u043b\u0430\u0441\u0442\u0432\u0443\u0439<\/h3>\n<p><\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0430 \u0438\u0434\u0435\u044f \u0443\u0436\u0435\u0441\u0442\u043e\u0447\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043b\u0438\u043d\u0442\u0435\u0440\u0430 \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u043c\u044b \u043f\u043e\u0432\u0435\u0441\u0438\u043c\u0441\u044f. \u041a\u043e\u0434-\u0442\u043e \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0439. \u0412 \u043d\u0435\u043c \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f, \u0430 \u0432 \u0442\u0430\u043a\u043e\u043c \u043e\u0431\u044a\u0435\u043c\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043a\u043e\u043f\u0430\u0442\u044c\u0441\u044f. \u0411\u044b\u043b\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c 2-\u0439 \u043b\u0438\u043d\u0442\u0435\u0440 \u0434\u043b\u044f ide, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u044b \u043c\u043e\u0437\u043e\u043b\u0438\u043b \u0433\u043b\u0430\u0437\u0430 \u0438 \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u043b \u043f\u0438\u0441\u0430\u0442\u044c jsdoc \u0434\u043b\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u0441\u0432-\u0432, \u043f\u0438\u0441\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0438\u043b\u0438 \u0437\u043b\u0430\u0441\u0447\u0430\u0441\u0442\u043d\u044b\u0439 onPush \u0438 \u0442.\u043f.<\/p>\n<p><\/p>\n<p>\u0418\u0442\u0430\u043a \u0432 \u043a\u043e\u0440\u043d\u0435 \u0443 \u043d\u0430\u0441 \u043d\u0430\u0447\u0430\u043b\u043e \u043b\u0435\u0436\u0430\u0442\u044c 2 tslin \u0444\u0430\u0439\u043b\u0430:<\/p>\n<p>\n<b class=\"spoiler_title\">tsconfig.json<\/b><\/p>\n<pre><code class=\"json\">{\n  \"rulesDirectory\": [\n    \"node_modules\/codelyzer\"\n  ],\n  \"rules\": {\n    \"arrow-return-shorthand\": true,\n    \"callable-types\": true,\n    \"class-name\": true,\n    \"comment-format\": [\n      true,\n      \"check-space\"\n    ],\n    \"curly\": true,\n    \"deprecation\": {\n      \"severity\": \"warn\"\n    },\n    \"eofline\": true,\n    \"forin\": true,\n    \"import-blacklist\": [\n      true,\n      \"rxjs\/Rx\"\n    ],\n    \"import-spacing\": true,\n    \"indent\": [\n      true,\n      \"spaces\"\n    ],\n    \"interface-over-type-literal\": true,\n    \"label-position\": true,\n    \"max-line-length\": [\n      true,\n      200\n    ],\n    \"member-access\": false,\n    \"member-ordering\": [\n      true,\n      {\n        \"order\": [\n          \"static-field\",\n          \"instance-field\",\n          \"static-method\",\n          \"instance-method\"\n        ]\n      }\n    ],\n    \"no-arg\": true,\n    \"no-bitwise\": true,\n    \"no-console\": [\n      true,\n      \"debug\",\n      \"info\",\n      \"time\",\n      \"timeEnd\",\n      \"trace\"\n    ],\n    \"no-construct\": true,\n    \"no-debugger\": true,\n    \"no-duplicate-super\": true,\n    \"no-empty\": false,\n    \"no-empty-interface\": true,\n    \"no-eval\": true,\n    \"no-inferrable-types\": [\n      false,\n      \"ignore-params\"\n    ],\n    \"no-duplicate-imports\": true,\n    \"no-misused-new\": true,\n    \"no-non-null-assertion\": true,\n    \"no-redundant-jsdoc\": true,\n    \"no-shadowed-variable\": false,\n    \"no-string-literal\": false,\n    \"no-string-throw\": true,\n    \"no-switch-case-fall-through\": true,\n    \"no-trailing-whitespace\": [\n      true,\n      \"ignore-comments\",\n      \"ignore-jsdoc\"\n    ],\n    \"no-unnecessary-initializer\": true,\n    \"no-unused-expression\": true,\n    \"no-use-before-declare\": false,\n    \"no-var-keyword\": true,\n    \"object-literal-sort-keys\": false,\n    \"one-line\": [\n      true,\n      \"check-open-brace\",\n      \"check-catch\",\n      \"check-else\",\n      \"check-whitespace\"\n    ],\n    \"prefer-const\": true,\n    \"quotemark\": [\n      true,\n      \"single\"\n    ],\n    \"radix\": false,\n    \"semicolon\": [\n      true,\n      \"always\"\n    ],\n    \"triple-equals\": [\n      true,\n      \"allow-null-check\"\n    ],\n    \"typedef-whitespace\": [\n      true,\n      {\n        \"call-signature\": \"nospace\",\n        \"index-signature\": \"nospace\",\n        \"parameter\": \"nospace\",\n        \"property-declaration\": \"nospace\",\n        \"variable-declaration\": \"nospace\"\n      }\n    ],\n    \"unified-signatures\": true,\n    \"variable-name\": false,\n    \"whitespace\": [\n      true,\n      \"check-branch\",\n      \"check-decl\",\n      \"check-operator\",\n      \"check-separator\",\n      \"check-type\"\n    ],\n    \"directive-selector\": [\n      true,\n      \"attribute\",\n      \"app\",\n      \"camelCase\"\n    ],\n    \"component-selector\": [\n      true,\n      \"element\",\n      \"app\",\n      \"kebab-case\"\n    ],\n    \"no-output-on-prefix\": false,\n    \"no-inputs-metadata-property\": true,\n    \"no-outputs-metadata-property\": true,\n    \"no-host-metadata-property\": true,\n    \"no-input-rename\": false,\n    \"no-output-rename\": true,\n    \"use-lifecycle-interface\": true,\n    \"use-pipe-transform-interface\": true,\n    \"component-class-suffix\": true,\n    \"directive-class-suffix\": true,\n    \"no-consecutive-blank-lines\": true\n  }\n}<\/code><\/pre>\n<p>\n<b class=\"spoiler_title\">tslint.ide_only.json<\/b><\/p>\n<pre><code class=\"json\">{\n  \"rulesDirectory\": [\n    \"node_modules\/codelyzer\"\n  ],\n  \"rules\": {\n    \"completed-docs\": [\n      true,\n      {\n        \"properties\": true,\n        \"methods\": true\n      }\n    ],\n    \"no-angle-bracket-type-assertion\": true,\n    \"no-any\": true,\n    \"prefer-output-readonly\": true,\n    \"prefer-on-push-component-change-detection\": true,\n    \"array-type\": [\n      true,\n      \"array\"\n    ],\n    \"typedef\": [\n      true,\n      \"call-signature\",\n      \"arrow-call-signature\"\n    ],\n    \"arrow-return-shorthand\": true,\n    \"callable-types\": true,\n    \"class-name\": true,\n    \"comment-format\": [\n      true,\n      \"check-space\"\n    ],\n    \"curly\": true,\n    \"deprecation\": {\n      \"severity\": \"warn\"\n    },\n    \"eofline\": true,\n    \"forin\": true,\n    \"import-blacklist\": [\n      true,\n      \"rxjs\/Rx\"\n    ],\n    \"import-spacing\": true,\n    \"indent\": [\n      true,\n      \"spaces\"\n    ],\n    \"interface-over-type-literal\": true,\n    \"label-position\": true,\n    \"max-line-length\": [\n      true,\n      200\n    ],\n    \"member-access\": [\n      true,\n      \"check-parameter-property\",\n      \"check-accessor\"\n    ],\n    \"member-ordering\": [\n      true,\n      {\n        \"order\": [\n          \"public-static-field\",\n          \"protected-static-field\",\n          \"private-static-field\",\n          \"public-instance-field\",\n          \"protected-instance-field\",\n          \"private-instance-field\",\n          \"constructor\",\n          \"public-static-method\",\n          \"protected-static-method\",\n          \"private-static-method\",\n          \"public-instance-method\",\n          \"protected-instance-method\",\n          \"private-instance-method\"\n        ]\n      }\n    ],\n    \"no-arg\": true,\n    \"no-bitwise\": true,\n    \"no-console\": true,\n    \"no-construct\": true,\n    \"no-debugger\": true,\n    \"no-duplicate-super\": true,\n    \"no-empty\": false,\n    \"no-empty-interface\": true,\n    \"no-duplicate-switch-case\": true,\n    \"no-eval\": true,\n    \"no-inferrable-types\": [\n      false,\n      \"ignore-params\"\n    ],\n    \"no-duplicate-imports\": true,\n    \"one-variable-per-declaration\": true,\n    \"no-misused-new\": true,\n    \"no-non-null-assertion\": true,\n    \"prefer-template\": [\n      true,\n      \"allow-single-concat\"\n    ],\n    \"ordered-imports\": true,\n    \"no-redundant-jsdoc\": true,\n    \"no-shadowed-variable\": false,\n    \"no-string-literal\": false,\n    \"no-string-throw\": true,\n    \"no-switch-case-fall-through\": true,\n    \"no-trailing-whitespace\": [\n      true,\n      \"ignore-comments\",\n      \"ignore-jsdoc\"\n    ],\n    \"ban\": [\n      true,\n      {\n        \"name\": [\n          \"Object\",\n          \"assign\"\n        ],\n        \"message\": \"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 cloneDeep (lodash) \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430\"\n      }\n    ],\n    \"max-classes-per-file\": [\n      true,\n      1\n    ],\n    \"cyclomatic-complexity\": [\n      true,\n      6\n    ],\n    \"static-this\": true,\n    \"no-unnecessary-initializer\": true,\n    \"no-unused-expression\": true,\n    \"no-var-keyword\": true,\n    \"object-literal-sort-keys\": false,\n    \"one-line\": [\n      true,\n      \"check-open-brace\",\n      \"check-catch\",\n      \"check-else\",\n      \"check-whitespace\"\n    ],\n    \"prefer-const\": true,\n    \"quotemark\": [\n      true,\n      \"single\"\n    ],\n    \"radix\": false,\n    \"semicolon\": [\n      true,\n      \"always\"\n    ],\n    \"triple-equals\": [\n      true,\n      \"allow-null-check\"\n    ],\n    \"typedef-whitespace\": [\n      true,\n      {\n        \"call-signature\": \"nospace\",\n        \"index-signature\": \"nospace\",\n        \"parameter\": \"nospace\",\n        \"property-declaration\": \"nospace\",\n        \"variable-declaration\": \"nospace\"\n      }\n    ],\n    \"unified-signatures\": true,\n    \"variable-name\": false,\n    \"whitespace\": [\n      true,\n      \"check-branch\",\n      \"check-decl\",\n      \"check-operator\",\n      \"check-separator\",\n      \"check-type\"\n    ],\n    \"directive-selector\": [\n      true,\n      \"attribute\",\n      \"app\",\n      \"camelCase\"\n    ],\n    \"component-selector\": [\n      true,\n      \"element\",\n      \"app\",\n      \"kebab-case\"\n    ],\n    \"no-output-on-prefix\": false,\n    \"no-inputs-metadata-property\": true,\n    \"no-outputs-metadata-property\": true,\n    \"no-host-metadata-property\": true,\n    \"no-input-rename\": false,\n    \"no-output-rename\": true,\n    \"use-lifecycle-interface\": true,\n    \"use-pipe-transform-interface\": true,\n    \"component-class-suffix\": true,\n    \"directive-class-suffix\": true,\n    \"no-consecutive-blank-lines\": true\n  }\n}<\/code><\/pre>\n<p><\/p>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 <code>src\/tslint<\/code> \u043c\u044b \u0437\u0430\u043c\u0435\u043d\u0438\u043b\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 tslint \u043d\u0430 ide<\/p>\n<p>\n<b class=\"spoiler_title\">src\/tslint.json<\/b><\/p>\n<pre><code class=\"json\">{\n    \"extends\": \"..\/tslint.ide_only.json\",\n    \"rules\": {\n        \"directive-selector\": [\n            true,\n            \"attribute\",\n            \"app\",\n            \"camelCase\"\n        ],\n        \"component-selector\": [\n            true,\n            \"element\",\n            \"app\",\n            \"kebab-case\"\n        ]\n    }\n}<\/code><\/pre>\n<p><\/p>\n<p>\u0418 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043b \u0437\u0430\u043f\u0443\u0441\u043a \u043d\u0430\u0448\u0435\u0433\u043e \u043b\u0438\u043d\u0442\u0435\u0440\u0430 \u0432 \u0441\u043a\u0440\u0438\u0442\u0430\u0445 package.json <\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">ng lint --tslint-config .\/tslint.json --fix`<\/code><\/pre>\n<p><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043c\u044b \u0441\u0442\u0430\u043b\u0438 \u0432\u0435\u0448\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0445 \u0432\u0435\u0449\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u0442\u044c.<\/p>\n<p><\/p>\n<h3 id=\"shag-vtoroy---popravit-paru-momentov\">\u0428\u0430\u0433 \u0432\u0442\u043e\u0440\u043e\u0439 \u2014 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432<\/h3>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u041a\u0430\u043a \u044f \u043d\u0430\u0432\u043e\u0434\u0438\u043b \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0433\u0434\u0435 \u043b\u0435\u0441 \u043f\u0440\u044f\u043c\u044b\u0445 \u0440\u0443\u043a (\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 tslint, prettier, etc)\" src=\"\/wp-content\/uploads\/2019\/08\/31c344f2719c019ab554ee6e4eb88784.jpg\" style=\"display:block;margin: 0 auto;\" \/> <\/p>\n<p><\/p>\n<p>\u0423 tslint \u0435\u0441\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0441 <code>has fixer<\/code>. \u0422\u0430\u043a \u0434\u0430\u0432\u0430\u0439 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f.<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">tslint --project tslint.ide_only.json --fix --force<\/code><\/pre>\n<p><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0436\u0435\u0441\u0442\u043a\u043e\u0433\u043e \u043b\u0438\u043d\u0442\u0435\u0440\u0430 \u0441 \u0430\u0432\u0442\u043e\u0444\u0438\u043a\u0441\u0430\u0446\u0438\u0435\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u043c, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u0430 \u043e\u0448\u0438\u0431\u043e\u043a ( \u0442\u0443\u0442 \u043d\u0430\u0448\u0430 \u0446\u0435\u043b\u044c \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 ).<\/p>\n<p><\/p>\n<h3 id=\"shag-tretiy---pishi-krasivo\">\u0428\u0430\u0433 \u0442\u0440\u0435\u0442\u0438\u0439 \u2014 \u043f\u0438\u0448\u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e<\/h3>\n<p><\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0438\u0448\u0435\u0442 \u0432 \u0441\u0432\u043e\u0435\u0439 \u043c\u0430\u043d\u0435\u0440\u0435 \u044d\u0442\u043e \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u0443\u0442\u043e\u043c\u043b\u044f\u0435\u0442. \u041a\u043e\u0434 \u043d\u0443\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a, \u0447\u0442\u043e\u0431 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u0447\u0435\u043b\u043e\u0432\u0435\u043a. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043b prettier, \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438:<\/p>\n<p>\n<b class=\"spoiler_title\">.prettierr.yaml<\/b><\/p>\n<pre><code class=\"plaintext\">printWidth: 200     # \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b-\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435\ntabWidth: 2         # \u041f\u0440\u043e\u0431\u0435\u043b\u043e\u0432 \u0432 \u0422\u0430\u0431\u0435\nsingleQuote: true   # \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u043a\u0430\u0432\u044b\u0447\u043a\u0438\ntrailingComma: all  # \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u044f\u0442\u044b\u0435 \u0433\u0434\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\narrowParens: always # \u0421\u0442\u0440\u0435\u043b\u043e\u0447\u043d\u044b\u0435 \u0444-\u0438\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 (x) =&gt; x\noverrides:\n  - files: \"*.ts\"   # \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 *.ts\n    options:\n      parser: typescript  # \u042f\u0437\u044b\u043a \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 *.ts<\/code><\/pre>\n<p><\/p>\n<p>\u0418 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u0443: <code>prettier --write --config .prettierr.yaml<\/code><\/p>\n<p><\/p>\n<h3 id=\"shag-chetvertyy---i-kak-ty-prikazhesh-vse-eto-zapuskat\">\u0428\u0430\u0433 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439 \u2014 \u0418 \u043a\u0430\u043a \u0442\u044b \u043f\u0440\u0438\u043a\u0430\u0436\u0435\u0448\u044c \u0432\u0441\u0435 \u044d\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c?<\/h3>\n<p><\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043a\u0430\u043a \u0436\u0435 \u0432\u0441\u0435 \u044d\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431 \u044d\u0442\u043e \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043b\u0438\u0431\u044b: <\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">npm i -D prettier lint-staged husky<\/code><\/pre>\n<p><\/p>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e husky \u043c\u044b \u043f\u043e\u0432\u0435\u0441\u0438\u043c \u0437\u0430\u043f\u0443\u0441\u043a \u043d\u0430\u0448\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u043d\u0430 git \u0445\u0443\u043a \u2014 pre-commit. lint-staged \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0430\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 ( \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u044d\u0442\u0438 \u0444\u0430\u0439\u043b\u044b \u043a \u043d\u0430\u043c \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b). <\/p>\n<p><\/p>\n<p>\u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0435\u0449\u0435 \u0441\u0440\u0430\u0437\u0443 \u043e\u0431\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u044f. \u0423 \u043d\u0430\u0441 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c ng lint. \u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0435\u0433\u043e \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 lint-staged, \u0442\u043e \u0432 \u043d\u0430\u0448\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b. \u0423 ng lint \u0435\u0441\u0442\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043a\u043b\u044e\u0447 <code>--files<\/code>, \u043d\u043e, \u043a\u0430\u043a \u044f \u043f\u043e\u043d\u044f\u043b, \u043e\u043d \u043d\u0435 \u0432\u0438\u0434\u0438\u0442 \u043f\u0430\u0447\u043a\u0443 \u0444\u0430\u0439\u043b\u043e\u0432, \u0438 \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043b\u044e\u0447. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b:<\/p>\n<p>\n<b class=\"spoiler_title\">lint.sh<\/b><\/p>\n<pre><code class=\"plaintext\">#!\/bin\/bash\n\nPROJECT=$1\nshift\nSOURCES=$@\nDESTINATIONS=\"\"\nDELIMITER=\"\"\n\nfor src in $SOURCES\ndo\n    DELIMITER=\" --files \"\n    DESTINATIONS=\"$DESTINATIONS$DELIMITER${src}\"\ndone\n\nng lint $PROJECT --tslint-config .\/tslint.json $DESTINATIONS<\/code><\/pre>\n<p><\/p>\n<p>\u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u044d\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u041e\u043d\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 <code>angular.json<\/code> \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 project. \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e <code>partner-account<\/code> \u0438 <code>partner-account-e2e<\/code>. \u041c\u043d\u0435 \u043d\u0443\u0436\u0435\u043d 1-\u0439.<\/p>\n<p><\/p>\n<p>\u0412\u0435\u0440\u043d\u0443\u0441\u044c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435. \u041d\u0430\u0448 package.json \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<p><\/p>\n<pre><code class=\"json\">  \"husky\": {\n    \"hooks\": {\n      \"pre-commit\": \"lint-staged --relative\"\n    }\n  },\n  \"lint-staged\": {\n    \"*.{ts,js}\": [\n      \"prettier --write --config .prettierr.yaml\",\n      \"tslint --project tslint.ide_only.json --fix --force\",\n      \"sh lint.sh partner-account\",\n      \"git add\"\n    ],\n    \"*.{html,scss,css}\": [\n      \"prettier --write --config .prettierr.yaml\",\n      \"git add\"\n    ]\n  },<\/code><\/pre>\n<p><\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 <code>lint-staged --relative<\/code>. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>--relative<\/code> \u0442\u0430\u043c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u0435\u043d. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0435 \u0443 \u043d\u0430\u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f <code>lint-staged<\/code>. \u041e\u043d \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043e\u0442\u0431\u0438\u0440\u0430\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u043d \u043d\u0438\u0445 \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043c\u0430\u043d\u0434. <\/p>\n<p><\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u044d\u0442\u043e \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u0435\u0442 \u0440\u0435\u0432\u044c\u044e \u043a\u043e\u0434\u0430, \u043d\u043e \u043e\u043d \u0441\u0442\u0430\u043b \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0447\u0438\u0449\u0435. \u0417\u0430\u043c\u0435\u0447\u0443, \u0447\u0442\u043e \u044f \u0440\u0435\u0436\u0435 \u0441\u0442\u0430\u043b \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u043f\u0440\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u0430, \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u0441\u0432-\u0432, \u0430 \u0438\u0445 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u0430\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u0435\u0434\u0438\u043d\u043e\u043c \u0441\u0442\u0438\u043b\u0435 ( \u043d\u0443 \u043f\u043e\u0447\u0442\u0438 \ud83d\ude00 ).<\/p>\n<p><\/p>\n<p>P.S. \u2014 \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043d\u0430\u0448\u0435\u043c\u0443 PM.<\/p>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/464383\/\">habr.com<\/a><\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0418 \u0441\u043d\u043e\u0432\u0430 \u0437\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435. \u041d\u0430 \u0441\u0432\u044f\u0437\u0438 \u041e\u043c\u0435\u043b\u044c\u043d\u0438\u0446\u043a\u0438\u0439 \u0421\u0435\u0440\u0433\u0435\u0439. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441 \u0412\u0430\u043c\u0438 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u0433\u043e\u043b\u043e\u0432\u043d\u044b\u0445 \u0431\u043e\u043b\u0435\u0439, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u2014 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0438\u0448\u0443\u0442 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0422\u0430\u043a \u043f\u043e\u0432\u0435\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044f \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439, \u0433\u0434\u0435 \u043c\u044b \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u044b\u0432\u0430\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0438 \u0442.\u043f. \u041f\u0440\u0438\u0442\u0435\u0440\u043b\u0438\u0441\u044c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":27985,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-37305","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-novosti-interneta"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0418 \u0441\u043d\u043e\u0432\u0430 \u0437\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435. \u041d\u0430 \u0441\u0432\u044f\u0437\u0438 \u041e\u043c\u0435\u043b\u044c\u043d\u0438\u0446\u043a\u0438\u0439 \u0421\u0435\u0440\u0433\u0435\u0439. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441 \u0412\u0430\u043c\u0438 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u0433\u043e\u043b\u043e\u0432\u043d\u044b\u0445 \u0431\u043e\u043b\u0435\u0439, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u2014 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0438\u0448\u0443\u0442 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0422\u0430\u043a \u043f\u043e\u0432\u0435\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044f \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439, \u0433\u0434\u0435 \u043c\u044b \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u044b\u0432\u0430\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0438 \u0442.\u043f. \u041f\u0440\u0438\u0442\u0435\u0440\u043b\u0438\u0441\u044c\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/de\/blog\/novosti-interneta\/kak-ya-navodil-poryadok-v-proekte-gde-les-pryamyh-ruk-nastrojki-tslint-prettier-etc\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041a\u0430\u043a \u044f \u043d\u0430\u0432\u043e\u0434\u0438\u043b \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0433\u0434\u0435 \u043b\u0435\u0441 \u043f\u0440\u044f\u043c\u044b\u0445 \u0440\u0443\u043a (\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 tslint, prettier, etc) | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0418 \u0441\u043d\u043e\u0432\u0430 \u0437\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435. \u041d\u0430 \u0441\u0432\u044f\u0437\u0438 \u041e\u043c\u0435\u043b\u044c\u043d\u0438\u0446\u043a\u0438\u0439 \u0421\u0435\u0440\u0433\u0435\u0439. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441 \u0412\u0430\u043c\u0438 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u0433\u043e\u043b\u043e\u0432\u043d\u044b\u0445 \u0431\u043e\u043b\u0435\u0439, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u2014 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0438\u0448\u0443\u0442 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0422\u0430\u043a \u043f\u043e\u0432\u0435\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044f \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439, \u0433\u0434\u0435 \u043c\u044b \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u044b\u0432\u0430\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0438 \u0442.\u043f. \u041f\u0440\u0438\u0442\u0435\u0440\u043b\u0438\u0441\u044c\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/de\/blog\/novosti-interneta\/kak-ya-navodil-poryadok-v-proekte-gde-les-pryamyh-ruk-nastrojki-tslint-prettier-etc\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:16:52+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:16:52+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Wie ich Ordnung in ein Projekt brachte, wo es an direktem Input mangelte (Einstellungen f\u00fcr TSLint, Prettier usw.) | ProHoster","description":"Hallo zusammen! Hier ist Sergey Omelnitsky. Heute m\u00f6chte ich mit Ihnen eines meiner Probleme teilen, n\u00e4mlich: Was tun, wenn an einem Projekt viele Programmierer unterschiedlicher Erfahrungsstufen arbeiten, wie zum Beispiel bei einer Angular-Anwendung. Es ist so gekommen, dass ich lange Zeit nur mit meinem Team gearbeitet habe, wo wir bereits seit geraumer Zeit die Regeln f\u00fcr Formatierungen, Kommentare, Einr\u00fcckungen usw. festgelegt hatten. Wir waren eingespielt.","canonical_url":"https:\/\/prohoster.info\/de\/blog\/novosti-interneta\/kak-ya-navodil-poryadok-v-proekte-gde-les-pryamyh-ruk-nastrojki-tslint-prettier-etc","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"de_DE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041a\u0430\u043a \u044f \u043d\u0430\u0432\u043e\u0434\u0438\u043b \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0433\u0434\u0435 \u043b\u0435\u0441 \u043f\u0440\u044f\u043c\u044b\u0445 \u0440\u0443\u043a (\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 tslint, prettier, etc) | ProHoster","og:description":"\u0418 \u0441\u043d\u043e\u0432\u0430 \u0437\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435. \u041d\u0430 \u0441\u0432\u044f\u0437\u0438 \u041e\u043c\u0435\u043b\u044c\u043d\u0438\u0446\u043a\u0438\u0439 \u0421\u0435\u0440\u0433\u0435\u0439. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441 \u0412\u0430\u043c\u0438 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u0433\u043e\u043b\u043e\u0432\u043d\u044b\u0445 \u0431\u043e\u043b\u0435\u0439, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u2014 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0438\u0448\u0443\u0442 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0422\u0430\u043a \u043f\u043e\u0432\u0435\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044f \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439, \u0433\u0434\u0435 \u043c\u044b \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u044b\u0432\u0430\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0438 \u0442.\u043f. \u041f\u0440\u0438\u0442\u0435\u0440\u043b\u0438\u0441\u044c","og:url":"https:\/\/prohoster.info\/de\/blog\/novosti-interneta\/kak-ya-navodil-poryadok-v-proekte-gde-les-pryamyh-ruk-nastrojki-tslint-prettier-etc","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:16:52+00:00","article:modified_time":"2019-10-31T19:16:52+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"37305","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 17:13:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:29:59","updated":"2026-01-23 17:13:19"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/37305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/comments?post=37305"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/37305\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media\/27985"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media?parent=37305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/categories?post=37305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/tags?post=37305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}