fix: lint-staged for .mjs (#1652)

This commit is contained in:
Himself65 2023-03-21 23:59:01 -05:00 committed by GitHub
parent e2395af827
commit 80b04fe97f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@
}, },
"lint-staged": { "lint-staged": {
"*": "prettier --write --ignore-unknown", "*": "prettier --write --ignore-unknown",
"*.{ts,tsx,js,jsx}": "eslint --cache --fix" "*.{ts,tsx,mjs,js,jsx}": "eslint --cache --fix"
}, },
"devDependencies": { "devDependencies": {
"@affine/cli": "workspace:*", "@affine/cli": "workspace:*",