woocommerce/plugins/woocommerce-beta-tester/.eslintrc

34 lines
588 B
Plaintext

{
"root": true,
"extends": [ "plugin:@woocommerce/eslint-plugin/recommended" ],
"env": {
"browser": true,
"node": true
},
"globals": {
"wp": true,
"es6": true
},
"rules": {
"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" ] }
]
},
"parserOptions": {
"ecmaVersion": 6
}
}