Skip to content

Commit

Permalink
(YML) - Add the yaml linter
Browse files Browse the repository at this point in the history
* add yml linter script in package.json
    - npm run lint_yml
* add yml linter in the circle.yml tests
  • Loading branch information
Antonin Coulibaly authored and Antonin Coulibaly committed Feb 3, 2016
1 parent 4807690 commit d208033
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
extends: default
rules:
document-start: {level: error}
5 changes: 5 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ machine:
node:
version: 4.2

dependencies:
pre:
- sudo pip install yamllint

test:
override:
- npm run --silent lint_yml
- npm run --silent lint
- npm run --silent lint_md
- npm run --silent test

0 comments on commit d208033

Please sign in to comment.