mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-14 07:02:30 +01:00
32 lines
589 B
YAML
32 lines
589 B
YAML
env:
|
|
es6: true
|
|
node: true
|
|
|
|
extends:
|
|
- eslint:recommended
|
|
- plugin:node/recommended
|
|
- plugin:security/recommended
|
|
|
|
plugins:
|
|
- node
|
|
- security
|
|
|
|
root: true
|
|
|
|
rules:
|
|
node/no-unpublished-require: off
|
|
|
|
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}]
|