{"id":277094,"date":"2016-03-28T13:48:03","date_gmt":"2016-03-28T09:48:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=277094"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=277094","title":{"rendered":"\u041a\u0430\u043a ESLint \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u0435\u0442 \u043d\u0430 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438\u0437 NPM"},"content":{"rendered":"<p>       <img loading=\"lazy\" decoding=\"async\" align=\"right\" src=\"https:\/\/habrastorage.org\/files\/4ed\/f6f\/a58\/4edf6fa58e034a2b8b2e3940976ef90d.png\" width=\"200\" height=\"200\" vspace=\"20\" hspace=\"40\"\/>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438\u0437 NPM, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u043b\u0430 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 <a href=\"http:\/\/babeljs.io\/\">babel<\/a>, <a href=\"http:\/\/jscs.info\/\">jscs<\/a> \u0438 \u043c\u043d\u043e\u0433\u0438\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 (\u043e\u0431 \u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c: <a href=\"https:\/\/medium.com\/@mproberts\/a-discussion-about-the-breaking-of-the-internet-3d4d2a83aa4d\">\u00abA discussion about the breaking of the Internet\u00bb<\/a>), \u043c\u043d\u043e\u0433\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Open Source \u043d\u0430\u0447\u0430\u043b\u0438 \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0430\u0442\u044c \u043e \u0431\u0443\u0434\u0443\u0449\u0435\u043c NPM \u0438 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u044b JS \u0432 \u0446\u0435\u043b\u043e\u043c.<\/p>\n<p>  \u041c\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c:<\/p>\n<ul>\n<li>\u041e\u0434\u043d\u0438 \u0443\u0448\u043b\u0438 \u0432 \u043a\u0440\u0438\u0442\u0438\u043a\u0443 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432: <a href=\"https:\/\/habrahabr.ru\/post\/280099\/\">\u00abNPM \u0438 left-pad: \u043c\u044b \u0440\u0430\u0437\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c?\u00bb<\/a>.<\/li>\n<li>\u0414\u0440\u0443\u0433\u0438\u0435 \u0437\u0430\u0434\u0443\u043c\u0430\u043b\u0438\u0441\u044c \u043e \u043c\u043e\u043d\u043e\u043f\u043e\u043b\u0438\u0438 NPM: <a href=\"http:\/\/www.businessinsider.de\/npm-left-pad-controversy-explained-2016-3\">\u00abOne programmer almost broke the internet by deleting 11 lines of code\u00bb<\/a>.<\/li>\n<li>\u0422\u0440\u0435\u0442\u044c\u0438 \u0437\u0430\u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u043e \u0442\u043e\u043c, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0445\u0440\u0443\u043f\u043a\u0430 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430 JS: <a href=\"http:\/\/developer.telerik.com\/featured\/left-pad-indicative-fragile-javascript-ecosystem\/\">\u00abIs left-pad Indicative of a Fragile JavaScript Ecosystem?\u00bb<\/a>.<\/li>\n<\/ul>\n<p>  \u041d\u0443 \u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043a\u0440\u0443\u043f\u043d\u044b\u0445 Open Source \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0432\u0430\u043b\u0438\u043b\u043e\u0441\u044c \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0438\u043a\u0435\u0442\u043e\u0432 \u0432 github, \u0432\u0441\u0435\u0440\u044c\u0435\u0437 \u0437\u0430\u0434\u0443\u043c\u0430\u043b\u0438\u0441\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u043b\u0438 \u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0432 CI, \u0442\u0430\u043a \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 CI \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438. \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <a href=\"http:\/\/eslint.org\/\">ESLint<\/a>, \u0438\u043c\u0435\u044e\u0449\u0438\u0439 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 <a href=\"https:\/\/www.npmjs.com\/package\/eslint\">70 \u0442\u044b\u0441\u044f\u0447 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u043a \u0432 \u0434\u0435\u043d\u044c<\/a>, \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 CI-\u0441\u0431\u043e\u0440\u043a\u0438.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 ESLint \u0431\u044b\u043b\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0440\u0430\u0434\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c, \u043d\u043e \u0432\u043f\u043e\u043b\u043d\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u043c. \u041e\u043d\u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442 ESLint \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438. \u0422\u043e \u0435\u0441\u0442\u044c \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u044f \u0430\u0440\u0445\u0438\u0432 ESLint, \u0443\u0442\u0438\u043b\u0438\u0442\u0430 npm \u0441\u043a\u0430\u0447\u0430\u0435\u0442 \u0442\u0430\u043a\u0436\u0435 \u0438 \u0432\u0435\u0441\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0439 node_modules \u0434\u043b\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 ESLint.<\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438: <a href=\"http:\/\/eslint.org\/blog\/2016\/03\/eslint-v2.5.0-released\">\u00abESLint v2.5.0 released\u00bb<\/a>.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u0430\u044f \u0436\u0435 \u043c\u044b\u0441\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0448\u043b\u0430 \u043c\u043d\u0435 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u044f \u0443\u0437\u043d\u0430\u043b \u044d\u0442\u0443 \u043d\u043e\u0432\u043e\u0441\u0442\u044c, \u0431\u044b\u043b\u0430 \u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0427\u0442\u043e \u0441\u0442\u0430\u043d\u0435\u0442 \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 ESLint? \u0421\u0442\u0430\u043d\u0435\u0442 \u043b\u0438 \u043e\u043d\u0430 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438\u043b\u0438 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435. \u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043b, \u0447\u0442\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0430\u043a\u0435\u0442\u0430 \u0441\u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 ESLint \u2014 \u043d\u0430 2 \u0441\u0435\u043a\u0443\u043d\u0434\u044b (~25%):<\/p>\n<pre><code class=\"bash\">npm install eslint@2.4.0  6.22s user 2.68s system 108% cpu 8.207 total npm install eslint@2.5.0  7.70s user 4.16s system 109% cpu 10.864 total <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u043b\u043d\u044b\u0439 \u0432\u044b\u0432\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">$ rm -Rf node_modules && time npm install eslint@2.4.0 && rm -Rf node_modules && time npm install eslint@2.5.0  eslint@2.4.0 node_modules\/eslint \u251c\u2500\u2500 path-is-absolute@1.0.0 \u251c\u2500\u2500 ignore@2.2.19 \u251c\u2500\u2500 pluralize@1.2.1 \u251c\u2500\u2500 path-is-inside@1.0.1 \u251c\u2500\u2500 globals@8.18.0 \u251c\u2500\u2500 estraverse@4.2.0 \u251c\u2500\u2500 strip-json-comments@1.0.4 \u251c\u2500\u2500 esutils@2.0.2 \u251c\u2500\u2500 progress@1.1.8 \u251c\u2500\u2500 text-table@0.2.0 \u251c\u2500\u2500 user-home@2.0.0 (os-homedir@1.0.1) \u251c\u2500\u2500 is-resolvable@1.0.0 (tryit@1.0.2) \u251c\u2500\u2500 shelljs@0.5.3 \u251c\u2500\u2500 json-stable-stringify@1.0.1 (jsonify@0.0.0) \u251c\u2500\u2500 resolve@1.1.7 \u251c\u2500\u2500 debug@2.2.0 (ms@0.7.1) \u251c\u2500\u2500 doctrine@1.2.0 (esutils@1.1.6, isarray@1.0.0) \u251c\u2500\u2500 optionator@0.8.1 (fast-levenshtein@1.1.3, type-check@0.3.2, levn@0.3.0, wordwrap@1.0.0, deep-is@0.1.3, prelude-ls@1.1.2) \u251c\u2500\u2500 mkdirp@0.5.1 (minimist@0.0.8) \u251c\u2500\u2500 require-uncached@1.0.2 (resolve-from@1.0.1, caller-path@0.1.0) \u251c\u2500\u2500 chalk@1.1.1 (escape-string-regexp@1.0.5, supports-color@2.0.0, has-ansi@2.0.0, strip-ansi@3.0.1, ansi-styles@2.2.0) \u251c\u2500\u2500 concat-stream@1.5.1 (inherits@2.0.1, typedarray@0.0.6, readable-stream@2.0.6) \u251c\u2500\u2500 espree@3.1.3 (acorn@3.0.4, acorn-jsx@2.0.1) \u251c\u2500\u2500 is-my-json-valid@2.13.1 (jsonpointer@2.0.0, generate-function@2.0.0, xtend@4.0.1, generate-object-property@1.2.0) \u251c\u2500\u2500 inquirer@0.12.0 (ansi-regex@2.0.0, strip-ansi@3.0.1, ansi-escapes@1.3.0, figures@1.5.0, rx-lite@3.1.2, through@2.3.8, cli-width@2.1.0, run-async@0.1.0, cli-cursor@1.0.2, string-width@1.0.1, readline2@1.0.1) \u251c\u2500\u2500 table@3.7.8 (slice-ansi@0.0.4, tv4@1.2.7, xregexp@3.1.0, strip-ansi@3.0.1, string-width@1.0.1, bluebird@3.3.4) \u251c\u2500\u2500 js-yaml@3.5.5 (esprima@2.7.2, argparse@1.0.7) \u251c\u2500\u2500 glob@6.0.4 (inherits@2.0.1, inflight@1.0.4, once@1.3.3, minimatch@3.0.0) \u251c\u2500\u2500 file-entry-cache@1.2.4 (object-assign@4.0.1, flat-cache@1.0.10) \u251c\u2500\u2500 es6-map@0.1.3 (d@0.1.1, es6-symbol@3.0.2, event-emitter@0.3.4, es6-iterator@2.0.0, es6-set@0.1.4, es5-ext@0.10.11) \u251c\u2500\u2500 escope@3.6.0 (esrecurse@4.1.0, es6-weak-map@2.0.1) \u2514\u2500\u2500 lodash@4.6.1 npm install eslint@2.4.0  6.22s user 2.68s system 108% cpu 8.207 total  eslint@2.5.0 node_modules\/eslint npm install eslint@2.5.0  7.70s user 4.16s system 109% cpu 10.864 total<\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0414\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0432 \u0430\u0440\u0445\u0438\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 bundledDependencies \u0434\u043b\u044f package.json (\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: <a href=\"https:\/\/docs.npmjs.com\/files\/package.json#bundleddependencies\">\u00abpackage.json bundledDependencies\u00bb<\/a>). \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u044d\u0442\u0430 \u043d\u0435\u0445\u0438\u0442\u0440\u0430\u044f: \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u0438\u043c\u0435\u043d \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u043c\u044b\u0439 \u0430\u0440\u0445\u0438\u0432.<\/p>\n<p>  \u0414\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u0432 ESLint \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0430\u043a\u0435\u0442 <a href=\"https:\/\/www.npmjs.com\/package\/bundle-dependencies\">bundle-dependencies<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043f\u0440\u043e\u0441\u0442\u0443 \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 bundledDependencies \u0438\u0437 dependencies \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0432 package.json.<\/p>\n<p>  \u041f\u043e \u0441\u0443\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0440\u0435\u0447\u0438\u0442 \u0438\u0434\u0435\u044f\u043c NPM, \u0432\u0435\u0434\u044c \u043e\u043f\u0446\u0438\u044f bundledDependencies \u0431\u044b\u043b\u0430 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043d\u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0432 \u0430\u0440\u0445\u0438\u0432 \u0442\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435 NPM. <\/p>\n<p>  \u041c\u044b \u0432 JSCS \u0435\u0449\u0435 \u043d\u0435 \u0440\u0435\u0448\u0438\u043b\u0438, \u0447\u0442\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c. \u0411\u0443\u0434\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c \u0437\u0430 \u0442\u0435\u043c, \u043a\u0430\u043a \u0434\u0440\u0443\u0433\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 Open Source \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442\u0440\u0435\u0430\u0433\u0438\u0440\u0443\u044e\u0442 \u043d\u0430 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0441 NPM (\u0438 \u0431\u0443\u0434\u0443\u0442 \u043b\u0438 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c). \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043f\u0440\u0438\u0436\u0438\u0432\u0435\u0442\u0441\u044f \u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0438\u043b\u0438 \u043d\u0430\u0439\u0434\u0443\u0442\u0441\u044f \u0438\u043d\u044b\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b.               <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/280206\/\"> https:\/\/habrahabr.ru\/post\/280206\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <img loading=\"lazy\" decoding=\"async\" align=\"right\" src=\"https:\/\/habrastorage.org\/files\/4ed\/f6f\/a58\/4edf6fa58e034a2b8b2e3940976ef90d.png\" width=\"200\" height=\"200\" vspace=\"20\" hspace=\"40\"\/>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438\u0437 NPM, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u043b\u0430 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 <a href=\"http:\/\/babeljs.io\/\">babel<\/a>, <a href=\"http:\/\/jscs.info\/\">jscs<\/a> \u0438 \u043c\u043d\u043e\u0433\u0438\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 (\u043e\u0431 \u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c: <a href=\"https:\/\/medium.com\/@mproberts\/a-discussion-about-the-breaking-of-the-internet-3d4d2a83aa4d\">\u00abA discussion about the breaking of the Internet\u00bb<\/a>), \u043c\u043d\u043e\u0433\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Open Source \u043d\u0430\u0447\u0430\u043b\u0438 \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0430\u0442\u044c \u043e \u0431\u0443\u0434\u0443\u0449\u0435\u043c NPM \u0438 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u044b JS \u0432 \u0446\u0435\u043b\u043e\u043c.<\/p>\n<p>  \u041c\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c:<\/p>\n<ul>\n<li>\u041e\u0434\u043d\u0438 \u0443\u0448\u043b\u0438 \u0432 \u043a\u0440\u0438\u0442\u0438\u043a\u0443 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432: <a href=\"https:\/\/habrahabr.ru\/post\/280099\/\">\u00abNPM \u0438 left-pad: \u043c\u044b \u0440\u0430\u0437\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c?\u00bb<\/a>.<\/li>\n<li>\u0414\u0440\u0443\u0433\u0438\u0435 \u0437\u0430\u0434\u0443\u043c\u0430\u043b\u0438\u0441\u044c \u043e \u043c\u043e\u043d\u043e\u043f\u043e\u043b\u0438\u0438 NPM: <a href=\"http:\/\/www.businessinsider.de\/npm-left-pad-controversy-explained-2016-3\">\u00abOne programmer almost broke the internet by deleting 11 lines of code\u00bb<\/a>.<\/li>\n<li>\u0422\u0440\u0435\u0442\u044c\u0438 \u0437\u0430\u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u043e \u0442\u043e\u043c, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0445\u0440\u0443\u043f\u043a\u0430 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430 JS: <a href=\"http:\/\/developer.telerik.com\/featured\/left-pad-indicative-fragile-javascript-ecosystem\/\">\u00abIs left-pad Indicative of a Fragile JavaScript Ecosystem?\u00bb<\/a>.<\/li>\n<\/ul>\n<p>  \u041d\u0443 \u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043a\u0440\u0443\u043f\u043d\u044b\u0445 Open Source \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0432\u0430\u043b\u0438\u043b\u043e\u0441\u044c \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0438\u043a\u0435\u0442\u043e\u0432 \u0432 github, \u0432\u0441\u0435\u0440\u044c\u0435\u0437 \u0437\u0430\u0434\u0443\u043c\u0430\u043b\u0438\u0441\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u043b\u0438 \u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0432 CI, \u0442\u0430\u043a \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 CI \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438. \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <a href=\"http:\/\/eslint.org\/\">ESLint<\/a>, \u0438\u043c\u0435\u044e\u0449\u0438\u0439 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 <a href=\"https:\/\/www.npmjs.com\/package\/eslint\">70 \u0442\u044b\u0441\u044f\u0447 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u043a \u0432 \u0434\u0435\u043d\u044c<\/a>, \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 CI-\u0441\u0431\u043e\u0440\u043a\u0438.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-277094","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/277094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277094"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/277094\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}