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

14 lines
307 B
JavaScript

module.exports = {
extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ],
root: true,
overrides: [
{
files: [ 'client/**/*.js', 'client/**/*.jsx', 'client/**/*.tsx' ],
rules: {
'react/react-in-jsx-scope': 'off',
'@typescript-eslint/no-use-before-define': 'warn',
},
},
],
};