Skip to content

Commit 3ebbffd

Browse files
committed
Replaces webpack with rollup
1 parent 0d6fc05 commit 3ebbffd

File tree

16 files changed

+1428
-4579
lines changed

16 files changed

+1428
-4579
lines changed

.babelrc

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
{
22
"presets": [
3-
[
4-
"env",
5-
{
6-
"modules": false
7-
}
8-
],
9-
"stage-2"
10-
],
11-
"plugins": [
12-
"syntax-trailing-function-commas"
13-
],
14-
"env": {
15-
"test": {
16-
"presets": [
17-
"env",
18-
"stage-2"
19-
]
20-
}
21-
}
3+
"env"
4+
]
225
}

.eslintrc.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,6 @@ module.exports = {
1313
extends: [
1414
'airbnb-base',
1515
],
16-
17-
// check if imports actually resolve
18-
settings: {
19-
'import/resolver': {
20-
webpack: {
21-
config: 'webpack.config.js',
22-
},
23-
},
24-
},
2516
// add your custom rules here
2617
rules: {
2718
'no-duplicate-imports': 'error',
@@ -35,6 +26,13 @@ module.exports = {
3526
'indent': ['error', 4, {
3627
SwitchCase: 1,
3728
}],
29+
'comma-dangle': ['error', {
30+
'arrays': 'always-multiline',
31+
'objects': 'always-multiline',
32+
'imports': 'always-multiline',
33+
'exports': 'always-multiline',
34+
'functions': 'never',
35+
}],
3836
// don't require .js extension when importing
3937
'import/extensions': ['error', 'always', { js: 'never' }],
4038
// allow optionalDependencies

0 commit comments

Comments
 (0)