forked from cardinalitypuzzles/cardboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
43 lines (43 loc) · 1.21 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
"plugin:react/recommended",
"airbnb",
"plugin:prettier/recommended",
],
overrides: [],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["react", "prettier"],
globals: { CURRENT_HUNT_ID: true },
rules: {
"prefer-object-spread": ["off"],
"prettier/prettier": "error",
quotes: ["error", "double"],
"import/prefer-default-export": ["off"],
"import/order": ["off"],
"no-plusplus": ["off"],
"react/jsx-filename-extension": ["off"],
"consistent-return": ["off"],
"jsx-a11y/label-has-associated-control": ["off"],
"no-param-reassign": ["off"],
eqeqeq: ["off"],
"no-shadow": ["off"],
"no-else-return": ["off"],
camelcase: ["off"],
"react/forbid-prop-types": ["off"],
"react/jsx-props-no-spreading": ["off"],
"react/function-component-definition": ["off"],
"react/jsx-no-useless-fragment": ["off"],
"react/prop-types": ["off"],
"jsx-a11y/no-static-element-interactions": ["off"],
"jsx-a11y/click-events-have-key-events": ["off"],
"react/destructuring-assignment": ["off"],
"no-prototype-builtins": ["off"],
},
};