-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.eslintrc.js
More file actions
42 lines (42 loc) · 935 Bytes
/
.eslintrc.js
File metadata and controls
42 lines (42 loc) · 935 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
36
37
38
39
40
41
42
const defaultConfig = require( '@wordpress/scripts/config/.eslintrc.js' );
module.exports = {
...defaultConfig,
ignorePatterns: [
"tests/cypress/fixures",
"tests/cypress/plugins",
"tests/cypress/support",
"tests/bin",
"vendor",
".eslintrc.js",
"webpack.config.js",
],
"globals": {
"Cypress": "readonly",
"cy": "readonly",
"before": "readonly",
"tenupIscVars": "readonly",
"tenupIscAdminVars": "readonly",
"localStorage": "readonly",
"jQuery": "readonly",
"Node": "readonly",
},
"settings": {
"import/core-modules": [
"@wordpress/api-fetch",
"@wordpress/block-editor",
"@wordpress/components",
"@wordpress/compose",
"@wordpress/data",
"@wordpress/date",
"@wordpress/edit-post",
"@wordpress/element",
"@wordpress/hooks",
"@wordpress/i18n",
"@wordpress/keycodes",
"@wordpress/plugins",
"@wordpress/primitives",
"@wordpress/rich-text",
"cypress"
]
}
};