forked from pods-framework/pods
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
45 lines (45 loc) · 1.12 KB
/
.eslintrc.json
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
45
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2016,
"ecmaFeatures": {
"jsx": true
},
"requireConfigFile": false,
"sourceType": "module"
},
"extends": [
"plugin:@wordpress/eslint-plugin/custom",
"plugin:@wordpress/eslint-plugin/esnext",
"plugin:@wordpress/eslint-plugin/es5",
"plugin:@wordpress/eslint-plugin/jsx-a11y",
"plugin:@wordpress/eslint-plugin/react",
"plugin:@wordpress/eslint-plugin/i18n",
"plugin:@wordpress/eslint-plugin/test-e2e",
"plugin:@wordpress/eslint-plugin/test-unit"
],
"rules": {
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
],
"no-undef": [
"error"
]
},
"overrides": [
{
"excludedFiles": "*.min.js",
"files": [
"**/test/*.js"
],
"env": {
"jest": true
}
}
]
}