forked from trussworks/react-file-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
44 lines (44 loc) · 890 Bytes
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
{
"parser": "babel-eslint",
"plugins": ["import", "jsx-a11y", "react", "security"],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"webpack": "webpack.config.js"
}
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"prettier",
"plugin:security/recommended"
],
"globals": {
"XMLHttpRequest": true,
"XDomainRequest": true,
"document": true,
"window": true
},
"rules": {
"react/prop-types": [0, { "customValidators": ["skipUndeclared"] }]
}
}