Skip to content

Commit

Permalink
update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
zoubin committed May 31, 2016
1 parent f8d02f4 commit 8267881
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ rules:
use-isnan: 2
valid-typeof: 2
no-unexpected-multiline: 2
no-cond-assign: 2
no-constant-condition: 2
no-control-regex: 2
no-debugger: 2
# code style
consistent-return: 0
curly: 2
curly: [2, "multi-line"]
default-case: 2
dot-notation: 2
dot-location: [2, "property"]
Expand Down Expand Up @@ -76,7 +75,6 @@ rules:
quote-props: [2, "as-needed"]
quotes: [2, "single", "avoid-escape"]
semi: [2, "never"]
space-after-keywords: 2
keyword-spacing: 2
space-before-blocks: 2
space-infix-ops: 2
space-return-throw-case: 2
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules
/node_modules/
.DS_Store
npm-debug.log
build/
coverage/
.nyc_output/
6 changes: 4 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
example
test
npm-debug.log
changelog.md
coverage/
example/
test/
.*
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: node_js
node_js:
- "stable"
- "5"
- "4"
- "0.12"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"through2": "^2.0.0"
},
"devDependencies": {
"eslint": "^1.10.1",
"eslint": "^2.0.0",
"tape": "^4.2.2",
"task-tape": "^1.2.2"
}
Expand Down

0 comments on commit 8267881

Please sign in to comment.