Skip to content

Commit 0425982

Browse files
Merge pull request #7 from team-reactype/development
Electron base config with yarn
2 parents 623c555 + 763afb1 commit 0425982

Some content is hidden

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

70 files changed

+44008
-23
lines changed

.babelrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"modules": false
7+
}
8+
],
9+
"react",
10+
"stage-0"
11+
],
12+
"plugins": [
13+
"transform-es2015-modules-commonjs"
14+
]
15+
}

.eslintrc.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
"jest",
17+
"jsx-a11y",
18+
"babel"
19+
],
20+
"parser": "babel-eslint",
21+
"env": {
22+
"browser": true,
23+
"node": true,
24+
"es6": true,
25+
"jest": true
26+
},
27+
"rules": {
28+
"class-methods-use-this": "off"
29+
}
30+
}

0 commit comments

Comments
 (0)