Skip to content

Commit

Permalink
Update ESLint to v0.21 and add some rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Medeiros committed May 10, 2015
1 parent 228a039 commit ffa5ecf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"max-depth": [2, 5],
"complexity": [1, 8],
"indent": [2, 2],
"no-trailing-spaces": 2,
"no-trailing-spaces": [2, {"skipBlankLines": false}],
"one-var": [2, "never"],
"func-names": 2,
"key-spacing": [2, {
Expand Down Expand Up @@ -103,6 +103,7 @@
"max-params": [1, 3],
"no-var": true,
"semi": 2,
"dot-location": [2, "property"],
// Project specific rules
"amed-brace-style": 2
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"devDependencies": {
"babel": "5.2.x",
"babelify": "6.0.x",
"eslint": "^0.20.0",
"eslint": "^0.21.0",
"browserify": "10.1.1",
"markdox": "0.1.8",
"mocha": "2.2.4",
Expand Down

0 comments on commit ffa5ecf

Please sign in to comment.