2017-06-07 20:26:40 +02:00
|
|
|
env:
|
|
|
|
es6: true
|
|
|
|
node: true
|
|
|
|
|
|
|
|
extends:
|
|
|
|
- eslint:recommended
|
2019-08-02 21:03:53 +02:00
|
|
|
- prettier
|
2022-09-04 12:26:10 +02:00
|
|
|
- plugin:node/recommended
|
2017-06-20 21:18:14 +02:00
|
|
|
- plugin:security/recommended
|
2017-06-07 20:26:40 +02:00
|
|
|
|
|
|
|
plugins:
|
2022-09-04 12:26:10 +02:00
|
|
|
- node
|
2017-06-07 20:26:40 +02:00
|
|
|
- security
|
|
|
|
|
|
|
|
root: true
|
|
|
|
|
|
|
|
rules:
|
2022-09-04 12:26:10 +02:00
|
|
|
node/no-deprecated-api: off
|
|
|
|
node/no-unsupported-features/es-syntax: off
|
|
|
|
node/no-unsupported-features/node-builtins: off
|
|
|
|
node/no-unpublished-require: off
|
|
|
|
node/no-unpublished-import: off
|
2017-06-20 21:18:14 +02:00
|
|
|
|
|
|
|
security/detect-non-literal-fs-filename: off
|
|
|
|
security/detect-object-injection: off
|
2017-06-07 20:26:40 +02:00
|
|
|
|
2017-06-09 19:44:12 +02:00
|
|
|
no-unused-vars: [error, {argsIgnorePattern: "^_|err|event|next|reject"}]
|
2019-08-02 21:03:53 +02:00
|
|
|
require-atomic-updates: warn
|