-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
32 lines (32 loc) · 1.08 KB
/
.eslintrc
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
{
"env": { "browser": true, "es6": true },
"parser": "@babel/eslint-parser",
"extends": ["airbnb", "prettier"],
"globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" },
"parserOptions": {
"ecmaFeatures": { "jsx": true, "modules": true },
"ecmaVersion": 2018,
"sourceType": "module",
"requireConfigFile": false,
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"plugins": ["react", "prettier"],
"rules": {
"prettier/prettier": "error",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types": [0, { "forbid": ["any"] }],
"react/prop-types": 0,
"react/destructuring-assignment": 0,
"react/sort-comp": 0,
"react/no-did-update-set-state": 0,
"react/jsx-boolean-value": 0,
"prefer-template": 1,
"prefer-const": 1,
"no-unused-vars": 1,
"import/prefer-default-export": 1,
"import/no-extraneous-dependencies": 1,
"import/no-unresolved": 1
}
}