Skip to content

Commit 3c42b10

Browse files
committed
Merge TSLints for src and tests
1 parent 1ecbb4c commit 3c42b10

File tree

3 files changed

+3
-28
lines changed

3 files changed

+3
-28
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"compile": "rm -rf lib && ./node_modules/.bin/tsc -p ./src",
99
"test": "jest",
1010
"test:watch": "jest --watch",
11-
"tslint": "./node_modules/tslint/bin/tslint -c tslint.json 'src/**/*.ts'",
12-
"test:tslint": "./node_modules/tslint/bin/tslint -c test/tslint.json 'test/**/*.ts'"
11+
"lint": "./node_modules/tslint/bin/tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'"
1312
},
1413
"author": "[email protected]",
1514
"license": "ISC",

test/tslint.json

-25
This file was deleted.

tslint.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"prefer-template": true,
1919
"semicolon": [true, "always", "ignore-bound-class-methods"],
2020
"ban-types": false,
21-
"no-string-literal": false
21+
"no-string-literal": false,
22+
"max-classes-per-file": false
2223
},
2324
"rulesDirectory": []
2425
}

0 commit comments

Comments
 (0)