2017-06-07 18:26:40 +00:00
|
|
|
env:
|
|
|
|
es6: true
|
|
|
|
node: true
|
|
|
|
|
|
|
|
extends:
|
|
|
|
- eslint:recommended
|
2019-08-02 19:03:53 +00:00
|
|
|
- prettier
|
2022-08-09 15:26:25 +00:00
|
|
|
- plugin:n/recommended
|
2017-06-20 19:18:14 +00:00
|
|
|
- plugin:security/recommended
|
2017-06-07 18:26:40 +00:00
|
|
|
|
|
|
|
plugins:
|
2022-08-09 15:26:25 +00:00
|
|
|
- n
|
2017-06-07 18:26:40 +00:00
|
|
|
- security
|
|
|
|
|
|
|
|
root: true
|
|
|
|
|
|
|
|
rules:
|
2022-08-09 15:26:25 +00:00
|
|
|
n/no-deprecated-api: off
|
|
|
|
n/no-unsupported-features/es-syntax: off
|
|
|
|
n/no-unsupported-features/node-builtins: off
|
|
|
|
n/no-unpublished-require: off
|
|
|
|
n/no-unpublished-import: off
|
|
|
|
n/no-process-exit: off
|
|
|
|
# This forces using file extensions in imports, which is a best practice, but refactoring would take some time
|
|
|
|
n/no-missing-import: off
|
2017-06-20 19:18:14 +00:00
|
|
|
|
|
|
|
security/detect-non-literal-fs-filename: off
|
|
|
|
security/detect-object-injection: off
|
2017-06-07 18:26:40 +00:00
|
|
|
|
2017-06-09 17:44:12 +00:00
|
|
|
no-unused-vars: [error, {argsIgnorePattern: "^_|err|event|next|reject"}]
|
2019-08-02 19:03:53 +00:00
|
|
|
require-atomic-updates: warn
|