Skip to content

Commit 8ef398f

Browse files
committed
chore: lint ts files before commit
1 parent fd7f1b7 commit 8ef398f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"test": "vitest run",
4040
"test:watch": "vitest"
4141
},
42+
"l10n": "./l10n",
4243
"contributes": {
4344
"commands": [
4445
{
@@ -319,7 +320,8 @@
319320
"nano-staged": {
320321
"*.{ts,md}": [
321322
"prettier --write"
322-
]
323+
],
324+
"*.ts": "eslint --fix"
323325
},
324326
"dependencies": {
325327
"rattail": "^1.0.18"
@@ -344,6 +346,5 @@
344346
"engines": {
345347
"vscode": "^1.74.3"
346348
},
347-
"icon": "resources/logo.png",
348-
"l10n": "./l10n"
349-
}
349+
"icon": "resources/logo.png"
350+
}

0 commit comments

Comments
 (0)