Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 12 additions & 15 deletions .eslintrc → .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
parser: babel-eslint
env:
node: true
mocha: true
es6: true
parserOptions:
ecmaVersion: 6
Expand All @@ -21,8 +23,7 @@ rules:
indent:
- error
- 4
-
SwitchCase: 1
- SwitchCase: 1
space-before-function-paren:
- error
- never
Expand All @@ -33,9 +34,8 @@ rules:
consistent-return: error
no-multiple-empty-lines:
- error
-
max: 1
maxBOF: 0
- max: 1
maxBOF: 0
no-lonely-if: error
new-parens: error
eol-last: error
Expand All @@ -45,20 +45,17 @@ rules:
- as-needed
prefer-arrow-callback:
- error
-
allowNamedFunctions: true
- allowNamedFunctions: true
prefer-destructuring:
- error
-
object: true
array: false
- object: true
array: false
prefer-spread: error
prefer-rest-params: error
prefer-promise-reject-errors: 0
valid-typeof: 0
overrides:
-
files:
- "*.spec.js"
env:
mocha: true
- files:
- "*.spec.js"
env:
mocha: true
3 changes: 0 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ gulp.task('lint', () => {
.pipe(
eslint({
fix: true,
envs: [
'node'
]
})
)
.pipe(eslint.format())
Expand Down