Skip to content

Commit

Permalink
chore(eslint): update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
suguru03 committed Nov 12, 2017
1 parent 4a074e8 commit 8abf1e6
Show file tree
Hide file tree
Showing 8 changed files with 634 additions and 419 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.git
build
dist
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ rules:
camelcase: "error"
comma-dangle: ["error", "never"]
comma-spacing: "error"
indent: ["error", 2]
indent: ["error", 2, { "MemberExpression": "off" }]
newline-per-chained-call: ["error"]
key-spacing: "error"
linebreak-style: ["error", "unix"]
new-cap: "error"
Expand Down
3 changes: 3 additions & 0 deletions benchmark/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
parserOptions:
ecmaVersion: 8
rules:
# Best Practices
no-return-assign: "off"
2 changes: 1 addition & 1 deletion benchmark/tasks/sortBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ module.exports = ({ Aigle, neoAsync }) => {
neoAsync: callback => {
neoAsync.sortByLimit(this.array, 8, this.neoAsyncIterator, callback);
}
},
}
};
};
3 changes: 3 additions & 0 deletions gulp/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
parserOptions:
ecmaVersion: 8
rules:
# Best Practices
no-return-assign: "off"
Loading

0 comments on commit 8abf1e6

Please # to comment.