mirror of
https://github.com/funamitech/mastodon
synced 2024-12-18 16:48:37 +09:00
12 lines
351 B
JavaScript
12 lines
351 B
JavaScript
|
const config = {
|
||
|
'*': 'prettier --ignore-unknown --write',
|
||
|
'Capfile|Gemfile|*.{rb,ruby,ru,rake}':
|
||
|
'bundle exec rubocop --force-exclusion -a',
|
||
|
'*.{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;
|