Skip to content

Commit af52bb0

Browse files
committed
Added webpack, eslint, babel
1 parent 1d9d6c3 commit af52bb0

14 files changed

+3234
-241
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# http://editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
indent_style = space
9+
indent_size = 2
10+
end_of_line = lf
11+
charset = utf-8
12+
trim_trailing_whitespace = true
13+
insert_final_newline = true
14+
15+
[*.md]
16+
trim_trailing_whitespace = false

.eslintignore

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

.eslintrc.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"extends": [
3+
"eslint:recommended",
4+
"google"
5+
],
6+
"root": true,
7+
"env": {
8+
"es6": true,
9+
"node": true,
10+
"browser": true
11+
},
12+
"globals": {},
13+
"parser": "babel-eslint",
14+
"parserOptions": {
15+
"ecmaVersion": 6,
16+
"sourceType": "module",
17+
"ecmaFeatures": {
18+
"impliedStrict": true,
19+
"experimentalObjectRestSpread": true
20+
}
21+
},
22+
"rules": {
23+
"valid-jsdoc": [1, {
24+
"requireReturnDescription": false
25+
}],
26+
"one-var": [2, {
27+
"uninitialized": "always"
28+
}],
29+
"max-len": 0,
30+
"object-curly-spacing": [2, "never"]
31+
}
32+
}

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# =========================
2+
# Windows detritus
3+
# =========================
4+
5+
# Folder config file
6+
Desktop.ini
7+
8+
# Recycle Bin used on file shares
9+
$RECYCLE.BIN/
10+
11+
# Mac desktop service store files
12+
.DS_Store
13+
14+
# =========================
15+
# Project ignored files
16+
# =========================
17+
18+
npm-debug.log
19+
yarn-error.log
20+
/node_modules

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6

0 commit comments

Comments
 (0)