25 lines
448 B
JavaScript
25 lines
448 B
JavaScript
module.exports = {
|
|
extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ],
|
|
root: true,
|
|
overrides: [
|
|
{
|
|
files: [ '**/*.js', '**/*.jsx', '**/*.tsx' ],
|
|
rules: {
|
|
'react/react-in-jsx-scope': 'off',
|
|
},
|
|
},
|
|
],
|
|
settings: {
|
|
'import/core-modules': [
|
|
'@wordpress/core-data',
|
|
'@wordpress/blocks',
|
|
'@woocommerce/expression-evaluation',
|
|
],
|
|
'import/resolver': {
|
|
node: {},
|
|
webpack: {},
|
|
typescript: {},
|
|
},
|
|
},
|
|
};
|