Skip to content

Commit 0c3e2a0

Browse files
committed
init
0 parents  commit 0c3e2a0

37 files changed

+12895
-0
lines changed

.babelrc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"targets": {
7+
"browsers": [
8+
">1%",
9+
"last 4 versions",
10+
"not ie < 9"
11+
]
12+
},
13+
"useBuiltIns": "usage",
14+
"debug": false,
15+
"corejs": 3
16+
}
17+
],
18+
"@babel/preset-react"
19+
],
20+
"plugins": [
21+
"@babel/plugin-syntax-dynamic-import",
22+
"@babel/plugin-proposal-class-properties",
23+
"@babel/plugin-proposal-export-namespace-from",
24+
"@babel/plugin-proposal-throw-expressions",
25+
"@babel/proposal-object-rest-spread"
26+
]
27+
}

.eslintrc

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"parser": "babel-eslint",
3+
"plugins": [
4+
"react"
5+
],
6+
"rules": {
7+
"no-console": 0,
8+
"linebreak-style": 0,
9+
"import/no-extraneous-dependencies": 0,
10+
"max-len": [
11+
1,
12+
200,
13+
2,
14+
{
15+
"ignoreComments": true
16+
}
17+
],
18+
"no-underscore-dangle": "off",
19+
"indent": "off",
20+
"no-param-reassign": "warn",
21+
"object-curly-spacing": "off",
22+
"global-require": "off",
23+
"prefer-destructuring": "warn",
24+
"class-methods-use-this": "warn",
25+
"no-unused-vars": "warn",
26+
"no-confusing-arrow": "warn",
27+
"spaced-comment": "warn"
28+
},
29+
"extends": [
30+
"airbnb-base",
31+
"plugin:react/recommended"
32+
],
33+
"env": {
34+
"browser": true,
35+
"node": true
36+
},
37+
"settings": {
38+
"react": {
39+
"version": "16.6"
40+
},
41+
"import/resolver": {
42+
"alias": [
43+
[
44+
"src",
45+
"./src"
46+
]
47+
]
48+
}
49+
}
50+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
dist
3+
node_modules

0 commit comments

Comments
 (0)