mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
fix: lint-staged for typescript files
This commit is contained in:
@@ -83,8 +83,8 @@
|
|||||||
"npm": ">=7.0.0"
|
"npm": ">=7.0.0"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts",
|
"*.{mjs,js}": "eslint --fix --ext mjs,js,ts",
|
||||||
"*.{json,yml,yaml}": "prettier --write"
|
"*.{ts,json,yml,yaml}": "prettier --write"
|
||||||
},
|
},
|
||||||
"commitlint": {
|
"commitlint": {
|
||||||
"extends": [
|
"extends": [
|
||||||
|
|||||||
Reference in New Issue
Block a user