Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit b024b5b

Browse files
committed
chore(travis): run linter on Travis
1 parent af92698 commit b024b5b

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

β€Ž.prettierignoreβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
node_modules/
22
build/
33
styleguide/
4+
package.json
5+
CHANGELOG.json

β€Ž.travis.ymlβ€Ž

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: node_js
2+
3+
node_js:
4+
- 8
5+
6+
script:
7+
- yarn ci
8+
9+
notifications:
10+
email: false
11+
12+
cache:
13+
yarn: true
14+
directories:
15+
- "node_modules"

β€Žpackage.jsonβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
"build:lib": "cross-env BABEL_ENV=lib babel --out-dir build src",
1414
"build:rollup": "cross-env BABEL_ENV=rollup rollup -c",
1515
"build:watch": "yarn build:lib --watch",
16+
"ci": "yarn lint",
1617
"deploy:docs": "firebase deploy",
1718
"dev": "styleguidist server",
19+
"lint": "eslint .",
1820
"prebuild": "shx rm -rf dist/*",
1921
"release": "standard-version && conventional-github-releaser -p angular && yarn build && yarn deploy:docs"
2022
},

0 commit comments

Comments
Β (0)