forked from projectfluent/fluent.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint-base.yaml
72 lines (72 loc) · 1.54 KB
/
eslint-base.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
rules:
valid-typeof: 2
no-console: 1
no-dupe-args: 2
no-dupe-keys: 2
no-duplicate-case: 2
no-extra-semi: 1
no-func-assign: 2
func-call-spacing: [2, never]
no-unreachable: 1
no-unexpected-multiline: 2
no-sparse-arrays: 2
dot-location: [2, property]
no-implied-eval: 2
no-loop-func: 2
no-useless-call: 2
no-useless-concat: 2
no-delete-var: 2
no-shadow: 2
no-undef: 2
no-undef-init: 2
no-unused-vars: 1
consistent-return: 1
curly: [2, multi-line]
eqeqeq: 2
no-extend-native: 2
no-global-assign: 2
no-extra-bind: 2
array-bracket-spacing: 2
brace-style: [1, 1tbs]
no-mixed-spaces-and-tabs: 2
no-tabs: 2
prefer-arrow-callback: 1
prefer-template: 2
prefer-spread: 2
quotes: [2, double, avoidEscape: true]
max-depth: [2, 6]
max-len: [2, 80]
no-nested-ternary: 2
no-unneeded-ternary: 2
strict: [2, global]
indent: [2, 2, SwitchCase: 1]
no-useless-escape: 2
no-duplicate-imports: 2
no-unsafe-negation: 2
no-use-before-define: [2, { functions: false, classes: false }]
space-infix-ops: 2
no-constant-condition: [1, checkLoops: false]
no-empty: 1
use-isnan: 2
dot-notation: 2
no-caller: 2
no-else-return: 2
no-eval: 2
no-implicit-globals: 2
no-iterator: 2
no-multi-spaces: 2
no-multi-str: 2
no-octal: 2
no-proto: 2
no-sequences: 2
block-spacing: 2
eol-last: 2
key-spacing: 2
no-trailing-spaces: 2
prefer-rest-params: 2
no-cond-assign: 2
keyword-spacing: 2
arrow-parens: [2, as-needed]
no-useless-return: 2
semi: 2
spaced-comment: [2, always]