Properly integrate standard JS tools for JS and TS code
[poolifier.git] / .lintstagedrc.js
1 module.exports = {
2 '**/*.{ts,tsx}': [
3 'prettier --write',
4 'ts-standard --fix',
5 'eslint --cache --fix'
6 ],
7 '**/*.{js,jsx,mjs,cjs}': ['prettier --write', 'eslint --cache --fix'],
8 '**/*.{json,md,yml,yaml}': ['prettier --write']
9 }