send/.eslintrc.yml

35 lines
715 B
YAML
Raw Normal View History

2017-06-07 18:26:40 +00:00
env:
es6: true
node: true
extends:
- eslint:recommended
- plugin:node/recommended
- plugin:security/recommended
2017-06-07 18:26:40 +00:00
plugins:
- node
- security
root: true
rules:
node/no-deprecated-api: off
node/no-unsupported-features/es-syntax: off
2018-11-02 22:42:25 +00:00
node/no-unsupported-features/node-builtins: off
node/no-unpublished-require: off
security/detect-non-literal-fs-filename: off
security/detect-object-injection: off
2017-06-07 18:26:40 +00:00
2017-07-31 07:01:00 +00:00
eol-last: [error, always]
2017-06-07 18:26:40 +00:00
eqeqeq: error
2017-08-01 06:59:18 +00:00
no-alert: warn
2017-06-07 18:26:40 +00:00
no-console: warn
no-path-concat: error
2017-06-09 17:44:12 +00:00
no-unused-vars: [error, {argsIgnorePattern: "^_|err|event|next|reject"}]
2017-06-07 18:26:40 +00:00
no-var: error
one-var: [error, never]
prefer-const: error
2017-07-14 21:44:56 +00:00
quotes: [error, single, {avoidEscape: true}]