Skip to content

Commit eff21b4

Browse files
committed
re-add lint-staged
1 parent 119affb commit eff21b4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,12 @@
9797
"prettier": {
9898
"singleQuote": true,
9999
"arrowParens": "avoid"
100+
},
101+
"lint-staged": {
102+
"*.ts": [
103+
"eslint --fix",
104+
"prettier --write",
105+
"git add"
106+
]
100107
}
101108
}

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"skipLibCheck": true,
34
"target": "es2018",
45
"module": "esnext",
56
"moduleResolution": "bundler",

0 commit comments

Comments
 (0)