Skip to content

Commit 47a6f36

Browse files
committed
Merge branch 'master' of https://github.com/CS-Eevee/react-proto
2 parents 7ea8ea6 + 2460dd5 commit 47a6f36

25 files changed

+15369
-247
lines changed

.babelrc

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
{
2-
"presets": ["env", "react"]
2+
"presets": [
3+
"env",
4+
"react",
5+
"stage-1"
6+
],
7+
"plugins": [
8+
"react-hot-loader/babel",
9+
"transform-es2015-modules-commonjs"
10+
]
311
}

.eslintrc.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"extends": [
3+
"plugin:react/recommended",
4+
"airbnb-base"
5+
],
6+
"parserOptions": {
7+
"ecmaFeatures": {
8+
"jsx": true
9+
},
10+
"ecmaVersion": 2018,
11+
"sourceType": "module"
12+
},
13+
"plugins": [
14+
"import",
15+
"react",
16+
"jsx-a11y",
17+
"babel"
18+
],
19+
"parser": "babel-eslint",
20+
"env": {
21+
"browser": true,
22+
"node": true,
23+
"es6": true
24+
},
25+
"rules": {
26+
"class-methods-use-this": "off"
27+
}
28+
}

0 commit comments

Comments
 (0)