joplin/lint-staged.config.js

8 lines
122 B
JavaScript

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