29 lines
578 B
YAML
29 lines
578 B
YAML
env:
|
|
es6: true
|
|
node: true
|
|
|
|
extends:
|
|
- eslint:recommended
|
|
- prettier
|
|
- plugin:node/recommended
|
|
- plugin:security/recommended
|
|
|
|
plugins:
|
|
- node
|
|
- security
|
|
|
|
root: true
|
|
|
|
rules:
|
|
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
|
|
|
|
security/detect-non-literal-fs-filename: off
|
|
security/detect-object-injection: off
|
|
|
|
no-unused-vars: [error, {argsIgnorePattern: "^_|err|event|next|reject"}]
|
|
require-atomic-updates: warn
|