Copy eslint ignores to beta-tester
This commit is contained in:
parent
bedd27a2eb
commit
dd712f4911
|
@ -1 +1,5 @@
|
|||
*.min.js
|
||||
build
|
||||
build-module
|
||||
node_modules
|
||||
vendor
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"root": true,
|
||||
"extends": [ "plugin:@woocommerce/eslint-plugin/recommended" ],
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": true
|
||||
|
@ -17,7 +18,14 @@
|
|||
"code": 140
|
||||
}
|
||||
],
|
||||
"no-console": 1
|
||||
"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
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
bin/*
|
||||
!.eslintrc.js
|
||||
build
|
||||
build-module
|
||||
node_modules
|
||||
vendor
|
|
@ -1,12 +0,0 @@
|
|||
module.exports = {
|
||||
extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ],
|
||||
rules: {
|
||||
// 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' ] },
|
||||
],
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue