2018-11-06 20:11:52 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2019-07-23 13:08:36 +00:00
|
|
|
"es6": true,
|
|
|
|
"node": true,
|
|
|
|
"jest/globals": true
|
2018-11-06 20:11:52 +00:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"wp": true,
|
|
|
|
"wpApiSettings": true,
|
2019-01-30 08:12:08 +00:00
|
|
|
"wcSettings": true,
|
2019-07-23 13:08:36 +00:00
|
|
|
"es6": true,
|
|
|
|
"page": true,
|
|
|
|
"browser": true,
|
|
|
|
"context": true,
|
|
|
|
"jestPuppeteer": true
|
2018-11-06 20:11:52 +00:00
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"camelcase": 0,
|
|
|
|
"indent": 0,
|
|
|
|
"max-len": [ 2, { "code": 140 } ],
|
|
|
|
"no-console": 1
|
2019-01-30 08:12:08 +00:00
|
|
|
},
|
2019-08-26 14:00:23 +00:00
|
|
|
"plugins": [
|
|
|
|
"jest"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"plugin:jest/recommended"
|
|
|
|
],
|
|
|
|
"parser": "babel-eslint",
|
2019-01-30 08:12:08 +00:00
|
|
|
"parserOptions": {
|
2019-07-23 13:08:36 +00:00
|
|
|
"ecmaVersion": 8,
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"modules": true,
|
|
|
|
"experimentalObjectRestSpread": true,
|
|
|
|
"jsx": true
|
|
|
|
}
|
2019-08-26 14:00:23 +00:00
|
|
|
}
|
2018-11-06 20:11:52 +00:00
|
|
|
}
|