Skip to content

Commit 5945f4a

Browse files
committed
Add dotfiles
1 parent 1087b5b commit 5945f4a

File tree

3 files changed

+231
-0
lines changed

3 files changed

+231
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015", "stage-2", "react"]
3+
}

.eslintrc

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
{
2+
"parser": "babel-eslint",
3+
4+
"plugins": [
5+
"babel", "react"
6+
],
7+
8+
"env": {
9+
"es6": true,
10+
"node": true
11+
},
12+
13+
"globals": {
14+
"window": true,
15+
"Tracker": true
16+
},
17+
18+
"ecmaFeatures": {
19+
"arrowFunctions": true,
20+
"binaryLiterals": true,
21+
"blockBindings": true,
22+
"classes": true,
23+
"defaultParams": true,
24+
"destructuring": true,
25+
"experimentalObjectRestSpread": true,
26+
"forOf": true,
27+
"generators": true,
28+
"globalReturn": true,
29+
"jsx": true,
30+
"modules": true,
31+
"objectLiteralComputedProperties": true,
32+
"objectLiteralDuplicateProperties": true,
33+
"objectLiteralShorthandMethods": true,
34+
"objectLiteralShorthandProperties": true,
35+
"octalLiterals": true,
36+
"regexUFlag": true,
37+
"regexYFlag": true,
38+
"restParams": true,
39+
"spread": true,
40+
"superInFunctions": true,
41+
"templateStrings": true,
42+
"unicodeCodePointEscapes": true
43+
},
44+
45+
"rules": {
46+
"babel/arrow-parens": [2, "as-needed"],
47+
48+
"arrow-spacing": 2,
49+
"block-scoped-var": 0,
50+
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
51+
"callback-return": 2,
52+
"camelcase": [2, {"properties": "always"}],
53+
"comma-dangle": 0,
54+
"comma-spacing": 0,
55+
"comma-style": [2, "last"],
56+
"complexity": 0,
57+
"computed-property-spacing": [2, "never"],
58+
"consistent-return": 0,
59+
"consistent-this": 0,
60+
"curly": [2, "all"],
61+
"default-case": 0,
62+
"dot-location": [2, "property"],
63+
"dot-notation": 0,
64+
"eol-last": 2,
65+
"eqeqeq": 2,
66+
"func-names": 0,
67+
"func-style": 0,
68+
"generator-star-spacing": [0, {"before": true, "after": false}],
69+
"guard-for-in": 2,
70+
"handle-callback-err": [2, "error"],
71+
"id-length": 0,
72+
"id-match": [2, "^(?:_?[a-zA-Z0-9]*)|[_A-Z0-9]+$"],
73+
"indent": [2, 2, {"SwitchCase": 1}],
74+
"init-declarations": 0,
75+
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
76+
"linebreak-style": 2,
77+
"lines-around-comment": 0,
78+
"max-depth": 0,
79+
"max-len": [2, 80, 4],
80+
"max-nested-callbacks": 0,
81+
"max-params": 0,
82+
"max-statements": 0,
83+
"new-cap": 0,
84+
"new-parens": 2,
85+
"newline-after-var": 0,
86+
"no-alert": 2,
87+
"no-array-constructor": 2,
88+
"no-bitwise": 0,
89+
"no-caller": 2,
90+
"no-catch-shadow": 0,
91+
"no-class-assign": 2,
92+
"no-cond-assign": 2,
93+
"no-console": 1,
94+
"no-const-assign": 2,
95+
"no-constant-condition": 2,
96+
"no-continue": 0,
97+
"no-control-regex": 0,
98+
"no-debugger": 1,
99+
"no-delete-var": 2,
100+
"no-div-regex": 2,
101+
"no-dupe-args": 2,
102+
"no-dupe-keys": 2,
103+
"no-duplicate-case": 2,
104+
"no-else-return": 2,
105+
"no-empty": 2,
106+
"no-empty-character-class": 2,
107+
"no-empty-label": 2,
108+
"no-eq-null": 0,
109+
"no-eval": 2,
110+
"no-ex-assign": 2,
111+
"no-extend-native": 2,
112+
"no-extra-bind": 2,
113+
"no-extra-boolean-cast": 2,
114+
"no-extra-parens": 0,
115+
"no-extra-semi": 2,
116+
"no-fallthrough": 2,
117+
"no-floating-decimal": 2,
118+
"no-func-assign": 2,
119+
"no-implicit-coercion": 2,
120+
"no-implied-eval": 2,
121+
"no-inline-comments": 0,
122+
"no-inner-declarations": [2, "functions"],
123+
"no-invalid-regexp": 2,
124+
"no-invalid-this": 0,
125+
"no-irregular-whitespace": 2,
126+
"no-iterator": 2,
127+
"no-label-var": 2,
128+
"no-labels": 0,
129+
"no-lone-blocks": 2,
130+
"no-lonely-if": 2,
131+
"no-loop-func": 0,
132+
"no-mixed-requires": [2, true],
133+
"no-mixed-spaces-and-tabs": 2,
134+
"no-multi-spaces": 2,
135+
"no-multi-str": 2,
136+
"no-multiple-empty-lines": 0,
137+
"no-native-reassign": 0,
138+
"no-negated-in-lhs": 2,
139+
"no-nested-ternary": 0,
140+
"no-new": 2,
141+
"no-new-func": 0,
142+
"no-new-object": 2,
143+
"no-new-require": 2,
144+
"no-new-wrappers": 2,
145+
"no-obj-calls": 2,
146+
"no-octal": 2,
147+
"no-octal-escape": 2,
148+
"no-param-reassign": 2,
149+
"no-path-concat": 2,
150+
"no-plusplus": 0,
151+
"no-process-env": 0,
152+
"no-process-exit": 0,
153+
"no-proto": 2,
154+
"no-redeclare": 2,
155+
"no-regex-spaces": 2,
156+
"no-restricted-modules": 0,
157+
"no-return-assign": 2,
158+
"no-script-url": 2,
159+
"no-self-compare": 0,
160+
"no-sequences": 2,
161+
"no-shadow": 2,
162+
"no-shadow-restricted-names": 2,
163+
"no-spaced-func": 2,
164+
"no-sparse-arrays": 2,
165+
"no-sync": 2,
166+
"no-ternary": 0,
167+
"no-this-before-super": 2,
168+
"no-throw-literal": 2,
169+
"no-trailing-spaces": 2,
170+
"no-undef": 2,
171+
"no-undef-init": 2,
172+
"no-undefined": 0,
173+
"no-underscore-dangle": 0,
174+
"no-unexpected-multiline": 2,
175+
"no-unneeded-ternary": 2,
176+
"no-unreachable": 2,
177+
"no-unused-expressions": 2,
178+
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
179+
"no-use-before-define": 0,
180+
"no-useless-call": 2,
181+
"no-var": 0,
182+
"no-void": 2,
183+
"no-warning-comments": 0,
184+
"no-with": 2,
185+
"object-curly-spacing": [0, "always"],
186+
"object-shorthand": [2, "always"],
187+
"one-var": [2, "never"],
188+
"operator-assignment": [2, "always"],
189+
"operator-linebreak": [2, "after"],
190+
"padded-blocks": 0,
191+
"prefer-const": 0,
192+
"prefer-reflect": 0,
193+
"prefer-spread": 0,
194+
"quote-props": [2, "as-needed"],
195+
"quotes": [2, "single"],
196+
"radix": 2,
197+
"require-yield": 2,
198+
"semi": [2, "always"],
199+
"semi-spacing": [2, {"before": false, "after": true}],
200+
"sort-vars": 0,
201+
"space-after-keywords": [2, "always"],
202+
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
203+
"space-in-parens": 0,
204+
"space-infix-ops": [2, {"int32Hint": false}],
205+
"space-return-throw-case": 2,
206+
"space-unary-ops": [2, {"words": true, "nonwords": false}],
207+
"spaced-comment": [2, "always"],
208+
"strict": 0,
209+
"use-isnan": 2,
210+
"valid-jsdoc": 0,
211+
"valid-typeof": 2,
212+
"vars-on-top": 0,
213+
"wrap-iife": 2,
214+
"wrap-regex": 0,
215+
"yoda": [2, "never", {"exceptRange": true}]
216+
}
217+
}

.npmignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
*.swp
2+
*~
3+
*.iml
4+
.*.haste_cache.*
5+
.DS_Store
6+
.idea
7+
.babelrc
8+
.eslintrc
9+
npm-debug.log
10+
lib
11+
example

0 commit comments

Comments
 (0)