-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.eslintrc.js
More file actions
31 lines (31 loc) · 762 Bytes
/
.eslintrc.js
File metadata and controls
31 lines (31 loc) · 762 Bytes
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
module.exports = {
env: {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
extends: ["eslint:recommended", "plugin:react/recommended"],
parser: "babel-eslint",
parserOptions: {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
plugins: [
"react",
"import"
],
rules: {
"indent": ["off", 2],
"react/display-name": ["off"],
"react/jsx-indent": ["error", 2],
"comma-dangle": ["error", "never"],
"no-console": ["off"],
"import/no-unresolved": ["off"],
"react/no-find-dom-node": ["off"],
"no-empty": ["off"]
// "react/no-unescaped-entities": 0
}
};