17 lines
355 B
JavaScript
17 lines
355 B
JavaScript
module.exports = {
|
|
extends: [ 'plugin:@wordpress/eslint-plugin/recommended', 'prettier' ],
|
|
env: {
|
|
'jest/globals': true,
|
|
},
|
|
globals: {
|
|
wcSettings: true,
|
|
},
|
|
plugins: [ 'jest', 'woocommerce' ],
|
|
rules: {
|
|
'@wordpress/dependency-group': 'off',
|
|
'woocommerce/dependency-group': 'error',
|
|
'valid-jsdoc': 'off',
|
|
yoda: [ 'error', 'never' ],
|
|
},
|
|
};
|