-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (37 loc) · 1.04 KB
/
.eslintrc
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
---
# mostly for styles
rules:
quotes: [2, single, avoid-escape]
strict: [2, global]
block-spacing: [2, always]
brace-style: 2
camelcase: 2
comma-spacing: [2, {before: false, after: true}]
comma-style: [2, last]
computed-property-spacing: [2, never]
consistent-this: [2, self]
eol-last: 2
key-spacing: [2, {beforeColon: false, afterColon: true}]
indent: [2, 2, {SwitchCase: 1}]
max-len: [2, 100, 4]
new-parens: 2
no-inline-comments: 2
no-lonely-if: 2
no-multiple-empty-lines: [2, {max: 2}]
no-mixed-spaces-and-tabs: [2, smart-tabs]
no-spaced-func: 2
no-trailing-spaces: 2
no-multi-spaces: 2
no-shadow: 2
no-unused-vars: [2, {args: none}]
object-curly-spacing: [2, always]
operator-linebreak: [2, before, {overrides: {?: after}}]
padded-blocks: [2, never]
semi-spacing: [2, {before: false, after: true}]
semi: [2, always]
space-before-blocks: 2
space-in-parens: [2, never]
space-infix-ops: 2
space-unary-ops: [2, {words: true, nonwords: false}]
space-after-keywords: 2
space-before-keywords: 2