chore: run eslint fix on lint staged (#743)

This commit is contained in:
Lucas Smith
2023-12-09 12:37:13 +11:00
committed by GitHub

View File

@@ -1,5 +1,6 @@
module.exports = {
'**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts,mdx}': ['prettier --write'],
'**/*.yml': ['prettier --write'],
'**/*.{ts,tsx,cts,mts}': ['eslint --fix'],
'**/*.{js,jsx,cjs,mjs}': ['prettier --write'],
'**/*.{yml,mdx}': ['prettier --write'],
'**/*/package.json': ['npm run precommit'],
};