UNPKG

generator-eslinter

Version:
30 lines (29 loc) 760 B
{ "parser": "babel-eslint", "env": { "es6": true }, "rules": { "indent": [2, 4], "comma-dangle": 0, "no-underscore-dangle": 1 <% if(personal) { %>, "react/jsx-indent": [2, 4], // personal "react/jsx-indent-props": 0, // personal "jsx-a11y/anchor-is-valid": [ "error", { "components": [ "Link" ], "specialLink": [ "to" ], "aspects": [ "noHref", "invalidHref", "preferButton" ] }] <% } %> }, "plugins": [ <%_ plugins.forEach(function(config, index, list){ _%> "<%= config %>"<%= index === list.length - 1 ? '' : ',' %> <%_ }); _%> ], "extends": [ <%_ extendsArray.forEach(function(config, index, list){ _%> "<%= config %>"<%= index === list.length - 1 ? '' : ',' %> <%_ }); _%> ] }