updated eslint config

This commit is contained in:
Danny Coates 2019-08-02 12:03:53 -07:00
parent 20c063db7c
commit f036df5f47
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
9 changed files with 30 additions and 16 deletions

View file

@ -4,6 +4,7 @@ env:
extends:
- eslint:recommended
- prettier
- plugin:node/recommended
- plugin:security/recommended
@ -22,13 +23,5 @@ rules:
security/detect-non-literal-fs-filename: off
security/detect-object-injection: off
eol-last: [error, always]
eqeqeq: error
no-alert: warn
no-console: warn
no-path-concat: error
no-unused-vars: [error, {argsIgnorePattern: "^_|err|event|next|reject"}]
no-var: error
one-var: [error, never]
prefer-const: error
quotes: [error, single, {avoidEscape: true}]
require-atomic-updates: warn