forked from trivago/prettier-plugin-twig-melody
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.yml
47 lines (47 loc) · 993 Bytes
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
extends:
- eslint:recommended
- plugin:prettier/recommended
- plugin:prettier-doc/recommended
plugins:
- import
root: true
env:
es6: true
node: true
parserOptions:
ecmaVersion: 2024
sourceType: module
rules:
curly: error
import/no-extraneous-dependencies:
- error
- devDependencies: ["tests*/**", "scripts/**"]
no-else-return: error
no-fallthrough: off
no-inner-declarations: error
no-unneeded-ternary: error
no-debugger: off
no-unused-vars: off
no-console: off
no-useless-return: error
no-var: error
one-var:
- error
- never
prefer-arrow-callback: error
prefer-const: error
prettier-doc/no-concat: error
react/no-deprecated: off
strict: off
symbol-description: error
yoda:
- error
- never
- exceptRange: true
overrides:
- files: "tests/**/*.js"
rules:
strict: off
globals:
run_spec: true