Update eslint config to ignore legacy block (https://github.com/woocommerce/woocommerce-blocks/pull/176)
* Add react version to prevent warning when running eslint * Ignore eslint issues in the legacy block
This commit is contained in:
parent
e9b3b341e5
commit
95b4092567
|
@ -3,3 +3,4 @@ build-module
|
|||
coverage
|
||||
node_modules
|
||||
vendor
|
||||
legacy
|
||||
|
|
|
@ -29,6 +29,11 @@ module.exports = {
|
|||
'jsx-a11y',
|
||||
'jest',
|
||||
],
|
||||
settings: {
|
||||
react: {
|
||||
"version": "16.6",
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
'array-bracket-spacing': [ 'error', 'always' ],
|
||||
'arrow-parens': [ 'error', 'always' ],
|
||||
|
|
Loading…
Reference in New Issue