connector-wordpress/.eslintrc.json

47 lines
669 B
JSON
Raw Normal View History

2021-04-05 17:53:47 +02:00
{
"env": {
"browser": true,
"es2020": true
},
"extends": [
"eslint:recommended",
2021-11-01 20:55:37 +01:00
"plugin:ava/recommended",
"plugin:@wordpress/eslint-plugin/recommended"
2021-04-05 17:53:47 +02:00
],
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"plugins": [
"ava"
],
2021-05-06 09:09:09 +02:00
"ignorePatterns": [
"gulpfile.js"
],
2021-04-05 17:53:47 +02:00
"rules": {
"indent": [
"error",
2
],
2021-11-01 20:55:37 +01:00
"no-console": [
"error", {
"allow": ["error"]
}
],
"prettier/prettier": [
"off"
],
2021-04-05 17:53:47 +02:00
"quotes": [
"error",
"single"
],
2021-11-01 20:55:37 +01:00
"react/jsx-key": [
"off"
],
2021-04-05 17:53:47 +02:00
"semi": [
"error",
"never"
]
}
}