Copy eslint ignores to beta-tester

This commit is contained in:
Paul Sealock 2022-06-07 15:13:14 +12:00
parent bedd27a2eb
commit dd712f4911
4 changed files with 13 additions and 19 deletions

View File

@ -1 +1,5 @@
*.min.js *.min.js
build
build-module
node_modules
vendor

View File

@ -1,5 +1,6 @@
{ {
"root": true, "root": true,
"extends": [ "plugin:@woocommerce/eslint-plugin/recommended" ],
"env": { "env": {
"browser": true, "browser": true,
"node": true "node": true
@ -17,7 +18,14 @@
"code": 140 "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": { "parserOptions": {
"ecmaVersion": 6 "ecmaVersion": 6

View File

@ -1,6 +0,0 @@
bin/*
!.eslintrc.js
build
build-module
node_modules
vendor

View File

@ -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' ] },
],
},
};