Skip to content

Commit

Permalink
updates lint config
Browse files Browse the repository at this point in the history
Adds trailing spaces, mixed tabs/spaces, and missing semicolons as
errors. Also set to require 100% test coverage.
  • Loading branch information
Matt Hernandez committed Sep 8, 2015
1 parent 2076200 commit 99dc8d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@
"no-continue": 0,
"no-inline-comments": 0,
"no-lonely-if": 0,
"no-mixed-spaces-and-tabs": 0,
"no-mixed-spaces-and-tabs": 2,
"no-multiple-empty-lines": 0,
"no-nested-ternary": 0,
"no-new-object": 0,
"no-spaced-func": 0,
"no-ternary": 0,
"no-trailing-spaces": 0,
"no-trailing-spaces": 2,
"no-underscore-dangle": 2,
"one-var": 0,
"operator-assignment": 0,
Expand All @@ -188,7 +188,7 @@
"quote-props": 0,
"quotes": 0,
"semi-spacing": 0,
"semi": 0,
"semi": 2,
"sort-vars": 0,
"space-after-keywords": 0,
"space-before-blocks": 0,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"sinon": "1.16.1"
},
"scripts": {
"test": "lab --lint --coverage",
"test": "lab --lint --threshold 100",
"gen-coverage": "lab --coverage --reporter lcov --output coverage/lcov.info"
},
"main": "./lib/demeteorizer",
Expand Down

0 comments on commit 99dc8d1

Please sign in to comment.