forked from italia/publiccode-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
35 lines (35 loc) · 697 Bytes
/
.eslintrc
File metadata and controls
35 lines (35 loc) · 697 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
32
33
34
35
{
"root": true,
"extends": ["eslint:recommended", "plugin:react/recommended"],
"plugins": ["react"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"commonjs": true,
"node": true,
"jest": true
},
"parser": "babel-eslint",
"rules": {
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"react/prop-types": "off",
"react/no-find-dom-node": "off",
"react/no-string-refs": "off",
"strict": 0,
"no-console": "off",
"no-unused-vars": 1
},
"settings": {
"react": {
"version": "detect"
}
}
}