Skip to content

Commit b50cf2f

Browse files
committedNov 7, 2020
add tslintt
1 parent 76e4fac commit b50cf2f

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/node_modules
2+
/dist
23
yarn.lock
34
yarn-error.log

‎package.json

+3
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@
77
"@types/node": "^14.14.6",
88
"tslint": "^6.1.3",
99
"typescript": "^4.0.5"
10+
},
11+
"scripts":{
12+
"start": "tsc -p src/index.ts"
1013
}
1114
}

‎tslint.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"defaultSeverity": "error",
3+
"extends":[
4+
"tsling:recommended"
5+
],
6+
"rules":{
7+
"semicolon": false,
8+
"trailing-comma": false
9+
}
10+
}

0 commit comments

Comments
 (0)
Please sign in to comment.