-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
38 lines (37 loc) · 1.05 KB
/
.eslintrc.js
File metadata and controls
38 lines (37 loc) · 1.05 KB
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
module.exports = {
parser: "@babel/eslint-parser",
parserOptions: {
requireConfigFile: false,
babelOptions: {
presets: ["@babel/preset-env"],
},
},
extends: ["airbnb", "plugin:prettier/recommended"],
rules: {
"no-console": "off",
"no-plusplus": ["off"],
"react/forbid-prop-types": 0,
"react/destructuring-assignment": 0,
"react/prop-types": ["off"],
"react/no-unknown-property": 0,
"react/jsx-filename-extension": ["error", {extensions: [".js"]}],
"react/jsx-indent": "off",
"react/jsx-indent-props": "off",
"react/jsx-closing-bracket-location": 0,
"react/jsx-boolean-value": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-wrap-multilines": 0,
"import/first": 0,
"prettier/prettier": 1,
"no-underscore-dangle": 0
},
settings: {
"import/resolver": "webpack"
},
env: {
browser: true,
node: true,
es6: true
},
plugins: ["react"]
};