Skip to content

Commit 7003f6d

Browse files
authored
Merge pull request #26 from dronedeploy/add-project-to-lint-staged
add --project to lint
2 parents 990b703 + f9cab71 commit 7003f6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.lintstagedrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"*.ts": [
33
"prettier --write --config ./node_modules/ddts/.prettierrc.yml",
44
"git add",
5-
"tslint --fix",
5+
"tslint --fix --project tsconfig.json",
66
"git add"
77
],
88
"*.scss": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ddts",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"main": "tslint.json",
55
"scripts": {
66
"postinstall": "npm run compilerules; ./install-hooks",

0 commit comments

Comments
 (0)