Fix a bunch of ESLint and HTMLLint errors
This commit is contained in:
parent
99d7196799
commit
74c41897ad
11 changed files with 669 additions and 806 deletions
|
@ -1,13 +1,11 @@
|
|||
env:
|
||||
browser: true
|
||||
es6: true
|
||||
jquery: true
|
||||
mocha: true
|
||||
node: true
|
||||
|
||||
extends:
|
||||
- eslint:recommended
|
||||
- plugin:node/recommended
|
||||
- plugin:security/recommended
|
||||
|
||||
plugins:
|
||||
- node
|
||||
|
@ -16,18 +14,10 @@ plugins:
|
|||
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
|
||||
node/no-unpublished-require: off
|
||||
|
||||
security/detect-non-literal-fs-filename: off
|
||||
security/detect-object-injection: off
|
||||
|
||||
eqeqeq: error
|
||||
no-console: warn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue