Skip to content

Commit c93af36

Browse files
authored
Merge pull request #7 from georapbox/migrate-to-rollup
Migrate to rollup
2 parents 8b771d7 + f30a206 commit c93af36

15 files changed

+1708
-4706
lines changed

.babelrc

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

.babelrc.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
const { NODE_ENV } = process.env;
2+
3+
module.exports = {
4+
presets: [
5+
[
6+
'@babel/preset-env',
7+
{
8+
modules: NODE_ENV === 'test' ? 'auto' : false
9+
}
10+
]
11+
],
12+
plugins: [
13+
'@babel/plugin-proposal-object-rest-spread'
14+
]
15+
};

.codeclimate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ engines:
55
enabled: false
66
eslint:
77
enabled: true
8-
channel: "eslint-4"
8+
channel: "eslint-5"
99
csslint:
1010
enabled: false
1111
duplication:

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
/dist/**
2-
/lib/**

.eslintrc.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
node: true,
5+
es6: true,
6+
mocha: true
7+
},
8+
parserOptions: {
9+
ecmaVersion: 9,
10+
sourceType: 'module',
11+
allowImportExportEverywhere: true
12+
},
13+
extends: [
14+
'eslint:recommended'
15+
],
16+
rules: {
17+
'indent': ['warn', 2, { 'SwitchCase': 1 }],
18+
'eqeqeq': ['error', 'always', { 'null': 'ignore' }]
19+
}
20+
};

0 commit comments

Comments
 (0)