Skip to content

Commit 6063d59

Browse files
authored
fix: Fix dependencies, upgrade to Babel 6, fix ESLint errors and reformat code (#13)
* chore: Add lint-staged and husky * chore: Upgrade eslint, add prettier and use eslint-config-okonet * chore: Switch to latest eslint-config-okonet * style: Reformat code with prettier * style: Change indentation to 2 spaces in editorconfig * style: Remove unnecessary block * fix: Move core-js to dependencies * chore: Clean up scripts section * chore: Upgrate to latest eslint-config-okonet * chore: Upgrade to Babel 6
1 parent 2847ab8 commit 6063d59

File tree

9 files changed

+8238
-214
lines changed

9 files changed

+8238
-214
lines changed

.babelrc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{
2-
"stage": 0,
3-
"loose": "all"
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"loose": true
7+
}
8+
]
9+
]
410
}

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ root = true
33

44
[*]
55
indent_style = space
6-
indent_size = 4
6+
indent_size = 2
77
end_of_line = lf
88
charset = utf-8
99
trim_trailing_whitespace = true

.eslintrc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
{
2-
"extends": "airbnb",
2+
"extends": "okonet",
33
"env": {
44
"browser": true,
5-
"mocha": true,
6-
"node": true
7-
},
8-
"rules": {
9-
"indent": [2, 4],
10-
"comma-dangle": [2, "never"]
5+
"mocha": true
116
}
127
}

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ node_js:
99
- 'stable'
1010
- '6'
1111
- '4'
12-
- iojs-v3
13-
- iojs-v2
14-
- iojs-v1
15-
- '0.12'
1612
before_install:
1713
- npm i -g npm@^2.0.0
1814
before_script:

0 commit comments

Comments
 (0)