Skip to content

Commit 0ce4793

Browse files
committed
Merge branch 'development' v0.12.0
2 parents 54b0faa + 18a7648 commit 0ce4793

File tree

82 files changed

+22194
-7838
lines changed

Some content is hidden

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

82 files changed

+22194
-7838
lines changed

.babelrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"presets": [
3-
"env"
3+
"env",
4+
"stage-2"
45
],
56
"plugins": [
6-
"transform-object-assign"
7+
"transform-runtime"
78
]
89
}

.eslintrc.js

Lines changed: 14 additions & 286 deletions
Original file line numberDiff line numberDiff line change
@@ -1,287 +1,15 @@
11
module.exports = {
2-
"env": {
3-
"browser": true
4-
},
5-
"extends": "eslint:recommended",
6-
"rules": {
7-
"accessor-pairs": "error",
8-
"array-bracket-newline": "error",
9-
"array-bracket-spacing": [
10-
"error",
11-
"never"
12-
],
13-
"array-callback-return": "error",
14-
"array-element-newline": "error",
15-
"arrow-body-style": "error",
16-
"arrow-parens": "error",
17-
"arrow-spacing": "error",
18-
"block-scoped-var": "error",
19-
"block-spacing": "error",
20-
"brace-style": [
21-
"error",
22-
"1tbs"
23-
],
24-
"callback-return": "error",
25-
"camelcase": "error",
26-
"capitalized-comments": "off",
27-
"class-methods-use-this": "error",
28-
"comma-dangle": "off",
29-
"comma-spacing": [
30-
"error",
31-
{
32-
"after": true,
33-
"before": false
34-
}
35-
],
36-
"comma-style": [
37-
"error",
38-
"last"
39-
],
40-
"complexity": "error",
41-
"computed-property-spacing": [
42-
"error",
43-
"never"
44-
],
45-
"consistent-return": "off",
46-
"consistent-this": "off",
47-
"curly": "error",
48-
"default-case": "error",
49-
"dot-location": [
50-
"error",
51-
"property"
52-
],
53-
"dot-notation": [
54-
"error",
55-
{
56-
"allowKeywords": true
57-
}
58-
],
59-
"eol-last": "error",
60-
"eqeqeq": "off",
61-
"for-direction": "error",
62-
"func-call-spacing": "error",
63-
"func-name-matching": "off",
64-
"func-names": "off",
65-
"func-style": [
66-
"error",
67-
"declaration"
68-
],
69-
"function-paren-newline": "off",
70-
"generator-star-spacing": "error",
71-
"getter-return": "error",
72-
"global-require": "error",
73-
"guard-for-in": "error",
74-
"handle-callback-err": "error",
75-
"id-blacklist": "error",
76-
"id-length": "off",
77-
"id-match": "error",
78-
"indent": "off",
79-
"indent-legacy": "off",
80-
"init-declarations": "error",
81-
"jsx-quotes": "error",
82-
"key-spacing": "error",
83-
"keyword-spacing": "off",
84-
"line-comment-position": "off",
85-
"linebreak-style": [
86-
"error",
87-
"unix"
88-
],
89-
"lines-around-comment": "off",
90-
"lines-around-directive": "off",
91-
"lines-between-class-members": "error",
92-
"max-depth": "error",
93-
"max-len": "off",
94-
"max-lines": "off",
95-
"max-nested-callbacks": "error",
96-
"max-params": "off",
97-
"max-statements": "off",
98-
"max-statements-per-line": "error",
99-
"multiline-comment-style": "off",
100-
"multiline-ternary": "off",
101-
"new-cap": "error",
102-
"new-parens": "error",
103-
"newline-after-var": "off",
104-
"newline-before-return": "off",
105-
"newline-per-chained-call": "error",
106-
"no-alert": "error",
107-
"no-array-constructor": "error",
108-
"no-await-in-loop": "error",
109-
"no-bitwise": "error",
110-
"no-buffer-constructor": "error",
111-
"no-caller": "error",
112-
"no-catch-shadow": "error",
113-
"no-confusing-arrow": "error",
114-
"no-continue": "error",
115-
"no-div-regex": "error",
116-
"no-duplicate-imports": "error",
117-
"no-else-return": "off",
118-
"no-empty-function": "error",
119-
"no-eq-null": "error",
120-
"no-eval": "error",
121-
"no-extend-native": "error",
122-
"no-extra-bind": "off",
123-
"no-extra-label": "error",
124-
"no-extra-parens": "off",
125-
"no-floating-decimal": "error",
126-
"no-implicit-coercion": "error",
127-
"no-implicit-globals": "off",
128-
"no-implied-eval": "error",
129-
"no-inline-comments": "off",
130-
"no-inner-declarations": [
131-
"error",
132-
"functions"
133-
],
134-
"no-invalid-this": "off",
135-
"no-iterator": "error",
136-
"no-label-var": "error",
137-
"no-labels": "error",
138-
"no-lone-blocks": "error",
139-
"no-lonely-if": "error",
140-
"no-loop-func": "error",
141-
"no-magic-numbers": "off",
142-
"no-mixed-operators": "error",
143-
"no-mixed-requires": "error",
144-
"no-multi-assign": "error",
145-
"no-multi-spaces": "off",
146-
"no-multi-str": "error",
147-
"no-multiple-empty-lines": "error",
148-
"no-native-reassign": "error",
149-
"no-negated-condition": "error",
150-
"no-negated-in-lhs": "error",
151-
"no-nested-ternary": "error",
152-
"no-new": "error",
153-
"no-new-func": "error",
154-
"no-new-object": "error",
155-
"no-new-require": "error",
156-
"no-new-wrappers": "error",
157-
"no-octal-escape": "error",
158-
"no-param-reassign": "error",
159-
"no-path-concat": "error",
160-
"no-plusplus": "error",
161-
"no-process-env": "error",
162-
"no-process-exit": "error",
163-
"no-proto": "error",
164-
"no-prototype-builtins": "error",
165-
"no-restricted-globals": "error",
166-
"no-restricted-imports": "error",
167-
"no-restricted-modules": "error",
168-
"no-restricted-properties": "error",
169-
"no-restricted-syntax": "error",
170-
"no-return-assign": "error",
171-
"no-return-await": "error",
172-
"no-script-url": "error",
173-
"no-self-compare": "error",
174-
"no-sequences": "error",
175-
"no-shadow": "error",
176-
"no-shadow-restricted-names": "error",
177-
"no-spaced-func": "error",
178-
"no-sync": "error",
179-
"no-tabs": "error",
180-
"no-template-curly-in-string": "error",
181-
"no-ternary": "off",
182-
"no-throw-literal": "error",
183-
"no-trailing-spaces": "error",
184-
"no-undef-init": "error",
185-
"no-undefined": "error",
186-
"no-underscore-dangle": "error",
187-
"no-unmodified-loop-condition": "error",
188-
"no-unneeded-ternary": "error",
189-
"no-unused-expressions": "error",
190-
"no-use-before-define": "off",
191-
"no-useless-call": "error",
192-
"no-useless-computed-key": "error",
193-
"no-useless-concat": "error",
194-
"no-useless-constructor": "error",
195-
"no-useless-rename": "error",
196-
"no-useless-return": "error",
197-
"no-var": "off",
198-
"no-void": "error",
199-
"no-warning-comments": "off",
200-
"no-whitespace-before-property": "error",
201-
"no-with": "error",
202-
"nonblock-statement-body-position": "error",
203-
"object-curly-newline": "off",
204-
"object-curly-spacing": [
205-
"error",
206-
"always"
207-
],
208-
"object-property-newline": [
209-
"error",
210-
{
211-
"allowMultiplePropertiesPerLine": true
212-
}
213-
],
214-
"object-shorthand": "off",
215-
"one-var": "off",
216-
"one-var-declaration-per-line": "error",
217-
"operator-assignment": "error",
218-
"operator-linebreak": [
219-
"error",
220-
"after"
221-
],
222-
"padded-blocks": "off",
223-
"padding-line-between-statements": "error",
224-
"prefer-arrow-callback": "off",
225-
"prefer-const": "error",
226-
"prefer-destructuring": "off",
227-
"prefer-numeric-literals": "error",
228-
"prefer-promise-reject-errors": "off",
229-
"prefer-reflect": "error",
230-
"prefer-rest-params": "error",
231-
"prefer-spread": "error",
232-
"prefer-template": "off",
233-
"quote-props": "off",
234-
"quotes": [
235-
"error",
236-
"single"
237-
],
238-
"radix": "error",
239-
"require-await": "error",
240-
"require-jsdoc": "off",
241-
"rest-spread-spacing": "error",
242-
"semi": "off",
243-
"semi-spacing": "error",
244-
"semi-style": [
245-
"error",
246-
"last"
247-
],
248-
"sort-imports": "error",
249-
"sort-keys": "off",
250-
"sort-vars": "error",
251-
"space-before-blocks": "error",
252-
"space-before-function-paren": "off",
253-
"space-in-parens": [
254-
"error",
255-
"never"
256-
],
257-
"space-infix-ops": "error",
258-
"space-unary-ops": [
259-
"error",
260-
{
261-
"nonwords": false,
262-
"words": false
263-
}
264-
],
265-
"spaced-comment": "off",
266-
"strict": [
267-
"error",
268-
"global"
269-
],
270-
"switch-colon-spacing": "error",
271-
"symbol-description": "error",
272-
"template-curly-spacing": "error",
273-
"template-tag-spacing": "error",
274-
"unicode-bom": [
275-
"error",
276-
"never"
277-
],
278-
"valid-jsdoc": "off",
279-
"vars-on-top": "off",
280-
"wrap-regex": "error",
281-
"yield-star-spacing": "error",
282-
"yoda": [
283-
"error",
284-
"never"
285-
]
286-
}
287-
};
2+
root: true,
3+
parser: 'babel-eslint',
4+
parserOptions: {
5+
sourceType: 'module'
6+
},
7+
env: {
8+
browser: true,
9+
},
10+
extends: 'airbnb-base',
11+
rules: {
12+
// allow debugger during development
13+
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
14+
}
15+
}

0 commit comments

Comments
 (0)