mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
* Split out lint staged config; lint tsc Per https://www.npmjs.com/package/lint-staged#using-js-configuration-files this is how to run `tsc` appropriately without passing it the config files (which doesn't work with `-p <>` which we also need to supply consistent tsc configuration). * suppress warnings
7 lines
230 B
JavaScript
7 lines
230 B
JavaScript
// eslint-disable-next-line import/no-default-export
|
|
export default {
|
|
'*.ts': [() => 'npm run ts-check'],
|
|
'*.[jt]s': ['npm run format-files --', 'npm run lint-files --'],
|
|
'*.{html,md}': ['npm run format-files --'],
|
|
};
|