Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Node 8 standards to linter #1313

Merged
merged 4 commits into from
May 29, 2019
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Tweak ESLint config
  • Loading branch information
ace-n committed May 23, 2019
commit 1c3fd07c29b99fbd968aeb786cd2c5e6563a7929
7 changes: 4 additions & 3 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
extends:
- 'eslint:recommended'
- 'plugin:node/recommended'
- 'plugin:promise'
- prettier
- 'prettier'
env:
mocha: true
plugins:
- node
- prettier
- promise
rules:
prettier/prettier: error
block-scoped-var: error
Expand All @@ -22,5 +22,6 @@ rules:
prefer-arrow-callback: error
no-throw-literal: error
require-await: error
prefer-await-to-then: error
promise/prefer-await-to-then: error
promise/no-nesting: error
prefer-destructuring: error