Skip to content

Commit

Permalink
Added readlint dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Wildhoney committed Dec 16, 2018
1 parent 5276806 commit 2ccbdda
Show file tree
Hide file tree
Showing 4 changed files with 766 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ example/
media/
src/
terser.config.js
tests/
tests/
19 changes: 10 additions & 9 deletions .taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@

- name: test/lint
tasks:
- prettier --list-different '{src,tests,example}/**/*.{js,css}'
- prettier --list-different '*.{js,json}'
- - eslint "{src,tests,example}/**/**.js"
- - stylelint "example/**/**.css"
- - rm -rf es/
- - - NODE_ENV=production yarn build
- - - - (cd es/production && tar -zcf ../../build.tar.gz .)
- - - - - fslint --files=build.tar.gz --limit=5500 || rm -rf build.tar.gz es/
- - - - - - rm -rf build.tar.gz es/
- readlint
- - prettier --list-different '{src,tests,example}/**/*.{js,css}'
- - prettier --list-different '*.{js,json}'
- - - eslint "{src,tests,example}/**/**.js"
- - - stylelint "example/**/**.css"
- - - rm -rf es/
- - - - NODE_ENV=production yarn build
- - - - - (cd es/production && tar -zcf ../../build.tar.gz .)
- - - - - - fslint --files=build.tar.gz --limit=5500 || rm -rf build.tar.gz es/
- - - - - - - rm -rf build.tar.gz es/

- name: test/spec
task: NODE_ENV=test nyc ava
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"nodemon": "^1.18.7",
"nyc": "^13.1.0",
"prettier": "^1.15.3",
"readlint": "^0.4.0",
"sinon": "^7.1.1",
"starwars": "^1.0.0",
"stylelint": "^9.9.0",
Expand Down
Loading

0 comments on commit 2ccbdda

Please sign in to comment.