forked from postcss/postcss-custom-properties
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
34 lines (28 loc) · 842 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
root: true
extends: eslint:recommended
parserOptions:
ecmaVersion: 6
sourceType: "module"
rules:
indent: [2, 2] # 2 spaces indentation
max-len: [2, 80, 4]
quotes: [2, "double"]
semi: [2, "never"]
no-multiple-empty-lines: [2, {"max": 1}]
brace-style: [2, "stroustrup"]
comma-dangle: [2, "always-multiline"]
comma-style: [2, "last"]
dot-location: [2, "property"]
one-var: [2, "never"]
no-var: [2]
prefer-const: [2]
no-bitwise: [2]
object-curly-spacing: [2, "never"]
array-bracket-spacing: [2, "never"]
computed-property-spacing: [2, "never"]
space-unary-ops: [2, {"words": true, "nonwords": false}]
keyword-spacing: [2, {"before": true, "after": true}]
space-before-blocks: [2, "always"]
space-before-function-paren: [2, "never"]
space-in-parens: [2, "never"]
spaced-comment: [2, "always"]