woocommerce/plugins/woocommerce-admin/lint-staged.config.js

10 lines
245 B
JavaScript
Raw Normal View History

module.exports = {
'*.scss': [ 'npm run lint:css-fix' ],
'(client|packages)/**/*.js': [
'wp-scripts format-js',
'wp-scripts lint-js',
'npm run test-staged',
],
'*.php': [ 'php -d display_errors=1 -l', 'composer run-script phpcs' ],
};