1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-14 07:02:30 +01:00
send/.eslintrc.yml

40 lines
936 B
YAML
Raw Normal View History

2017-06-07 20:26:40 +02:00
env:
browser: true
es6: true
jquery: true
2017-06-20 19:21:11 +02:00
mocha: true
2017-06-07 20:26:40 +02:00
node: true
extends:
- eslint:recommended
- plugin:node/recommended
plugins:
- node
- security
root: true
rules:
security/detect-buffer-noassert: warn
security/detect-child-process: warn
security/detect-disable-mustache-escape: warn
security/detect-eval-with-expression: warn
security/detect-new-buffer: warn
security/detect-no-csrf-before-method-override: warn
security/detect-non-literal-fs-filename: warn
security/detect-non-literal-regexp: warn
security/detect-non-literal-require: warn
security/detect-possible-timing-attacks: warn
security/detect-pseudoRandomBytes: warn
security/detect-unsafe-regex: warn
eqeqeq: error
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
quotes: [error, single]