joplin/lint-staged.config.js

8 lines
130 B
JavaScript

module.exports = {
'**/*.ts?(x)': () => 'npm run tsc',
'*.{js,jsx,ts,tsx}': [
'npm run linter-precommit',
'git add',
],
};