1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-08 20:22:45 +01:00
send/.eslintrc.yml

32 lines
589 B
YAML
Raw Normal View History

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