Skip to content

Commit 8af48c3

Browse files
chore(lint): add markdownlint, use lint instead of lint:ts witin ci
1 parent 6d4fd06 commit 8af48c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ script:
77
- yarn install
88
- commitlint-travis
99
- yarn license
10-
- yarn lint:ts
10+
- yarn lint
1111
- yarn code:build
1212
- yarn test:all

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"license": "license-checker --onlyAllow 'Apache-2.0; Apache License, Version 2.0; BSD; BSD-2-Clause; BSD-3-Clause; ISC; MIT; Unlicense; WTFPL; CC-BY-3.0; CC0-1.0' --production",
1111
"type-check:watch": "npm run type-check -- --watch",
1212
"lint:ts": "eslint . --ext .js,.ts",
13-
"lint": "yarn type-check && npm run lint:ts",
13+
"lint": "yarn type-check && yarn lint:ts && markdownlint README.md",
1414
"prepublish": "in-publish && yarn lint && yarn code:build || not-in-publish",
1515
"release:major": "changelog -M && git commit -a -m 'docs: updated CHANGELOG.md' && yarn version --major && git push origin && git push origin --tags",
1616
"release:minor": "changelog -m && git commit -a -m 'docs: updated CHANGELOG.md' && yarn version --minor && git push origin && git push origin --tags",

0 commit comments

Comments
 (0)