Skip to content

Commit

Permalink
Enable stylelint on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeacom committed Apr 4, 2018
1 parent 7626d50 commit 477e80c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .stylelintignore
@@ -0,0 +1,2 @@
app/assets/v2/css/jquery.select2.min.css
app/assets/v2/css/bootstrap.min.css
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -16,6 +16,7 @@ install:
- pip install -r requirements/test.txt
script:
- npm run eslint
- npm run stylelint
- pytest -p no:ethereum
after_success:
- pip install codecov
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"eslint": "./node_modules/eslint/bin/eslint.js --quiet --config .eslintrc ./app/assets/v2/js/*.js ./app/assets/v2/js/**/*.js ./app/assets/legacy/v2/js/*.js ./app/assets/legacy/v2/js/**/*.js ./app/assets/yge/*.js ./app/assets/yge/youvegoteth/*.js",
"eslint:fix": "./node_modules/eslint/bin/eslint.js --quiet --fix --config .eslintrc ./app/assets/v2/js/*.js ./app/assets/v2/js/**/*.js ./app/assets/legacy/v2/js/*.js ./app/assets/legacy/v2/js/**/*.js ./app/assets/yge/*.js ./app/assets/yge/youvegoteth/*.js",
"stylelint": "stylelint ./app/assets/**/**/*.*css",
"stylelint": "stylelint ./app/assets/**/**/*.css",
"build": "webpack --config webpack.config.js --progress --colors"
},
"repository": {
Expand Down

0 comments on commit 477e80c

Please sign in to comment.