File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,6 @@ Lint files:
267
267
268
268
``` sh
269
269
$ npm run lint
270
- $ npm run dtslint
271
270
```
272
271
273
272
Fix lint errors:
@@ -276,6 +275,12 @@ Fix lint errors:
276
275
$ npm run lint:fix
277
276
```
278
277
278
+ Test TypeScript declaration file for style and correctness:
279
+
280
+ ``` sh
281
+ $ npm run lint:dts
282
+ ```
283
+
279
284
## Benchmarks
280
285
281
286
``` sh
Original file line number Diff line number Diff line change 12
12
"clean" : " rimraf dist" ,
13
13
"coveralls" : " nyc report --reporter=text-lcov | coveralls" ,
14
14
"lint" : " eslint --ignore-path .gitignore --ignore-pattern /examples/ ." ,
15
+ "lint:dts" : " dtslint ." ,
15
16
"lint:fix" : " npm run lint -- --fix" ,
16
- "dtslint" : " dtslint ." ,
17
17
"prepublishOnly" : " npm run lint && npm run dtslint && npm test && npm run build" ,
18
18
"release" : " standard-version --no-verify" ,
19
19
"test" : " mocha" ,
You can’t perform that action at this time.
0 commit comments