forked from generative-design/Code-Package-p5.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
56 lines (56 loc) · 1.22 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"env": {
"browser": true
},
"rules": {
"semi": "error",
"no-eval": "error",
"indent": [
"error",
2
],
"quotes": [
"error",
"single"
],
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxEOF": 1,
"maxBOF": 0
}
],
"no-mixed-spaces-and-tabs": "error",
"no-tabs": "error",
"no-trailing-spaces": "error",
"semi-style": [
"error",
"last"
],
"spaced-comment": "error",
"switch-colon-spacing": [
"error",
{
"after": true,
"before": false
}
],
"space-infix-ops": "error",
"no-multi-spaces": "error",
"space-in-parens": [
"error",
"never"
],
"space-unary-ops": "error",
"brace-style": "error",
"eol-last": "error",
"comma-dangle": [
"error",
"never"
],
"func-call-spacing": "error",
"key-spacing": "error",
"keyword-spacing": "error"
}
}