1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-08 20:22:45 +01:00
send/.eslintrc.yml
AaronDewes 38746b86fd Update eslint & plugins
Also replace eslint-plugin-node with the maintained eslint-plugin-n
2022-08-09 15:26:25 +00:00

32 lines
722 B
YAML

env:
es6: true
node: true
extends:
- eslint:recommended
- prettier
- plugin:n/recommended
- plugin:security/recommended
plugins:
- n
- security
root: true
rules:
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
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