Skip to content
This repository was archived by the owner on Jul 15, 2021. It is now read-only.

Commit e7d6e4b

Browse files
committed
Merge branch 'release/2.0.2'
2 parents 0fe07fc + 7dfd238 commit e7d6e4b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1032
-885
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
}
3030
},
3131
"ignore": [
32-
"src/grammar-parser/grammar-parser.js"
32+
3333
]
3434
}

.eslintrc

Lines changed: 176 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,183 @@
11
{
22
"parser": "babel-eslint",
3-
"rules": {
4-
"strict": 0,
5-
"quotes": [2, "single"]
6-
},
3+
"extends": "airbnb-base",
74
"env": {
85
"browser": true,
96
"node": true
7+
},
8+
"globals": {},
9+
"rules": {
10+
"class-methods-use-this": 0,
11+
"no-undef": 0,
12+
"new-cap": 2,
13+
"newline-per-chained-call": 1,
14+
"no-eq-null": 1,
15+
"no-irregular-whitespace": 2,
16+
"no-mixed-spaces-and-tabs": 2,
17+
"no-multi-str": 2,
18+
"no-multiple-empty-lines": 2,
19+
"no-new": 2,
20+
"no-param-reassign": 0,
21+
"no-plusplus": 0,
22+
"no-restricted-properties": 0,
23+
"no-restricted-syntax": 1,
24+
"no-shadow": 1,
25+
"no-spaced-func": 2,
26+
"no-trailing-spaces": 2,
27+
"no-underscore-dangle": 0,
28+
"no-unused-vars": 1,
29+
"no-void": 0,
30+
"no-with": 2,
31+
"object-curly-spacing": 0,
32+
"object-shorthand": 1,
33+
"padded-blocks": 0,
34+
"prefer-arrow-callback": 1,
35+
"prefer-const": 0,
36+
"prefer-rest-params": 1,
37+
"prefer-spread": 1,
38+
"prefer-template": 1,
39+
"space-infix-ops": 2,
40+
"arrow-body-style": [
41+
2,
42+
"as-needed"
43+
],
44+
"camelcase": [
45+
2,
46+
{
47+
"properties": "never"
48+
}
49+
],
50+
"curly": [
51+
2,
52+
"all"
53+
],
54+
"no-mixed-operators": [
55+
2,
56+
"groups": [
57+
["+", "-", "*", "/", "%", "**"]
58+
]
59+
],
60+
"arrow-parens": [
61+
2,
62+
"always",
63+
{
64+
"requireForBlockBody": true
65+
}
66+
],
67+
"no-unneeded-ternary": [
68+
2,
69+
{
70+
"defaultAssignment": true
71+
}
72+
],
73+
"no-confusing-arrow": [
74+
2,
75+
{
76+
"allowParens": true
77+
}
78+
],
79+
"no-console": [
80+
2,
81+
{
82+
"allow": ["error", "warn", "info"]
83+
}
84+
],
85+
"indent": [
86+
2,
87+
2,
88+
{
89+
"SwitchCase": 1
90+
}
91+
],
92+
"comma-style": [
93+
2,
94+
"last"
95+
],
96+
"max-depth": [
97+
2,
98+
5
99+
],
100+
"max-len": [
101+
2,
102+
{
103+
"code": 150,
104+
"ignoreComments": true
105+
}
106+
],
107+
"space-before-function-paren": [
108+
2,
109+
{
110+
"anonymous": "ignore",
111+
"named": "never"
112+
}
113+
],
114+
"array-bracket-spacing": [
115+
2,
116+
"never",
117+
{}
118+
],
119+
"space-in-parens": [
120+
2,
121+
"never"
122+
],
123+
"quote-props": [
124+
2,
125+
"as-needed"
126+
],
127+
"key-spacing": [
128+
2,
129+
{
130+
"beforeColon": false,
131+
"afterColon": true
132+
}
133+
],
134+
"space-unary-ops": [
135+
2,
136+
{
137+
"words": false,
138+
"nonwords": false
139+
}
140+
],
141+
"yoda": [
142+
2,
143+
"never"
144+
],
145+
"brace-style": [
146+
2,
147+
"1tbs",
148+
{
149+
"allowSingleLine": true
150+
}
151+
],
152+
"comma-spacing": [
153+
2,
154+
{
155+
"after": true,
156+
"before": false
157+
}
158+
],
159+
"semi-spacing": [
160+
2,
161+
{
162+
"before": false,
163+
"after": true
164+
}
165+
],
166+
"space-before-blocks": [
167+
2,
168+
"always"
169+
],
170+
"keyword-spacing": [
171+
2,
172+
{}
173+
],
174+
"semi": [
175+
2,
176+
"always"
177+
],
178+
"quotes": [
179+
2,
180+
"single"
181+
]
10182
}
11183
}

.jscsrc

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)