Skip to content

Commit 232b476

Browse files
committed
Import first version
1 parent 9c07e20 commit 232b476

11 files changed

+984
-0
lines changed

.babelrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"presets": ["es2015"],
3+
"plugins": ["babel-plugin-add-module-exports"]
4+
}

.eslintrc

+181
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
{
2+
"ecmaFeatures": {
3+
"globalReturn": true,
4+
"modules": true
5+
},
6+
7+
"env": {
8+
"browser": true,
9+
"es6": true,
10+
"node": true
11+
},
12+
13+
"globals": {
14+
"document": false,
15+
"escape": false,
16+
"navigator": false,
17+
"unescape": false,
18+
"window": false,
19+
"describe": true,
20+
"before": true,
21+
"it": true,
22+
"expect": true,
23+
"sinon": true
24+
},
25+
26+
"parser": "babel-eslint",
27+
28+
"plugins": [
29+
30+
],
31+
32+
"rules": {
33+
"block-scoped-var": 2,
34+
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
35+
"camelcase": [2, { "properties": "always" }],
36+
"comma-dangle": [2, "never"],
37+
"comma-spacing": [2, { "before": false, "after": true }],
38+
"comma-style": [2, "last"],
39+
"complexity": 0,
40+
"consistent-return": 2,
41+
"consistent-this": 0,
42+
"curly": [2, "multi-line"],
43+
"default-case": 0,
44+
"dot-location": [2, "property"],
45+
"dot-notation": 0,
46+
"eol-last": 2,
47+
"eqeqeq": [2, "allow-null"],
48+
"func-names": 0,
49+
"func-style": 0,
50+
"generator-star-spacing": [2, "both"],
51+
"guard-for-in": 0,
52+
"handle-callback-err": [2, "^(err|error|anySpecificError)$" ],
53+
"indent": [2, 4, { "SwitchCase": 1 }],
54+
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
55+
"linebreak-style": 0,
56+
"max-depth": 0,
57+
"max-len": [2, 120, 4],
58+
"max-nested-callbacks": 0,
59+
"max-params": 0,
60+
"max-statements": 0,
61+
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
62+
"new-parens": 2,
63+
"no-alert": 0,
64+
"no-array-constructor": 2,
65+
"no-bitwise": 0,
66+
"no-caller": 2,
67+
"no-catch-shadow": 0,
68+
"no-cond-assign": 2,
69+
"no-console": 0,
70+
"no-constant-condition": 0,
71+
"no-continue": 0,
72+
"no-control-regex": 2,
73+
"no-debugger": 2,
74+
"no-delete-var": 2,
75+
"no-div-regex": 0,
76+
"no-dupe-args": 2,
77+
"no-dupe-keys": 2,
78+
"no-duplicate-case": 2,
79+
"no-else-return": 2,
80+
"no-empty": 0,
81+
"no-empty-character-class": 2,
82+
"no-eq-null": 0,
83+
"no-eval": 2,
84+
"no-ex-assign": 2,
85+
"no-extra-bind": 2,
86+
"no-extra-boolean-cast": 2,
87+
"no-extra-parens": 0,
88+
"no-extra-semi": 0,
89+
"no-extra-strict": 0,
90+
"no-fallthrough": 2,
91+
"no-floating-decimal": 2,
92+
"no-func-assign": 2,
93+
"no-implied-eval": 2,
94+
"no-inline-comments": 0,
95+
"no-inner-declarations": [2, "functions"],
96+
"no-invalid-regexp": 2,
97+
"no-irregular-whitespace": 2,
98+
"no-iterator": 2,
99+
"no-label-var": 2,
100+
"no-labels": 2,
101+
"no-lone-blocks": 0,
102+
"no-lonely-if": 0,
103+
"no-loop-func": 0,
104+
"no-mixed-requires": 0,
105+
"no-mixed-spaces-and-tabs": [2, false],
106+
"no-multi-spaces": 2,
107+
"no-multi-str": 2,
108+
"no-multiple-empty-lines": [2, { "max": 1 }],
109+
"no-native-reassign": 2,
110+
"no-negated-in-lhs": 2,
111+
"no-nested-ternary": 0,
112+
"no-new": 2,
113+
"no-new-func": 2,
114+
"no-new-object": 2,
115+
"no-new-require": 2,
116+
"no-new-wrappers": 2,
117+
"no-obj-calls": 2,
118+
"no-octal": 2,
119+
"no-octal-escape": 2,
120+
"no-path-concat": 0,
121+
"no-plusplus": 0,
122+
"no-process-env": 0,
123+
"no-process-exit": 0,
124+
"no-proto": 2,
125+
"no-redeclare": 2,
126+
"no-regex-spaces": 2,
127+
"no-reserved-keys": 0,
128+
"no-restricted-modules": 0,
129+
"no-return-assign": 2,
130+
"no-script-url": 0,
131+
"no-self-compare": 2,
132+
"no-sequences": 2,
133+
"no-shadow": 0,
134+
"no-shadow-restricted-names": 2,
135+
"no-spaced-func": 2,
136+
"no-sparse-arrays": 2,
137+
"no-sync": 0,
138+
"no-ternary": 0,
139+
"no-throw-literal": 2,
140+
"no-trailing-spaces": 2,
141+
"no-undef": 2,
142+
"no-undef-init": 2,
143+
"no-undefined": 0,
144+
"no-underscore-dangle": 0,
145+
"no-unneeded-ternary": 2,
146+
"no-unreachable": 2,
147+
"no-unused-expressions": 0,
148+
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
149+
"no-use-before-define": 2,
150+
"no-var": 0,
151+
"no-void": 0,
152+
"no-warning-comments": 0,
153+
"no-with": 2,
154+
"one-var": 0,
155+
"operator-assignment": 0,
156+
"operator-linebreak": [2, "after"],
157+
"padded-blocks": 0,
158+
"quote-props": 0,
159+
"quotes": [2, "single", "avoid-escape"],
160+
"radix": 2,
161+
"semi": [2, "always"],
162+
"semi-spacing": 0,
163+
"sort-vars": 0,
164+
"keyword-spacing": [2, { "before": true, "after": true }],
165+
"space-before-blocks": [2, "always"],
166+
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
167+
"space-in-brackets": 0,
168+
"space-in-parens": [2, "never"],
169+
"space-infix-ops": 2,
170+
"space-unary-ops": [2, { "words": true, "nonwords": false }],
171+
"spaced-comment": [2, "always"],
172+
"strict": 0,
173+
"use-isnan": 2,
174+
"valid-jsdoc": 0,
175+
"valid-typeof": 2,
176+
"vars-on-top": 2,
177+
"wrap-iife": [2, "any"],
178+
"wrap-regex": 0,
179+
"yoda": [2, "never"]
180+
}
181+
}

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ jspm_packages
3535

3636
# Optional REPL history
3737
.node_repl_history
38+
39+
# IDE
40+
.idea

0 commit comments

Comments
 (0)