2020-06-04 19:22:21 +02:00
|
|
|
module.exports = {
|
2021-01-08 00:10:35 +02:00
|
|
|
// Don't compile when committing as it will process all TS files in the
|
|
|
|
// monorepo, which is too slow. Errors should be checked during development
|
|
|
|
// using `npm run watch`.
|
|
|
|
//
|
|
|
|
// Or if we add this back, we could do something like this:
|
|
|
|
// https://stackoverflow.com/a/44748041/561309
|
|
|
|
//
|
|
|
|
// The script would check where the TS file is located, then use the right
|
|
|
|
// tsconfig.json file along with the tsconfig override.
|
|
|
|
//
|
|
|
|
// '**/*.ts?(x)': () => 'npm run tsc',
|
2020-06-04 19:22:21 +02:00
|
|
|
'*.{js,jsx,ts,tsx}': [
|
2024-01-26 22:19:28 +02:00
|
|
|
'yarn checkIgnoredFiles',
|
|
|
|
// 'yarn checkLibPaths',
|
|
|
|
'yarn packageJsonLint',
|
|
|
|
'yarn linter-precommit',
|
2020-06-04 19:22:21 +02:00
|
|
|
],
|
|
|
|
};
|