Skip to content

Commit 898a392

Browse files
chore: rename script dtslint to lint:dts in package.json
And update README
1 parent 7c9ab9d commit 898a392

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ Lint files:
267267

268268
```sh
269269
$ npm run lint
270-
$ npm run dtslint
271270
```
272271

273272
Fix lint errors:
@@ -276,6 +275,12 @@ Fix lint errors:
276275
$ npm run lint:fix
277276
```
278277

278+
Test TypeScript declaration file for style and correctness:
279+
280+
```sh
281+
$ npm run lint:dts
282+
```
283+
279284
## Benchmarks
280285

281286
```sh

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"clean": "rimraf dist",
1313
"coveralls": "nyc report --reporter=text-lcov | coveralls",
1414
"lint": "eslint --ignore-path .gitignore --ignore-pattern /examples/ .",
15+
"lint:dts": "dtslint .",
1516
"lint:fix": "npm run lint -- --fix",
16-
"dtslint": "dtslint .",
1717
"prepublishOnly": "npm run lint && npm run dtslint && npm test && npm run build",
1818
"release": "standard-version --no-verify",
1919
"test": "mocha",

0 commit comments

Comments
 (0)