Skip to content
This repository was archived by the owner on Jan 28, 2020. It is now read-only.

Commit 4304fb8

Browse files
committed
Fix packages config
1 parent b5d4b0f commit 4304fb8

File tree

4 files changed

+11
-18
lines changed

4 files changed

+11
-18
lines changed

.babelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"env": {
44
"commonjs": {
55
"plugins": [
6-
["transform-es2015-modules-commonjs", { "loose": true }]
6+
[
7+
"transform-es2015-modules-commonjs", { "loose": true }
8+
]
79
]
810
}
911
}

.eslintrc.js

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,8 @@ module.exports = {
33
root: true,
44
extends: [
55
'airbnb-base',
6-
'plugin:flowtype/recommended',
76
],
8-
env: {
9-
browser: true,
10-
node: true,
11-
},
12-
globals: {
13-
expect: true,
14-
it: true,
15-
},
167
plugins: [
17-
'flowtype',
188
'import',
199
],
2010
settings: {
@@ -24,6 +14,12 @@ module.exports = {
2414
},
2515
},
2616
},
17+
env: {
18+
browser: true,
19+
node: true,
20+
es6: true,
21+
jest: true,
22+
},
2723
rules: {
2824
'arrow-body-style': 'off',
2925
'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],

__tests__/.eslintrc.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "npm-starter",
33
"version": "0.1.0",
4-
"description": "Starter kit for npm modules in es6",
4+
"description": "Starter kit for npm modules in es2015",
55
"main": "lib/index.js",
66
"module": "es/index.js",
77
"jsnext:main": "es/index.js",
@@ -45,6 +45,7 @@
4545
"npmName": "npm-starter",
4646
"devDependencies": {
4747
"babel-cli": "^6.16.0",
48+
"babel-core": "^6.22.1",
4849
"babel-eslint": "^7.0.0",
4950
"babel-jest": "^18.0.0",
5051
"babel-loader": "^6.2.5",
@@ -53,7 +54,6 @@
5354
"cross-env": "^3.1.3",
5455
"eslint": "^3.8.0",
5556
"eslint-config-airbnb-base": "^11.0.1",
56-
"eslint-plugin-flowtype": "^2.20.0",
5757
"eslint-plugin-import": "^2.0.1",
5858
"jest": "^18.1.0",
5959
"rimraf": "^2.5.4",

0 commit comments

Comments
 (0)