forked from trivago/prettier-plugin-twig-melody
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.yml
43 lines (43 loc) · 882 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
---
extends:
- eslint:recommended
- plugin:prettier/recommended
- plugin:jest/recommended
plugins:
- import
root: true
env:
es6: true
node: true
jest: true
rules:
curly: error
import/no-extraneous-dependencies:
- error
- devDependencies: ["tests*/**", "scripts/**"]
no-else-return: error
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
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