chore: run eslint fix on lint staged (#743)
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
'**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts,mdx}': ['prettier --write'],
|
'**/*.{ts,tsx,cts,mts}': ['eslint --fix'],
|
||||||
'**/*.yml': ['prettier --write'],
|
'**/*.{js,jsx,cjs,mjs}': ['prettier --write'],
|
||||||
|
'**/*.{yml,mdx}': ['prettier --write'],
|
||||||
'**/*/package.json': ['npm run precommit'],
|
'**/*/package.json': ['npm run precommit'],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user