Skip to content

Commit 7fe78b6

Browse files
committedJan 31, 2019
手写redux
0 parents  commit 7fe78b6

Some content is hidden

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

59 files changed

+28585
-0
lines changed
 

‎Neo/.babelrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"presets": [
3+
"es2015",
4+
"react",
5+
"stage-0"
6+
],
7+
"plugins": ["transform-decorators-legacy"]
8+
}

‎Neo/.eslintrc

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parser": "babel-eslint",
3+
"parserOptions": {
4+
"sourceType": "module",
5+
"ecmaVersion": 2015
6+
},
7+
"env":{
8+
"es6": true,
9+
"browser": true,
10+
"node": true
11+
},
12+
"globals": {
13+
"expect": true,
14+
"it": false
15+
},
16+
"rules":{
17+
"no-unreachable": [2],
18+
"indent": [2, 2, { "SwitchCase": 1 }],
19+
"quotes": [2, "single"],
20+
"max-statements": [2, 25],
21+
"max-len": [2, 120],
22+
"multiline-ternary": [0],
23+
"no-const-assign": [2],
24+
"no-return-assign": [0],
25+
"no-var": [2],
26+
"no-inner-declarations": [2],
27+
"no-lonely-if": [2],
28+
"no-tabs":[2],
29+
"no-undef":[2],
30+
"comma-dangle":[2]
31+
}
32+
}

0 commit comments

Comments
 (0)