@25sprout/react-starter
Version:
25sprout web starter with React
45 lines (44 loc) • 1.02 kB
Plain Text
{
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true,
"jasmine": true,
},
"parser": "babel-eslint",
"plugins": [
"import",
"react",
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
},
},
"rules": {
"arrow-parens": ["error", "as-needed"],
"no-multi-spaces": ["error", { "exceptions": { "ImportDeclaration": true } }],
"indent": [2, "tab"],
"no-tabs": 0,
"no-console": 0,
"no-underscore-dangle": 0,
"react/jsx-indent": [2, "tab"],
"react/jsx-indent-props": [2, "tab"],
"react/prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"jsx-a11y/anchor-is-valid": ["error", {
components: [],
specialLink: [],
aspects: ["noHref", "invalidHref", "preferButton"],
}],
},
}