@fitch-digital/fitch-create-app
Version:
Boilerplate templates for FITCH projects
80 lines (79 loc) • 2.42 kB
Plain Text
{
"parser": "babel-eslint",
"extends": ["airbnb", "prettier"],
"settings": {
"import/resolver": {
"babel-module": {}
}
},
"globals": {
"__NAME__": true,
"__NODE_ENV__": true,
"__VERSION__": true,
"__ENV__": true,
"cancelAnimationFrame": true,
"document": true,
"fetch": true,
"requestAnimationFrame": true,
"atob": true,
"XMLHttpRequest": true
},
"rules": {
"global-require": [0],
"one-var": [0],
"one-var-declaration-per-line": [0],
"arrow-body-style": [0],
"camelcase": [0],
"class-methods-use-this": [0],
"function-paren-newline": [0],
"import/no-extraneous-dependencies": [0],
"import/prefer-default-export": [0],
"indent": [0],
"jsx-a11y/anchor-is-valid": [0],
"jsx-a11y/href-no-hash": [0],
"jsx-a11y/img-has-alt": [0],
"jsx-a11y/label-has-associated-control": [0],
"jsx-a11y/label-has-for": [0],
"jsx-a11y/media-has-caption": [0],
"jsx-a11y/mouse-events-have-key-events": [0],
"linebreak-style": [0],
"max-len": [2, 120],
"no-bitwise": [0],
"no-console": [0],
"no-continue": [0],
"no-return-assign": [0],
"no-param-reassign": [0],
"no-plusplus": [0],
"no-restricted-syntax": [2, "DebuggerStatement"],
"no-underscore-dangle": [0],
"no-unused-expressions": [0],
"object-curly-newline": [0],
"operator-linebreak": [0],
"padded-blocks": [0],
"prefer-destructuring": [0],
"react/destructuring-assignment": [0],
"react/forbid-prop-types": [0],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"react/jsx-indent-props": [2, 4],
"react/jsx-indent": [2, 4],
"react/jsx-wrap-multilines": [0],
"react/no-array-index-key": [0],
"react/no-did-mount-set-state": [0],
"react/no-find-dom-node": [0],
"react/prefer-stateless-function": [0],
"react/require-default-props": [0],
"react/jsx-one-expression-per-line": [0],
"yoda": [
2,
"never",
{
"exceptRange": true
}
]
}
}