woocommerce/plugins/woocommerce-admin/.eslintrc.js

21 lines
404 B
JavaScript
Raw Normal View History

module.exports = {
extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ],
plugins: [ 'import' ],
root: true,
overrides: [
{
2022-03-29 02:46:37 +00:00
files: [ 'client/**/*.js', 'client/**/*.jsx', 'client/**/*.tsx' ],
rules: {
'react/react-in-jsx-scope': 'off',
},
},
],
settings: {
'import/resolver': {
typescript: {
project: [ 'plugins/woocommerce-admin/tsconfig.json' ],
},
},
},
};