react-toolbox/.eslintrc

44 lines
1.1 KiB
Plaintext

{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"plugins": ["compat"],
"rules": {
"no-mixed-operators": [
"error", { "groups": [
["&", "|", "^", "~", "<<", ">>", ">>>"],
["==", "!=", "===", "!==", ">", ">=", "<", "<="],
["&&", "||"],
["in", "instanceof"]
] }
],
"compat/compat": 2,
"func-names": "off",
"global-require": "off",
"no-use-before-define": 0,
"no-underscore-dangle": 0,
"react/sort-prop-types": 2,
"react/jsx-no-bind": 2,
"react/require-default-props": 0,
"react/no-find-dom-node": 0,
"react/jsx-filename-extension": 0,
"import/prefer-default-export": 0,
"jsx-a11y/no-noninteractive-tabindex": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/label-has-for": 0,
"import/no-extraneous-dependencies": [
"error", {
"devDependencies": true,
"optionalDependencies": false,
"peerDependencies": false
}
]
}
}