Clean up eslintrc in favour of defaults
This commit is contained in:
parent
1aec706943
commit
734cfebd8c
|
@ -5,31 +5,9 @@
|
||||||
"browser": true,
|
"browser": true,
|
||||||
"node": true
|
"node": true
|
||||||
},
|
},
|
||||||
"globals": {
|
|
||||||
"wp": true,
|
|
||||||
"es6": true
|
|
||||||
},
|
|
||||||
"rules": {
|
"rules": {
|
||||||
"camelcase": 0,
|
"camelcase": 0,
|
||||||
"indent": 0,
|
|
||||||
"max-len": [
|
|
||||||
2,
|
|
||||||
{
|
|
||||||
"code": 140
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"no-console": 1,
|
|
||||||
// temporary conversion to warnings until the below are all handled.
|
|
||||||
"@wordpress/i18n-translator-comments": "warn",
|
|
||||||
"@wordpress/valid-sprintf": "warn",
|
|
||||||
"jsdoc/check-tag-names": [
|
|
||||||
"error",
|
|
||||||
{ "definedTags": [ "jest-environment" ] }
|
|
||||||
],
|
|
||||||
"react/react-in-jsx-scope": "off",
|
"react/react-in-jsx-scope": "off",
|
||||||
"no-alert": "off"
|
"no-alert": "off"
|
||||||
},
|
|
||||||
"parserOptions": {
|
|
||||||
"ecmaVersion": 6
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue