ProToots/.eslintrc.yaml
2023-06-21 15:14:36 +02:00

20 lines
312 B
YAML

env:
browser: true
es2021: true
node: true
extends:
- "eslint:recommended"
- "prettier"
parserOptions:
ecmaVersion: latest
sourceType: "module"
rules:
no-console: error
camelcase: warn
consistent-return: warn
dot-notation: warn
func-style: ["warn", "declaration"]
prefer-const: warn