.eslintrc.yml
# ESLint config
# http://eslint.org/docs/user-guide/configuring
# https://jstools.dev/eslint-config/
root: true
extends: "@jsdevtools"
env:
node: true
rules:
# Prevent warnings about req, res, next params in middleware
no-unused-vars: off
# Prevent warnings about the CORS() middleware and express.Router()
new-cap: off
# Allow shadowing variables like err and req, res, next
no-shadow: off