Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit 3229234

Browse files
committed
Basic builc environment
1 parent 67e37da commit 3229234

28 files changed

+1769
-0
lines changed

.babelrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"presets": ["react", "es2015", "stage-0"],
3+
"env": {
4+
"development": {
5+
"presets": ["react-hmre"]
6+
}
7+
}
8+
}
9+

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
8+
[*]
9+
10+
# Change these settings to your own preference
11+
indent_style = space
12+
indent_size = 2
13+
14+
# We recommend you to keep these unchanged
15+
end_of_line = lf
16+
charset = utf-8
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
[*.md]
21+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**/node_modules/**
2+
lib/**
3+
scripts/**

.eslintrc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parser": "babel-eslint",
3+
"plugins": [ "mocha" ],
4+
"env": {
5+
"browser": true,
6+
"mocha": true,
7+
"node": true
8+
},
9+
"extends": "airbnb",
10+
"rules": {
11+
"arrow-parens": ["error", "always"],
12+
"max-len": 0,
13+
"comma-dangle": 0,
14+
"new-cap": 0,
15+
"react/prop-types": 0,
16+
"react/forbid-prop-types": 0,
17+
"react/prefer-stateless-function": 0,
18+
"react/jsx-filename-extension": 0,
19+
"import/no-extraneous-dependencies": 0,
20+
"import/prefer-default-export": 0,
21+
"jsx-a11y/no-static-element-interactions": 0,
22+
"class-methods-use-this": 0
23+
}
24+
}

0 commit comments

Comments
 (0)