Skip to content

Commit bd3402f

Browse files
authored
chore(deps): update eslint to v5 (#13)
BREAKING CHANGE: use ESLint v5 as the peerDependencies
1 parent 31ca82b commit bd3402f

File tree

5 files changed

+177
-118
lines changed

5 files changed

+177
-118
lines changed

lib/base.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,15 @@ module.exports = {
5555
// no-useless-escape
5656

5757
// Possible Errors
58-
"for-direction": "error",
59-
"getter-return": [
60-
"error",
61-
{
62-
allowImplicit: true
63-
}
64-
],
6558
"no-extra-parens": ["error", "functions"],
6659
"valid-typeof": [
6760
"error",
6861
{
6962
requireStringLiterals: true
7063
}
7164
],
65+
// for-direction
66+
// getter-return
7267
// no-compare-neg-zero
7368
// no-cond-assign
7469
// no-constant-condition
@@ -283,6 +278,7 @@ module.exports = {
283278
// no-implicit-coercion
284279
// no-labels
285280
// no-magic-numbers
281+
// max-classes-per-file
286282
// no-native-reassign (deprecated)
287283
// no-new
288284
// no-restricted-properties
@@ -334,6 +330,7 @@ module.exports = {
334330
// lines-around-directive
335331
// lines-between-class-members
336332
// max-lines
333+
// max-lines-per-function
337334
// max-nested-callbacks
338335
// max-params
339336
// max-statements-per-line
@@ -348,6 +345,7 @@ module.exports = {
348345
// no-inline-comments
349346
// no-multi-assign
350347
// no-negated-condition
348+
// prefer-object-spread
351349
// no-plusplus
352350
// no-restricted-syntax
353351
// no-ternary

0 commit comments

Comments
 (0)