Skip to content

Commit 61873ca

Browse files
author
Raphaël Benitte
committed
test(lint): add script to run tslint
1 parent 550287c commit 61873ca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_js:
55
before_script:
66
- yarn install
77
script:
8+
- yarn lint
89
- yarn test
910

1011

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"start": "react-scripts-ts start",
3939
"build": "react-scripts-ts build",
4040
"test": "react-scripts-ts test --env=jsdom",
41+
"lint": "tslint -c tslint.json 'src/**/*.ts'",
4142
"demo:publish": "PUBLIC_URL=https://plouc.github.io/wiremock-ui yarn run build && node scripts/publish_demo.js",
4243
"demo:pub": "yarn run demo:publish"
4344
}

0 commit comments

Comments
 (0)