Files
start-os/frontend/lint-staged.config.js

9 lines
352 B
JavaScript

module.exports = {
'**/*.{js,ts,html,md,json}': 'prettier --write',
'*.ts': 'tslint --fix',
'projects/ui/**/*.ts': () => 'npm run check:ui',
'projects/shared/**/*.ts': () => 'npm run check:shared',
'projects/diagnostic-ui/**/*.ts': () => 'npm run check:diagnostic-ui',
'projects/setup-wizard/**/*.ts': () => 'npm run check:setup-wizard',
}