2024-01-12 20:09:57 +11:00
|
|
|
const config = {
|
|
|
|
'*': 'prettier --ignore-unknown --write',
|
2024-06-14 00:27:17 +10:00
|
|
|
'Capfile|Gemfile|*.{rb,ruby,ru,rake}': 'bin/rubocop --force-exclusion -a',
|
2024-01-12 20:09:57 +11:00
|
|
|
'*.{js,jsx,ts,tsx}': 'eslint --fix',
|
|
|
|
'*.{css,scss}': 'stylelint --fix',
|
|
|
|
'*.haml': 'bundle exec haml-lint -a',
|
|
|
|
'**/*.ts?(x)': () => 'tsc -p tsconfig.json --noEmit',
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = config;
|