Skip to content

Commit

Permalink
Adding scss formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
mtlynch committed Dec 14, 2017
1 parent 811fec1 commit a50923f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -25,6 +25,7 @@ install:
# Disable the spinner; it looks bad on Travis.
- npm config set spin false
- npm install
- npm install -g scssfmt
script:
- ./build
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -10,7 +10,7 @@
"lint": "ng lint",
"e2e": "ng e2e",
"update-deps": "npm update",
"travis": "npm run lint && ng test --no-watch --code-coverage"
"travis": "npm run lint && scssfmt --recursive 'src/**/**/*.scss' --diff && ng test --no-watch --code-coverage"
},
"private": true,
"dependencies": {
Expand Down
4 changes: 3 additions & 1 deletion src/styles/_global.scss
Expand Up @@ -39,7 +39,9 @@ button {
text-transform: uppercase;
}

a:link, a:active, a:visited {
a:link,
a:active,
a:visited {
text-decoration: none;
cursor: pointer;
color: inherit;
Expand Down

0 comments on commit a50923f

Please sign in to comment.