connector-wordpress/.eslintrc.json

56 lines
880 B
JSON
Raw Permalink Normal View History

2021-04-05 17:53:47 +02:00
{
"env": {
"browser": true,
"es2020": true
},
2022-06-03 23:48:19 +02:00
"globals": {
"MOBILIZON_CONNECTOR": "readonly"
},
2021-12-14 15:33:07 +01:00
"parser": "@babel/eslint-parser",
2021-04-05 17:53:47 +02:00
"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,
2021-12-14 15:33:07 +01:00
"requireConfigFile": false,
"sourceType": "module",
"babelOptions": {
"presets": ["@babel/preset-react"]
}
2021-04-05 17:53:47 +02:00
},
"plugins": [
2021-12-14 15:33:07 +01:00
"ava",
"jsx"
2021-05-06 09:09:09 +02:00
],
2021-04-05 17:53:47 +02:00
"rules": {
2022-06-03 23:32:23 +02:00
"import/no-unresolved": [
"off"
],
2021-04-05 17:53:47 +02:00
"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"
]
}
}