{"id":335153,"date":"2022-06-30T09:00:45","date_gmt":"2022-06-30T09:00:45","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=335153"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=335153","title":{"rendered":"<span>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 ESLint \u0434\u043b\u044f \u0447\u0438\u0441\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u043d\u0430 Vue<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0441\u0442\u0430\u0439\u043b\u0430. \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0437\u0430 \u044d\u0442\u043e \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 ESLint. ESLint \u2014 \u044d\u0442\u043e \u043b\u0438\u043d\u0442\u0435\u0440 \u0434\u043b\u044f \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f JavaScript. \u041e\u043d \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u0434 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438.<\/p>\n<p>\u041a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430, \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0447\u0430\u0441\u0442\u043e \u043f\u0440\u0435\u043d\u0435\u0431\u0440\u0435\u0433\u0430\u044e\u0442 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 ESLint, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u0443\u044e. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0441\u0442\u0430\u0439\u043b\u0430 \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u043e\u0432\u0435\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430. \u041a\u043e\u0434\u0441\u0442\u0430\u0439\u043b, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0432 \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u043d\u0438\u0433\u0434\u0435 \u043d\u0435 \u043e\u043f\u0438\u0441\u0430\u043d \u0438\u043b\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0443\u0441\u0442\u043d\u043e\u0439 \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u0438. \u041f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u0443\u043c\u0435, \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u044f \u0443\u0436\u0435 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u0441\u0443\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u044f\u0445. \u041d\u0435\u0440\u0435\u0434\u043a\u0438 \u0441\u043b\u0443\u0447\u0430\u0438, \u043a\u043e\u0433\u0434\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e\u0434 \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u0438\u0448\u0443\u0442 \u043a\u043e\u0434 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0442\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044b \u0441\u0442\u0440\u043e\u043a \u0443 \u043d\u0438\u0445 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f. \u041f\u0440\u0430\u0432\u0438\u043b \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e, \u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0442\u043e\u043b\u044c \u043e\u0431\u0448\u0438\u0440\u043d\u044b, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u0432 \u043a\u043e\u0434\u0430 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043c\u043e\u0436\u0435\u0442 \u0443\u0441\u043b\u043e\u0436\u043d\u0438\u0442\u044c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 ESLint \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 Vue. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 ESLint, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0430\u0448 \u043a\u043e\u0434 \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0443 \u043f\u0440\u0430\u0432\u0438\u043b <a href=\"https:\/\/ru.vuejs.org\/v2\/style-guide\/index.html\"><u>\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0439\u043b\u0433\u0430\u0439\u0434\u0430 Vue<\/u><\/a>. \u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044f\u0442 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u0442\u0438\u043b\u044c \u043a\u043e\u0434\u0430, \u0438 \u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u043d\u0435\u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0439 \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435. \u042d\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u0434\u0441\u0442\u0430\u0439\u043b\u0430 \u0438 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 (\u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0435, \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435, \u043e\u0448\u0438\u0431\u043a\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439) \u0435\u0449\u0435 \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430, \u043f\u043e\u0432\u044b\u0441\u044f\u0442 \u0435\u0433\u043e \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u044c \u0438 \u0443\u043f\u0440\u043e\u0441\u0442\u044f\u0442 \u043a\u043e\u0434-\u0440\u0435\u0432\u044c\u044e. \u0412 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435 \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u044e \u0441\u0440\u043e\u043a\u043e\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<\/p>\n<p>\u0412\u0441\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e ESLint, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d prettier \u0438\u043b\u0438 Vetur, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0445 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c. ESLint \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432 extensions \u0432\u0430\u0448\u0435\u0439 IDE, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c.<\/p>\n<p>\u0412 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u0444\u0430\u0439\u043b\u0430 <strong>.eslintrc.js<\/strong> \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438.\u00a0\u00a0<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fad\/027\/b79\/fad027b793cb859b9dc4de1a7e5ea640.png\" width=\"780\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fad\/027\/b79\/fad027b793cb859b9dc4de1a7e5ea640.png\"\/><figcaption><\/figcaption><\/figure>\n<h2>\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u044b<\/h2>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0432\u044b\u0431\u0435\u0440\u0435\u043c\u00a0 ESLint + Airbnb config.<\/p>\n<p>\u0424\u0430\u0439\u043b <strong>.eslintrc.js<\/strong> \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b74\/206\/d23\/b74206d23f5c2e13df68e9873f43cf6b.png\" width=\"913\" height=\"422\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b74\/206\/d23\/b74206d23f5c2e13df68e9873f43cf6b.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e <strong>@vue\/airbnb<\/strong>, <strong>plugin:vue\/essentia<\/strong>l \u0437\u0430\u043c\u0435\u043d\u0438\u043c \u043d\u0430 <strong>plugin:vue\/strongly-recommended<\/strong> (\u0438\u043b\u0438 <strong>plugin:vue\/vue3-strongly-recommended, plugin:vue\/vue3-essential, plugin:vue\/vue3-recommended<\/strong> \u0434\u043b\u044f vue 3) \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u043c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438. \u0415\u0441\u043b\u0438 \u0432\u044b \u0435\u0449\u0435 \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u044b \u0441 \u043e\u0442\u043b\u0438\u0447\u0438\u044f\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a essential \u043e\u0442 strongly-recommended, \u0442\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0438\u0445 <a href=\"https:\/\/ru.vuejs.org\/v2\/style-guide\/index.html\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a>.\u00a0<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0432 \u043e\u0431\u044a\u0435\u043a\u0442 rules \u0431\u0443\u0434\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u0438\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.<\/p>\n<h3>\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0441\u0435\u043a\u0446\u0438\u0438 &lt;template>  <\/h3>\n<p><strong>#vue\/attributes-order<\/strong> \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;div     is=\"header\"     v-for=\"item in items\"     v-if=\"!visible\"     v-once     id=\"uniqueID\"     ref=\"header\"     v-model=\"headerData\"     my-prop=\"prop\"     @click=\"functionCall\"     v-text=\"textContent\">   &lt;\/div>     &lt;!-- \u2717 BAD -->   &lt;div     ref=\"header\"     my-prop=\"prop\"     v-for=\"item in items\"     v-once     @click=\"functionCall\"     id=\"uniqueID\"     v-model=\"headerData\"     v-if=\"!visible\"     is=\"header\"     v-text=\"textContent\">   &lt;\/div> &lt;\/template><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">\"vue\/attributes-order\": [\"error\", {  \"order\": [    \"DEFINITION\",    \"LIST_RENDERING\",    \"CONDITIONALS\",    \"RENDER_MODIFIERS\",    \"GLOBAL\",    [\"UNIQUE\", \"SLOT\"],    \"TWO_WAY_BINDING\",    \"OTHER_DIRECTIVES\",    \"OTHER_ATTR\",    \"EVENTS\",    \"CONTENT\"  ],  \"alphabetical\": false }],<\/code><\/pre>\n<p>\u042d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u041f\u043e\u0440\u044f\u0434\u043e\u043a \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0443\u043a\u0430\u0437\u0430\u043d \u0432 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043f\u043e <a href=\"https:\/\/vuejs.org\/style-guide\/rules-recommended.html#element-attribute-order\"><u>\u0441\u0442\u0438\u043b\u044e Vue.js.<\/u><\/a> \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d:<\/p>\n<ul>\n<li>\n<p>DEFINITION e.g. &#8216;is&#8217;, &#8216;v-is&#8217;<\/p>\n<\/li>\n<li>\n<p>LIST_RENDERING e.g. &#8216;v-for item in items&#8217;<\/p>\n<\/li>\n<li>\n<p>CONDITIONALS e.g. &#8216;v-if&#8217;, &#8216;v-else-if&#8217;, &#8216;v-else&#8217;, &#8216;v-show&#8217;, &#8216;v-cloak&#8217;<\/p>\n<\/li>\n<li>\n<p>RENDER_MODIFIERS e.g. &#8216;v-once&#8217;, &#8216;v-pre&#8217;<\/p>\n<\/li>\n<li>\n<p>GLOBAL e.g. &#8216;id&#8217;<\/p>\n<\/li>\n<li>\n<p>UNIQUE e.g. &#8216;ref&#8217;, &#8216;key&#8217;<\/p>\n<\/li>\n<li>\n<p>SLOT e.g. &#8216;v-slot&#8217;, &#8216;slot&#8217;<\/p>\n<\/li>\n<li>\n<p>TWO_WAY_BINDING e.g. &#8216;v-model&#8217;<\/p>\n<\/li>\n<li>\n<p>OTHER_DIRECTIVES e.g. &#8216;v-custom-directive&#8217;<\/p>\n<\/li>\n<li>\n<p>OTHER_ATTR e.g. &#8216;custom-prop=&#187;foo&#187;&#8216;, &#8216;v-bind:prop=&#187;foo&#187;&#8216;, &#8216;:prop=&#187;foo&#187;&#8216;<\/p>\n<\/li>\n<li>\n<p>EVENTS e.g. &#8216;@click=&#187;functionCall&#187;&#8216;, &#8216;v-on=&#187;event&#187;&#8216;<\/p>\n<\/li>\n<li>\n<p>CONTENT e.g. &#8216;v-text&#8217;, &#8216;v-html&#8217;<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/max-attributes-per-line <\/strong>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;MyComponent lorem=\"1\"\/>   &lt;MyComponent     lorem=\"1\"     ipsum=\"2\"   \/>     &lt;!-- \u2717 BAD -->   &lt;MyComponent lorem=\"1\" ipsum=\"2\"\/>   &lt;MyComponent     lorem=\"1\" ipsum=\"2\"   \/>   &lt;MyComponent     lorem=\"1\" ipsum=\"2\"     dolor=\"3\"   \/> &lt;\/template><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\"> \"vue\/max-attributes-per-line\": [\"error\", {     \"singleline\": {       \"max\": 1     },           \"multiline\": {       \"max\": 1     }   }]<\/code><\/pre>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f singleline.max (number) \u0438 multiline.max (number) \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 1, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0436\u0434\u044b\u0439 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0441\u044f \u0441 \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0438.<\/p>\n<p>#<strong>vue\/html-self-closing <\/strong>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0442\u0435\u0433 \u0438\u043b\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;div\/>   &lt;img>   &lt;MyComponent\/>   &lt;svg>&lt;path d=\"\"\/>&lt;\/svg>     &lt;!-- \u2717 BAD -->   &lt;div>&lt;\/div>   &lt;img\/>   &lt;MyComponent>&lt;\/MyComponent>   &lt;svg>&lt;path d=\"\">&lt;\/path>&lt;\/svg> &lt;\/template><\/code><\/pre>\n<pre><code class=\"javascript\"> \"vue\/html-self-closing\": [\"error\", {     \"html\": {       \"void\": \"never\",       \"normal\": \"always\",       \"component\": \"always\"     },     \"svg\": \"always\",     \"math\": \"always\"   }]<\/code><\/pre>\n<ul>\n<li>\n<p>html.void (&#171;never&#187; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0441\u0442\u0438\u043b\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u043f\u0443\u0441\u0442\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 HTML.<\/p>\n<\/li>\n<li>\n<p>html.normal (&#171;always&#187; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0441\u0442\u0438\u043b\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 HTML \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0443\u0441\u0442\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>html.component (&#171;always&#187; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0441\u0442\u0438\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 Vue.js.<\/p>\n<\/li>\n<li>\n<p>svg (&#171;always&#187; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0441\u0442\u0438\u043b\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 SVG.<\/p>\n<\/li>\n<li>\n<p>math (&#171;always&#187; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0441\u0442\u0438\u043b\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 MathML.<\/p>\n<\/li>\n<\/ul>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0432 \u043e\u0434\u043d\u043e \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439:<\/p>\n<ul>\n<li>\n<p>&#171;always&#187; \u2014 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u0442 \u0441\u0432\u043e\u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e.<\/p>\n<\/li>\n<li>\n<p>&#171;never&#187; \u2014 \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0441\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435.<\/p>\n<\/li>\n<li>\n<p>&#171;any&#187; \u2014 \u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0441\u0442\u0438\u043b\u044c.<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/html-indent<\/strong> \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 &lt;template>:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;div class=\"foo\">     Hello.   &lt;\/div>   &lt;div class=\"foo\">     Hello.   &lt;\/div>   &lt;div class=\"foo\"        :foo=\"bar\"   >     World.   &lt;\/div>   &lt;div     id=\"a\"     class=\"b\"     :other-attr=\"{       aaa: 1,       bbb: 2     }\"     @other-attr2=\"       foo();       bar();     \"   >     {{       displayMessage     }}   &lt;\/div>     &lt;!-- \u2717 BAD -->  &lt;div class=\"foo\">    Hello.     &lt;\/div> &lt;\/template><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">'vue\/html-indent': [  'error',  4,  {    attribute: 1,    baseIndent: 1,    closeBracket: 0,    alignAttributesVertically: true,    ignores: []  } ],<\/code><\/pre>\n<ul>\n<li>\n<p>type (number | &#171;tab&#187;) \u2014 \u0442\u0438\u043f \u043e\u0442\u0441\u0442\u0443\u043f\u0430. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 2. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0447\u0438\u0441\u043b\u043e, \u0442\u043e \u044d\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0431\u0435\u043b\u043e\u0432 \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u0442\u0441\u0442\u0443\u043f\u0430. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e &#171;tab&#187;, \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043e\u0434\u043d\u0443 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u0442\u0441\u0442\u0443\u043f\u0430.<\/p>\n<\/li>\n<li>\n<p>attribute (integer) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 1.<\/p>\n<\/li>\n<li>\n<p>baseIndent (integer) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 1.<\/p>\n<\/li>\n<li>\n<p>closeBracket (integer | object) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 0.<\/p>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u043d\u0438\u0436\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0435, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/p>\n<ul>\n<li>\n<p>closeBracket.startTag (integer) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0442\u0435\u0433\u043e\u0432 (&lt;div>). \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 0.<\/p>\n<\/li>\n<li>\n<p>closeBracket.endTag (integer) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0442\u0435\u0433\u043e\u0432 (&lt;\/div>). \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 0.<\/p>\n<\/li>\n<li>\n<p>closeBracket.selfClosingTag (integer) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0442\u0435\u0433\u043e\u0432 (&lt;div\/>). \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 0.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>alignAttributesVertically (boolean) \u2014 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0442\u043e\u0433\u043e, \u0434\u043e\u043b\u0436\u043d\u044b \u043b\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438 \u0441 \u043f\u0435\u0440\u0432\u044b\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c \u0432 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u043b\u0438 \u043d\u0435\u0442. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e true.<\/p>\n<\/li>\n<li>\n<p>ignores (string[]) \u2014 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440 \u0434\u043b\u044f \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0437\u043b\u043e\u0432. \u0421\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439 AST \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f <a href=\"https:\/\/github.com\/vuejs\/vue-eslint-parser\/blob\/master\/docs\/ast.md\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a>.<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/component-name-in-template-casing <\/strong>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0434\u043b\u044f \u0441\u0442\u0438\u043b\u044f \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;cool-component \/>     &lt;!-- \u2717 BAD -->   &lt;CoolComponent \/>   &lt;coolComponent \/>   &lt;Cool-component \/>     &lt;!-- ignore -->   &lt;unregistered-component \/>   &lt;UnregisteredComponent \/> &lt;\/template> &lt;script> export default {   components: {     CoolComponent   } } &lt;\/script><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">\"vue\/component-name-in-template-casing\": [\"error\", \"kebab-case\", {  \"registeredComponentsOnly\": true, }],<\/code><\/pre>\n<ul>\n<li>\n<p>&#171;PascalCase&#187; (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d \u0442\u0435\u0433\u043e\u0432 \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u043f\u0430\u0441\u043a\u0430\u043b\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &lt;CoolComponent>. \u042d\u0442\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 JSX.<\/p>\n<\/li>\n<li>\n<p>&#171;kebab-case&#187; \u2014 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d \u0442\u0435\u0433\u043e\u0432 \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u043a\u0435\u0431\u0430\u0431\u0430: \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &lt;cool-component>. \u042d\u0442\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u0443\u0435\u0442\u0441\u044f \u0441 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u043e\u0439 HTML, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0435\u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u0430 \u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443.<\/p>\n<\/li>\n<li>\n<p>registeredComponentsOnly \u2014 \u0435\u0441\u043b\u0438 true, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b (\u0432 PascalCase). \u0435\u0441\u043b\u0438 false, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0432\u0441\u0435. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e true.<\/p>\n<\/li>\n<li>\n<p>ignores (string[]) \u2014 \u0438\u043c\u0435\u043d\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0435\u0435 \u0438\u043c\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438\u043b\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b Vue \u0441\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043d\u0430\u043f\u0438\u0441\u0430\u0432 \u0435\u0433\u043e \u043a\u0430\u043a &#171;\/^name\/&#187;.<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/no-irregular-whitespace<\/strong> \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0435\u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u0435\u043b\u043e\u0432:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;div class=\"foo bar\" \/>   &lt;!-- \u2717 BAD -->   &lt;div class=\"foo bar\" \/>   &lt;!--           ^ LINE TABULATION (U+000B) --> &lt;\/template> &lt;script> \/* \u2713 GOOD *\/ var foo = bar; \/* \u2717 BAD *\/ var foo = bar; \/\/       ^ LINE TABULATION (U+000B) &lt;\/script><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">\"vue\/no-irregular-whitespace\": [\"error\", {  \"skipStrings\": true,  \"skipComments\": false,  \"skipRegExps\": false,  \"skipTemplates\": false,  \"skipHTMLAttributeValues\": false,  \"skipHTMLTextContents\": false }],<\/code><\/pre>\n<ul>\n<li>\n<p>skipStrings: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0445 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u0430\u0445. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e true.<\/p>\n<\/li>\n<li>\n<p>skipComments: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e false.<\/p>\n<\/li>\n<li>\n<p>skipRegExps: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u0430\u0445 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e false.<\/p>\n<\/li>\n<li>\n<p>skipTemplates: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u0430\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u0430. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e false.<\/p>\n<\/li>\n<li>\n<p>skipHTMLAttributeValues: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u0445 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 HTML. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e false.<\/p>\n<\/li>\n<li>\n<p>skipHTMLTextContents: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u043c HTML. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e false.<\/p>\n<\/li>\n<\/ul>\n<h3>\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0441\u0435\u043a\u0446\u0438\u0438 &lt;script>   <\/h3>\n<p><strong>#vue\/component-definition-name-casing<\/strong> \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 \u0434\u043b\u044f \u0438\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430:<\/p>\n<pre><code class=\"javascript\">&lt;script> export default {   \/* \u2713 GOOD *\/   name: 'MyComponent'   \/* \u2717 BAD *\/   name: 'my-component' } &lt;\/script><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">\"vue\/component-definition-name-casing\": [\"error\", \"PascalCase\"],<\/code><\/pre>\n<ul>\n<li>\n<p>&#171;PascalCase&#187; (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043c\u0435\u043d \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443 \u043f\u0430\u0441\u043a\u0430\u043b\u044f.<\/p>\n<\/li>\n<li>\n<p>&#171;kebab-case&#187; \u2014 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043c\u0435\u043d \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443 kebab.<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/match-component-file-name<\/strong> \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0438\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u2014 \u043e\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f:<\/p>\n<pre><code class=\"javascript\">\/\/ file name: src\/MyComponent.vue export default {   \/* \u2713 GOOD *\/   name: 'MyComponent',   render() {     return &lt;h1>Hello world&lt;\/h1>   } }<\/code><\/pre>\n<pre><code class=\"javascript\">\/\/ file name: src\/MyComponent.vue export default {   \/* \u2713 GOOD *\/   name: 'my-component',   render() { return &lt;div \/> } }<\/code><\/pre>\n<pre><code class=\"javascript\">\/\/ file name: src\/MyComponent.vue export default {   \/* \u2717 BAD *\/   name: 'MComponent', \/\/ \u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d\u0430 \u0431\u0443\u043a\u0432\u0430 y   render() {     return &lt;h1>Hello world&lt;\/h1>   } }<\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438: <\/p>\n<pre><code class=\"javascript\">\"vue\/match-component-file-name\": [\"error\", {  \"extensions\": [\"vue\"],  \"shouldMatchCase\": false }],<\/code><\/pre>\n<ul>\n<li>\n<p>&#171;extensions&#187;: [] \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 \u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 [&#171;jsx&#187;].<\/p>\n<\/li>\n<li>\n<p>&#171;shouldMatchCase&#187;: false \u2014 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0435, \u0434\u043e\u043b\u0436\u043d\u043e \u043b\u0438 \u0438\u043c\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443 \u0438\u043c\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u0430. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 false.<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/no-dupe-keys<\/strong> \u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d \u043f\u043e\u043b\u0435\u0439:<\/p>\n<pre><code class=\"javascript\">&lt;script> \/* \u2717 BAD *\/ export default {   props: {     foo: String    },   computed: {     foo: {  \/\/ \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430       get () {}      }   },   data: {     foo: null \/\/ \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430   },   methods: {     foo () {} \/\/ \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430   } } &lt;\/script><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\"> \"vue\/no-dupe-keys\": [\"error\", {     \"groups\": []   }]<\/code><\/pre>\n<ul>\n<li>\n<p>&#171;groups&#187; (string[]) \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0433\u0440\u0443\u043f\u043f \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442\u043e\u0432. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u0443\u0441\u0442\u043e.<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/order-in-components<\/strong> \u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445:<\/p>\n<pre><code class=\"javascript\">&lt;script> \/* \u2717 BAD *\/ export default {   name: 'app',   data () {     return {       msg: 'Welcome to Your Vue.js App'     }   },   props: {\/\/ \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432 props \u043f\u0435\u0440\u0435\u0434 data      propA: Number      },   methods: { \/\/ \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043f\u043e\u0441\u043b\u0435 computed    add() {}   },   computed: { \/\/ \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043f\u0435\u0440\u0435\u0434 methods     foo () {}   } } &lt;\/script><\/code><\/pre>\n<pre><code class=\"javascript\">'vue\/order-in-components': ['error', {  order: [    'el',    'name',    'key',    'parent',    'functional',    ['delimiters', 'comments'],    ['components', 'directives', 'filters'],    'extends',    'mixins',    ['provide', 'inject'],    'ROUTER_GUARDS',    'layout',    'middleware',    'validate',    'scrollToTop',    'transition',    'loading',    'inheritAttrs',    'model',    ['props', 'propsData'],    'emits',    'setup',    'asyncData',    'data',    'fetch',    'head',    'computed',    'watch',    'watchQuery',    'LIFECYCLE_HOOKS',    'methods',    ['template', 'render'],    'renderError'  ] }],<\/code><\/pre>\n<p><strong>#comma-dangle<\/strong> \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u00a0 \u0437\u0430\u043f\u044f\u0442\u044b\u0445:<\/p>\n<ul>\n<li>\n<p>arrays \u0434\u043b\u044f \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u043e\u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430. <br \/>\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, let [a,] = [1,];<\/p>\n<\/li>\n<li>\n<p>objects \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0445 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u043e\u0432 \u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0437\u0430\u0446\u0438\u0438.<br \/>\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, let {a,} = {a: 1};<\/p>\n<\/li>\n<li>\n<p>imports \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u0439 \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 ES.<br \/>\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, import {a,} from &#171;foo&#187;;<\/p>\n<\/li>\n<li>\n<p>exports \u0434\u043b\u044f \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u0445 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 ES.<br \/>\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, export {a,};<\/p>\n<\/li>\n<li>\n<p>functions \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0439.<br \/>\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, (function(a,){ })(b,);<\/p>\n<\/li>\n<li>\n<p>functions \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0435 ECMAScript 2017 \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438.<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"javascript\">\/* \u2717 BAD *\/ var foo = {     bar: \"baz\",     qux: \"quux\", };  var arr = [1,2,];  foo({   bar: \"baz\",   qux: \"quux\", });<\/code><\/pre>\n<pre><code class=\"javascript\"> \/* \u2713 GOOD *\/ var foo = {     bar: \"baz\",     qux: \"quux\" };  var arr = [1,2];  foo({   bar: \"baz\",   qux: \"quux\" });<\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">   \"comma-dangle\": [\"error\", {         \"arrays\": \"never\",         \"objects\": \"never\",         \"imports\": \"never\",         \"exports\": \"never\",         \"functions\": \"never\"     }]<\/code><\/pre>\n<ul>\n<li>\n<p>&#171;never&#187; (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 \u0437\u0430\u043f\u044f\u0442\u044b\u0435 \u0432 \u043a\u043e\u043d\u0446\u0435.<\/p>\n<\/li>\n<li>\n<p>&#171;always&#187; \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0437\u0430\u043f\u044f\u0442\u044b\u0445 \u0432 \u043a\u043e\u043d\u0446\u0435.<\/p>\n<\/li>\n<li>\n<p>&#171;always-multiline&#187; \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0437\u0430\u043c\u044b\u043a\u0430\u044e\u0449\u0438\u0445 \u0437\u0430\u043f\u044f\u0442\u044b\u0445, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u043b\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u0430 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u201c]\u201d \u0438\u043b\u0438\u00a0 \u201c}\u201d \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0438 \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 \u0437\u0430\u043c\u044b\u043a\u0430\u044e\u0449\u0438\u0435 \u0437\u0430\u043f\u044f\u0442\u044b\u0435, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u043b\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0442\u043e\u0439 \u0436\u0435 \u0441\u0442\u0440\u043e\u043a\u0435, \u0447\u0442\u043e \u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u201c]\u201d \u0438\u043b\u0438 \u201c}\u201d.<\/p>\n<\/li>\n<li>\n<p>&#171;only-multiline&#187; \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 (\u043d\u043e \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442) \u0437\u0430\u043c\u044b\u043a\u0430\u044e\u0449\u0438\u0435 \u0437\u0430\u043f\u044f\u0442\u044b\u0435, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u043b\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u0447\u0435\u043c \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u201c]\u201d \u0438\u043b\u0438\u00a0 \u201c}\u201d, \u0438 \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 \u0437\u0430\u043c\u044b\u043a\u0430\u044e\u0449\u0438\u0435 \u0437\u0430\u043f\u044f\u0442\u044b\u0435, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u043b\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043d\u0430 \u0442\u043e\u0439 \u0436\u0435 \u0441\u0442\u0440\u043e\u043a\u0435, \u0447\u0442\u043e \u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u201c]\u201d \u0438\u043b\u0438 \u201c}\u201d.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430. \u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f &#171;never&#187;, &#171;always&#187;, &#171;always-multiline&#187;, &#171;only-multiline&#187; \u0438\u043b\u0438 &#171;ignore&#187;. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0440\u0430\u0432\u043d\u043e &#171;never&#187;, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0438\u043d\u043e\u0435.<\/p>\n<h2>\u041e\u0431\u0449\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 ESLint<\/h2>\n<pre><code class=\"javascript\">'linebreak-style': [\"error\", \"unix\"], \/\/\u0441\u0442\u0438\u043b\u044c \u0440\u0430\u0437\u0440\u044b\u0432\u0430 \u0441\u0442\u0440\u043e\u043a\u0438 linebreak-style: [\"error\", \"unix || windows\"] 'no-console': 'error', \/\/ \u0431\u0435\u0437 console.log 'no-debugger': 'error',\/\/ \u0431\u0435\u0437 debugger 'arrow-parens': ['error', 'as-needed'], \/\/ \u0441\u043a\u043e\u0431\u043a\u0438 \u0432 \u0441\u0442\u0440\u0435\u043b\u043e\u0447\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 'no-plusplus': 'off', \/\/\u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 \u0443\u043d\u0430\u0440\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b ++\u0438 -- 'constructor-super': 'off', \/\/ \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u043d\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c super(). \u041a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u044b \u043d\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u043d\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c super(). \"no-mixed-operators\": [ \/\/\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0432 \u043a\u0440\u0443\u0433\u043b\u044b\u0435 \u0441\u043a\u043e\u0431\u043a\u0438 \u043f\u0440\u043e\u044f\u0441\u043d\u044f\u0435\u0442 \u0437\u0430\u043c\u044b\u0441\u0435\u043b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430  \"error\",  {    \"groups\": [      [\"+\", \"-\", \"*\", \"\/\", \"%\", \"**\"],      [\"&amp;\", \"|\", \"^\", \"~\", \"&lt;&lt;\", \">>\", \">>>\"],      [\"==\", \"!=\", \"===\", \"!==\", \">\", \">=\", \"&lt;\", \"&lt;=\"],      [\"&amp;&amp;\", \"||\"],      [\"in\", \"instanceof\"]    ],    \"allowSamePrecedence\": true  } ], 'import\/extensions': 'off', \/\/ \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u0432 \u043f\u0443\u0442\u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0430 'import\/prefer-default-export': 'off', \/\/ ESLint \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u043c\u043f\u043e\u0440\u0442\/\u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 'no-unused-expressions': 'error', \/\/\u043d\u0435\u0442 \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 'no-param-reassign': 'off', \/\/\u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 'prefer-destructuring': [\"error\", { \/\/ \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 \u0438\/\u0438\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.      \"array\": true,      \"object\": true    }, {      \"enforceForRenamedProperties\": false    }  ], 'no-bitwise': ['error', { allow: ['~'] }], \/\/ \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 \u043f\u043e\u0431\u0438\u0442\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b. 'no-unused-vars': ['error', { argsIgnorePattern: '^_' }], \/\/ \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435. 'max-len': ['error', { code: 120 }], \/\/ \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u0434\u043b\u0438\u043d\u0443 \u0441\u0442\u0440\u043e\u043a\u0438. 'object-curly-newline': ['error', {  ObjectExpression: { multiline: true, consistent: true },  ObjectPattern: { multiline: true, consistent: true } }], \/\/ \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u0440\u044b\u0432\u044b \u0441\u0442\u0440\u043e\u043a \u043f\u043e\u0441\u043b\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0438 \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c \u0444\u0438\u0433\u0443\u0440\u043d\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a. 'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }] \/\/ \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0438\u043b\u0438 \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 \u043f\u0443\u0441\u0442\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u043c\u0435\u0436\u0434\u0443 \u0447\u043b\u0435\u043d\u0430\u043c\u0438 \u043a\u043b\u0430\u0441\u0441\u0430.<\/code><\/pre>\n<pre><code class=\"javascript\">module.exports = {  root: true,  env: {    node: true,\/\/\u0423\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u0441\u0440\u0435\u0434\u044b \u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 Node.js \u0438 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 Node.js. browser- \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.  },  globals: {     var1: \"writable\",    var2: \"readonly\",    Promise: \"off\"  }, \/\/ \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445  extends: [    'plugin:vue\/strongly-recommended', \/\/\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0431\u0449\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438    '@vue\/airbnb',  ],  parserOptions: {    parser: 'babel-eslint',  },  rules: {} \/\/\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0440\u0430\u0432\u0438\u043b }<\/code><\/pre>\n<details class=\"spoiler\">\n<summary>\u041e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0444\u0430\u0439\u043b .eslintrc.js \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"javascript\">module.exports = {  root: true,  env: {    node: true,  },  extends: [    'plugin:vue\/strongly-recommended',    '@vue\/airbnb',  ],  parserOptions: {    parser: 'babel-eslint',  },  rules: {    \"vue\/html-self-closing\": [\"error\", {      \"html\": {        \"void\": \"never\",        \"normal\": \"always\",        \"component\": \"always\"      },      \"svg\": \"always\",      \"math\": \"always\"    }],    'vue\/html-indent': [      'error',      4,      {        attribute: 1,        baseIndent: 1,        closeBracket: 0,        alignAttributesVertically: true,        ignores: []      }    ],    \"vue\/max-attributes-per-line\": [\"error\", {      \"singleline\": {        \"max\": 1      },      \"multiline\": {        \"max\": 1      }    }],    'vue\/order-in-components': ['error', {      order: [        'el',        'name',        'key',        'parent',        'functional',        ['delimiters', 'comments'],        ['components', 'directives', 'filters'],        'extends',        'mixins',        ['provide', 'inject'],        'ROUTER_GUARDS',        'layout',        'middleware',        'validate',        'scrollToTop',        'transition',        'loading',        'inheritAttrs',        'model',        ['props', 'propsData'],        'emits',        'setup',        'asyncData',        'data',        'fetch',        'head',        'computed',        'watch',        'watchQuery',        'LIFECYCLE_HOOKS',        'methods',        ['template', 'render'],        'renderError'      ]    }],    \"vue\/no-irregular-whitespace\": [\"error\", {      \"skipStrings\": true,      \"skipComments\": false,      \"skipRegExps\": false,      \"skipTemplates\": false,      \"skipHTMLAttributeValues\": false,      \"skipHTMLTextContents\": false    }],    \"vue\/component-definition-name-casing\": [\"error\", \"PascalCase\"],    \"vue\/match-component-file-name\": [\"error\", {      \"extensions\": [\"vue\"],      \"shouldMatchCase\": false    }],    \"vue\/no-dupe-keys\": [\"error\", {      \"groups\": []    }],    \"vue\/component-name-in-template-casing\": [\"error\", \"kebab-case\", {      \"registeredComponentsOnly\": true,    }],    'comma-dangle': ['error', {      arrays: 'never',      objects: 'never',      imports: 'never',      exports: 'never',      functions: 'never'    }],    'linebreak-style': [\"error\", \"windows\"],     'no-console': 'error',    'no-debugger': 'error',    'arrow-parens': ['error', 'as-needed'],    'no-plusplus': 'off',    'constructor-super': 'off',    \"no-mixed-operators\": [       \"error\",      {        \"groups\": [          [\"+\", \"-\", \"*\", \"\/\", \"%\", \"**\"],          [\"&amp;\", \"|\", \"^\", \"~\", \"&lt;&lt;\", \">>\", \">>>\"],          [\"==\", \"!=\", \"===\", \"!==\", \">\", \">=\", \"&lt;\", \"&lt;=\"],          [\"&amp;&amp;\", \"||\"],          [\"in\", \"instanceof\"]        ],        \"allowSamePrecedence\": true      }    ],    'import\/extensions': 'off',    'import\/prefer-default-export': 'off',    'no-unused-expressions': 'error',    'no-param-reassign': 'off',    'prefer-destructuring': [\"error\", {           \"array\": true,          \"object\": true        }, {          \"enforceForRenamedProperties\": false        }      ],    'no-bitwise': ['error', { allow: ['~'] }],    'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],    'max-len': ['error', { code: 120 }],    'object-curly-newline': ['error', {      ObjectExpression: { multiline: true, consistent: true },      ObjectPattern: { multiline: true, consistent: true }    }],    'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }]  }, };<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442:<\/p>\n<pre><code class=\"javascript\">&lt;template>    &lt;div>        &lt;HelloWorld v-model=\"headerData\" is=\"header\" v-once id=\"uniqueID\" @click=\"functionCall\"                    v-text=\"textContent\" ref=\"header\" my-prop=\"prop\" v-for=\"item in items\"        \/>    &lt;\/div> &lt;\/template>  &lt;script> import HelloWorld from '.\/HelloWorld.vue'; export default {  name: 'MyHeaderg\u0430',  components: {    HelloWorld  },  data() {    return {      array: [],      firstName: \"Alex\",      lastName: \"Ivanov\"    };  },  props: {    foo: String  },  methods: {    foo() {}  },  computed: {    fullName() {      return `${this.firstName} ${this.lastName}`;    },    reversedArray() {      return this.array.reverse(); \/\/ &lt;- side effect - orginal array is being mutated    }  },  }; &lt;\/script><\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b eslint &#8212;fix \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7c9\/511\/29c\/7c951129c5158f4527d028ba75f7908d.png\" width=\"649\" height=\"832\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7c9\/511\/29c\/7c951129c5158f4527d028ba75f7908d.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 template \u0432 \u0441\u0442\u0438\u043b\u0435 kebab-case, \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445 \u0432\u044b\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443 \u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441 \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 myProps \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u043e \u043d\u0430 my-props \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043a\u043e\u0434\u0441\u0442\u0430\u0439\u043b\u043e\u043c vue. \u041f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u0443\u0441\u0442\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 19 \u043c\u0435\u0436\u0434\u0443 \u0441\u0435\u043a\u0446\u0438\u0435\u0439 template \u0438 script. \u041d\u0430 21 \u0441\u0442\u0440\u043e\u043a\u0435 \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0430\u0439\u043b\u0430. \u0414\u0432\u043e\u0439\u043d\u044b\u0435 \u043a\u0430\u0432\u044b\u0447\u043a\u0438 \u043f\u0440\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u043d\u0430 \u043e\u0434\u0438\u043d\u0430\u0440\u043d\u044b\u0435. \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 script \u0432\u044b\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443 name, components, props, data, computed, method. \u041d\u0430 \u0441\u0442\u0440\u043e\u043a\u0435 40 \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0430, \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0430\u0439\u0434-\u044d\u0444\u0444\u0435\u043a\u0442\u044b \u0432 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u043e\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435.<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0430\u0432\u0438\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 ESLint, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0437 \u0442\u0440\u0443\u0434\u0430 \u0441\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c\u0443 \u0436\u0435\u043b\u0430\u043d\u0438\u044e. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f\u043c \u043f\u043e \u0441\u0442\u0438\u043b\u044e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430 Vue style guide, \u0430 \u0435\u0441\u043b\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c Auto Fix On Save, \u0442\u043e \u043a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u044d\u0442\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c. \u0412\u0441\u0435 \u044d\u0442\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0431\u043e\u043b\u0435\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044e \u0438 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438 \u043a\u043e\u0434 \u0440\u0435\u0432\u044c\u044e.\u00a0<\/p>\n<p><strong>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438:<\/strong><\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/ru.vuejs.org\/v2\/style-guide\/index.html\"><u>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u0441\u0442\u0438\u043b\u044e \u0434\u043b\u044f Vue \u043a\u043e\u0434\u0430<\/u><\/a>.<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 <a href=\"https:\/\/eslint.vuejs.org\/\"><u>eslint-plugin-vue<\/u><\/a> \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/eslint.vuejs.org\/rules\/\"><u>\u0442\u0443\u0442<\/u><\/a>.\u00a0<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/eslint.org\/docs\/rules\/\"><u>\u041e\u0431\u0449\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 ESlint<\/u><\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u043c \u0432 \u043d\u0430\u0448\u0438\u0445 \u0441\u043e\u0446\u0441\u0435\u0442\u044f\u0445 \u2013 <a href=\"https:\/\/vk.com\/simbirsoft_team\"><u>\u0412\u041a<\/u><\/a> \u0438 <a href=\"https:\/\/t.me\/simbirsoft_dev\"><u>Telegram<\/u><\/a>.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \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:\/\/habr.com\/ru\/company\/simbirsoft\/blog\/674036\/\"> https:\/\/habr.com\/ru\/company\/simbirsoft\/blog\/674036\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0441\u0442\u0430\u0439\u043b\u0430. \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0437\u0430 \u044d\u0442\u043e \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 ESLint. ESLint \u2014 \u044d\u0442\u043e \u043b\u0438\u043d\u0442\u0435\u0440 \u0434\u043b\u044f \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f JavaScript. \u041e\u043d \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u0434 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438.<\/p>\n<p>\u041a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430, \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0447\u0430\u0441\u0442\u043e \u043f\u0440\u0435\u043d\u0435\u0431\u0440\u0435\u0433\u0430\u044e\u0442 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 ESLint, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u0443\u044e. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0441\u0442\u0430\u0439\u043b\u0430 \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u043e\u0432\u0435\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430. \u041a\u043e\u0434\u0441\u0442\u0430\u0439\u043b, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0432 \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u043d\u0438\u0433\u0434\u0435 \u043d\u0435 \u043e\u043f\u0438\u0441\u0430\u043d \u0438\u043b\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0443\u0441\u0442\u043d\u043e\u0439 \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u0438. \u041f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u0443\u043c\u0435, \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u044f \u0443\u0436\u0435 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u0441\u0443\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u044f\u0445. \u041d\u0435\u0440\u0435\u0434\u043a\u0438 \u0441\u043b\u0443\u0447\u0430\u0438, \u043a\u043e\u0433\u0434\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e\u0434 \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u0438\u0448\u0443\u0442 \u043a\u043e\u0434 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0442\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044b \u0441\u0442\u0440\u043e\u043a \u0443 \u043d\u0438\u0445 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f. \u041f\u0440\u0430\u0432\u0438\u043b \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e, \u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0442\u043e\u043b\u044c \u043e\u0431\u0448\u0438\u0440\u043d\u044b, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u0432 \u043a\u043e\u0434\u0430 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043c\u043e\u0436\u0435\u0442 \u0443\u0441\u043b\u043e\u0436\u043d\u0438\u0442\u044c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 ESLint \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 Vue. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 ESLint, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0430\u0448 \u043a\u043e\u0434 \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0443 \u043f\u0440\u0430\u0432\u0438\u043b <a href=\"https:\/\/ru.vuejs.org\/v2\/style-guide\/index.html\"><u>\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0439\u043b\u0433\u0430\u0439\u0434\u0430 Vue<\/u><\/a>. \u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044f\u0442 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u0442\u0438\u043b\u044c \u043a\u043e\u0434\u0430, \u0438 \u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u043d\u0435\u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0439 \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435. \u042d\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u0434\u0441\u0442\u0430\u0439\u043b\u0430 \u0438 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 (\u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0435, \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435, \u043e\u0448\u0438\u0431\u043a\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439) \u0435\u0449\u0435 \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430, \u043f\u043e\u0432\u044b\u0441\u044f\u0442 \u0435\u0433\u043e \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u044c \u0438 \u0443\u043f\u0440\u043e\u0441\u0442\u044f\u0442 \u043a\u043e\u0434-\u0440\u0435\u0432\u044c\u044e. \u0412 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435 \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u044e \u0441\u0440\u043e\u043a\u043e\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<\/p>\n<p>\u0412\u0441\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e ESLint, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d prettier \u0438\u043b\u0438 Vetur, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0445 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c. ESLint \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432 extensions \u0432\u0430\u0448\u0435\u0439 IDE, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c.<\/p>\n<p>\u0412 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u0444\u0430\u0439\u043b\u0430 <strong>.eslintrc.js<\/strong> \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438.\u00a0\u00a0<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h2>\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u044b<\/h2>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0432\u044b\u0431\u0435\u0440\u0435\u043c\u00a0 ESLint + Airbnb config.<\/p>\n<p>\u0424\u0430\u0439\u043b <strong>.eslintrc.js<\/strong> \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e <strong>@vue\/airbnb<\/strong>, <strong>plugin:vue\/essentia<\/strong>l \u0437\u0430\u043c\u0435\u043d\u0438\u043c \u043d\u0430 <strong>plugin:vue\/strongly-recommended<\/strong> (\u0438\u043b\u0438 <strong>plugin:vue\/vue3-strongly-recommended, plugin:vue\/vue3-essential, plugin:vue\/vue3-recommended<\/strong> \u0434\u043b\u044f vue 3) \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u043c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438. \u0415\u0441\u043b\u0438 \u0432\u044b \u0435\u0449\u0435 \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u044b \u0441 \u043e\u0442\u043b\u0438\u0447\u0438\u044f\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a essential \u043e\u0442 strongly-recommended, \u0442\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0438\u0445 <a href=\"https:\/\/ru.vuejs.org\/v2\/style-guide\/index.html\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a>.\u00a0<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0432 \u043e\u0431\u044a\u0435\u043a\u0442 rules \u0431\u0443\u0434\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u0438\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.<\/p>\n<h3>\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0441\u0435\u043a\u0446\u0438\u0438 &lt;template>  <\/h3>\n<p><strong>#vue\/attributes-order<\/strong> \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;div     is=\"header\"     v-for=\"item in items\"     v-if=\"!visible\"     v-once     id=\"uniqueID\"     ref=\"header\"     v-model=\"headerData\"     my-prop=\"prop\"     @click=\"functionCall\"     v-text=\"textContent\">   &lt;\/div>     &lt;!-- \u2717 BAD -->   &lt;div     ref=\"header\"     my-prop=\"prop\"     v-for=\"item in items\"     v-once     @click=\"functionCall\"     id=\"uniqueID\"     v-model=\"headerData\"     v-if=\"!visible\"     is=\"header\"     v-text=\"textContent\">   &lt;\/div> &lt;\/template><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">\"vue\/attributes-order\": [\"error\", {  \"order\": [    \"DEFINITION\",    \"LIST_RENDERING\",    \"CONDITIONALS\",    \"RENDER_MODIFIERS\",    \"GLOBAL\",    [\"UNIQUE\", \"SLOT\"],    \"TWO_WAY_BINDING\",    \"OTHER_DIRECTIVES\",    \"OTHER_ATTR\",    \"EVENTS\",    \"CONTENT\"  ],  \"alphabetical\": false }],<\/code><\/pre>\n<p>\u042d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u041f\u043e\u0440\u044f\u0434\u043e\u043a \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0443\u043a\u0430\u0437\u0430\u043d \u0432 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043f\u043e <a href=\"https:\/\/vuejs.org\/style-guide\/rules-recommended.html#element-attribute-order\"><u>\u0441\u0442\u0438\u043b\u044e Vue.js.<\/u><\/a> \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d:<\/p>\n<ul>\n<li>\n<p>DEFINITION e.g. &#8216;is&#8217;, &#8216;v-is&#8217;<\/p>\n<\/li>\n<li>\n<p>LIST_RENDERING e.g. &#8216;v-for item in items&#8217;<\/p>\n<\/li>\n<li>\n<p>CONDITIONALS e.g. &#8216;v-if&#8217;, &#8216;v-else-if&#8217;, &#8216;v-else&#8217;, &#8216;v-show&#8217;, &#8216;v-cloak&#8217;<\/p>\n<\/li>\n<li>\n<p>RENDER_MODIFIERS e.g. &#8216;v-once&#8217;, &#8216;v-pre&#8217;<\/p>\n<\/li>\n<li>\n<p>GLOBAL e.g. &#8216;id&#8217;<\/p>\n<\/li>\n<li>\n<p>UNIQUE e.g. &#8216;ref&#8217;, &#8216;key&#8217;<\/p>\n<\/li>\n<li>\n<p>SLOT e.g. &#8216;v-slot&#8217;, &#8216;slot&#8217;<\/p>\n<\/li>\n<li>\n<p>TWO_WAY_BINDING e.g. &#8216;v-model&#8217;<\/p>\n<\/li>\n<li>\n<p>OTHER_DIRECTIVES e.g. &#8216;v-custom-directive&#8217;<\/p>\n<\/li>\n<li>\n<p>OTHER_ATTR e.g. &#8216;custom-prop=&#187;foo&#187;&#8216;, &#8216;v-bind:prop=&#187;foo&#187;&#8216;, &#8216;:prop=&#187;foo&#187;&#8216;<\/p>\n<\/li>\n<li>\n<p>EVENTS e.g. &#8216;@click=&#187;functionCall&#187;&#8216;, &#8216;v-on=&#187;event&#187;&#8216;<\/p>\n<\/li>\n<li>\n<p>CONTENT e.g. &#8216;v-text&#8217;, &#8216;v-html&#8217;<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/max-attributes-per-line <\/strong>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;MyComponent lorem=\"1\"\/>   &lt;MyComponent     lorem=\"1\"     ipsum=\"2\"   \/>     &lt;!-- \u2717 BAD -->   &lt;MyComponent lorem=\"1\" ipsum=\"2\"\/>   &lt;MyComponent     lorem=\"1\" ipsum=\"2\"   \/>   &lt;MyComponent     lorem=\"1\" ipsum=\"2\"     dolor=\"3\"   \/> &lt;\/template><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\"> \"vue\/max-attributes-per-line\": [\"error\", {     \"singleline\": {       \"max\": 1     },           \"multiline\": {       \"max\": 1     }   }]<\/code><\/pre>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f singleline.max (number) \u0438 multiline.max (number) \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 1, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0436\u0434\u044b\u0439 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0441\u044f \u0441 \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0438.<\/p>\n<p>#<strong>vue\/html-self-closing <\/strong>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0442\u0435\u0433 \u0438\u043b\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;div\/>   &lt;img>   &lt;MyComponent\/>   &lt;svg>&lt;path d=\"\"\/>&lt;\/svg>     &lt;!-- \u2717 BAD -->   &lt;div>&lt;\/div>   &lt;img\/>   &lt;MyComponent>&lt;\/MyComponent>   &lt;svg>&lt;path d=\"\">&lt;\/path>&lt;\/svg> &lt;\/template><\/code><\/pre>\n<pre><code class=\"javascript\"> \"vue\/html-self-closing\": [\"error\", {     \"html\": {       \"void\": \"never\",       \"normal\": \"always\",       \"component\": \"always\"     },     \"svg\": \"always\",     \"math\": \"always\"   }]<\/code><\/pre>\n<ul>\n<li>\n<p>html.void (&#171;never&#187; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0441\u0442\u0438\u043b\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u043f\u0443\u0441\u0442\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 HTML.<\/p>\n<\/li>\n<li>\n<p>html.normal (&#171;always&#187; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0441\u0442\u0438\u043b\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 HTML \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0443\u0441\u0442\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>html.component (&#171;always&#187; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0441\u0442\u0438\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 Vue.js.<\/p>\n<\/li>\n<li>\n<p>svg (&#171;always&#187; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0441\u0442\u0438\u043b\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 SVG.<\/p>\n<\/li>\n<li>\n<p>math (&#171;always&#187; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0441\u0442\u0438\u043b\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 MathML.<\/p>\n<\/li>\n<\/ul>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0432 \u043e\u0434\u043d\u043e \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439:<\/p>\n<ul>\n<li>\n<p>&#171;always&#187; \u2014 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u0442 \u0441\u0432\u043e\u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e.<\/p>\n<\/li>\n<li>\n<p>&#171;never&#187; \u2014 \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0441\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435.<\/p>\n<\/li>\n<li>\n<p>&#171;any&#187; \u2014 \u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0441\u0442\u0438\u043b\u044c.<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/html-indent<\/strong> \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 &lt;template>:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;div class=\"foo\">     Hello.   &lt;\/div>   &lt;div class=\"foo\">     Hello.   &lt;\/div>   &lt;div class=\"foo\"        :foo=\"bar\"   >     World.   &lt;\/div>   &lt;div     id=\"a\"     class=\"b\"     :other-attr=\"{       aaa: 1,       bbb: 2     }\"     @other-attr2=\"       foo();       bar();     \"   >     {{       displayMessage     }}   &lt;\/div>     &lt;!-- \u2717 BAD -->  &lt;div class=\"foo\">    Hello.     &lt;\/div> &lt;\/template><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">'vue\/html-indent': [  'error',  4,  {    attribute: 1,    baseIndent: 1,    closeBracket: 0,    alignAttributesVertically: true,    ignores: []  } ],<\/code><\/pre>\n<ul>\n<li>\n<p>type (number | &#171;tab&#187;) \u2014 \u0442\u0438\u043f \u043e\u0442\u0441\u0442\u0443\u043f\u0430. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 2. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0447\u0438\u0441\u043b\u043e, \u0442\u043e \u044d\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0431\u0435\u043b\u043e\u0432 \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u0442\u0441\u0442\u0443\u043f\u0430. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e &#171;tab&#187;, \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043e\u0434\u043d\u0443 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u0442\u0441\u0442\u0443\u043f\u0430.<\/p>\n<\/li>\n<li>\n<p>attribute (integer) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 1.<\/p>\n<\/li>\n<li>\n<p>baseIndent (integer) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 1.<\/p>\n<\/li>\n<li>\n<p>closeBracket (integer | object) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 0.<\/p>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u043d\u0438\u0436\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0435, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/p>\n<ul>\n<li>\n<p>closeBracket.startTag (integer) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0442\u0435\u0433\u043e\u0432 (&lt;div>). \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 0.<\/p>\n<\/li>\n<li>\n<p>closeBracket.endTag (integer) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0442\u0435\u0433\u043e\u0432 (&lt;\/div>). \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 0.<\/p>\n<\/li>\n<li>\n<p>closeBracket.selfClosingTag (integer) \u2014 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0442\u0435\u0433\u043e\u0432 (&lt;div\/>). \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 0.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>alignAttributesVertically (boolean) \u2014 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0442\u043e\u0433\u043e, \u0434\u043e\u043b\u0436\u043d\u044b \u043b\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438 \u0441 \u043f\u0435\u0440\u0432\u044b\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c \u0432 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u043b\u0438 \u043d\u0435\u0442. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e true.<\/p>\n<\/li>\n<li>\n<p>ignores (string[]) \u2014 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440 \u0434\u043b\u044f \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0437\u043b\u043e\u0432. \u0421\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439 AST \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f <a href=\"https:\/\/github.com\/vuejs\/vue-eslint-parser\/blob\/master\/docs\/ast.md\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a>.<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/component-name-in-template-casing <\/strong>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0434\u043b\u044f \u0441\u0442\u0438\u043b\u044f \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;cool-component \/>     &lt;!-- \u2717 BAD -->   &lt;CoolComponent \/>   &lt;coolComponent \/>   &lt;Cool-component \/>     &lt;!-- ignore -->   &lt;unregistered-component \/>   &lt;UnregisteredComponent \/> &lt;\/template> &lt;script> export default {   components: {     CoolComponent   } } &lt;\/script><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">\"vue\/component-name-in-template-casing\": [\"error\", \"kebab-case\", {  \"registeredComponentsOnly\": true, }],<\/code><\/pre>\n<ul>\n<li>\n<p>&#171;PascalCase&#187; (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u2014 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d \u0442\u0435\u0433\u043e\u0432 \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u043f\u0430\u0441\u043a\u0430\u043b\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &lt;CoolComponent>. \u042d\u0442\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 JSX.<\/p>\n<\/li>\n<li>\n<p>&#171;kebab-case&#187; \u2014 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d \u0442\u0435\u0433\u043e\u0432 \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u043a\u0435\u0431\u0430\u0431\u0430: \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &lt;cool-component>. \u042d\u0442\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u0443\u0435\u0442\u0441\u044f \u0441 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u043e\u0439 HTML, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0435\u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u0430 \u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443.<\/p>\n<\/li>\n<li>\n<p>registeredComponentsOnly \u2014 \u0435\u0441\u043b\u0438 true, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b (\u0432 PascalCase). \u0435\u0441\u043b\u0438 false, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0432\u0441\u0435. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e true.<\/p>\n<\/li>\n<li>\n<p>ignores (string[]) \u2014 \u0438\u043c\u0435\u043d\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0435\u0435 \u0438\u043c\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438\u043b\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b Vue \u0441\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043d\u0430\u043f\u0438\u0441\u0430\u0432 \u0435\u0433\u043e \u043a\u0430\u043a &#171;\/^name\/&#187;.<\/p>\n<\/li>\n<\/ul>\n<p><strong>#vue\/no-irregular-whitespace<\/strong> \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0435\u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u0435\u043b\u043e\u0432:<\/p>\n<pre><code class=\"javascript\">&lt;template>   &lt;!-- \u2713 GOOD -->   &lt;div class=\"foo bar\" \/>   &lt;!-- \u2717 BAD -->   &lt;div class=\"foo bar\" \/>   &lt;!--           ^ LINE TABULATION (U+000B) --> &lt;\/template> &lt;script> \/* \u2713 GOOD *\/ var foo = bar; \/* \u2717 BAD *\/ var foo = bar; \/\/       ^ LINE TABULATION (U+000B) &lt;\/script><\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">\"vue\/no-irregular-whitespace\": [\"error\", {  \"skipStrings\": true,  \"skipComments\": false,  \"skipRegExps\": false,  \"skipTemplates\": false,  \"skipHTMLAttributeValues\": false,  \"skipHTMLTextContents\": false }],<\/code><\/pre>\n<ul>\n<li>\n<p>skipStrings: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0445 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u0430\u0445. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e true.<\/p>\n<\/li>\n<li>\n<p>skipComments: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e false.<\/p>\n<\/li>\n<li>\n<p>skipRegExps: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u0430\u0445 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e false.<\/p>\n<\/li>\n<li>\n<p>skipTemplates: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u0430\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u0430. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e false.<\/p>\n<\/li>\n<li>\n<p>skipHTMLAttributeValues: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u0445 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 HTML. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e false.<\/p>\n<\/li>\n<li>\n<p>skipHTMLTextContents: true \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442 \u043b\u044e\u0431\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-335153","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/335153","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=335153"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/335153\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=335153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=335153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=335153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}