woocommerce/plugins/woocommerce-blocks/.eslintrc.js

23 lines
406 B
JavaScript

module.exports = {
extends: [ 'plugin:@wordpress/eslint-plugin/recommended', 'prettier' ],
env: {
'jest/globals': true,
},
globals: {
wc_product_block_data: true,
wcSettings: true,
},
plugins: [ 'jest' ],
rules: {
'@wordpress/dependency-group': 'off',
camelcase: [
'error',
{
allow: [ 'wc_product_block_data' ],
properties: 'never',
},
],
'valid-jsdoc': 'off',
},
};