25 lines
518 B
YAML
25 lines
518 B
YAML
# plugins:
|
|
# - "prettier"
|
|
|
|
extends:
|
|
- "standard"
|
|
- "prettier"
|
|
|
|
parserOptions:
|
|
# Override eslint-config-standard, which incorrectly sets this to "module",
|
|
# though that setting is only for ES6 modules, not CommonJS modules.
|
|
sourceType: "script"
|
|
|
|
rules:
|
|
# prettier/prettier: "error"
|
|
|
|
# These are not disabled by eslint-config-prettier
|
|
spaced-comment: "off"
|
|
standard/object-curly-even-spacing: "off"
|
|
one-var: "off"
|
|
|
|
# Shields additions.
|
|
no-var: "error"
|
|
prefer-const: "error"
|
|
strict: "error"
|