2018-09-27 03:56:58 +03:00
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"extends": [
2018-10-24 23:50:08 +03:00
"airbnb"
2018-09-27 03:56:58 +03:00
],
"settings": {
"react": {
"version": "16.5.2"
}
},
"env": {
"browser": true,
2018-10-24 23:50:08 +03:00
"node": true,
"jest": true
2018-09-27 03:56:58 +03:00
},
"globals": {
2018-10-24 23:50:08 +03:00
"window": true
2018-09-27 03:56:58 +03:00
},
"rules": {
2018-10-11 18:31:37 +03:00
"camelcase": "off",
2018-09-27 03:56:58 +03:00
"arrow-parens": "off",
2018-10-24 23:50:08 +03:00
"comma-dangle": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
2018-09-27 03:56:58 +03:00
"indent": ["error", 2, {
"SwitchCase": 1
}],
2018-10-24 23:50:08 +03:00
"max-len": ["error", {
2018-09-27 03:56:58 +03:00
"code": 100,
"ignoreStrings": true,
2018-10-24 23:50:08 +03:00
"ignoreTemplateLiterals": true
2018-09-27 03:56:58 +03:00
}],
"no-continue": "off",
"no-debugger": "off",
"no-mixed-operators": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
2018-10-24 23:50:08 +03:00
"no-multiple-empty-lines": ["error", { "max": 1 }],
2018-09-27 03:56:58 +03:00
"object-curly-newline": "off",
"space-before-function-paren": ["error", "always"],
"no-trailing-spaces": ["error"],
2019-04-08 18:46:11 +03:00
"no-unused-expressions": ["error", { "allowShortCircuit": true }],
2018-10-11 18:31:37 +03:00
"react/prefer-stateless-function": "off",
"react/prop-types": "off",
2019-04-29 17:08:50 +03:00
"react/sort-comp": ["error", {}],
2018-10-15 19:14:52 +03:00
"jsx-a11y/label-has-for": "off",
"jsx-a11y/label-has-associated-control": "off"
2018-09-27 03:56:58 +03:00
}
}