File tree Expand file tree Collapse file tree 4 files changed +2334
-2089
lines changed Expand file tree Collapse file tree 4 files changed +2334
-2089
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
extends : [
3
- 'airbnb-base'
3
+ 'airbnb-base' ,
4
4
] ,
5
5
parser : 'babel-eslint' ,
6
6
env : {
7
- es6 : true
7
+ es6 : true ,
8
8
} ,
9
9
overrides : [ {
10
10
files : [ '*.test.*' ] ,
11
11
env : {
12
- jest : true
13
- }
12
+ jest : true ,
13
+ } ,
14
14
} , {
15
15
files : [ 'src/*' ] ,
16
16
env : {
17
- browser : true
17
+ browser : true ,
18
18
} ,
19
19
} ] ,
20
20
rules : {
Original file line number Diff line number Diff line change 36
36
"devDependencies" : {
37
37
"@babel/core" : " ^7.0.0" ,
38
38
"@babel/preset-env" : " ^7.0.0" ,
39
+ "@rollup/plugin-babel" : " ^5.0.0" ,
39
40
"babel-eslint" : " ^10.0.0" ,
40
- "babel-jest" : " ^25 .0.0" ,
41
- "eslint" : " ^6 .0.0" ,
42
- "eslint-config-airbnb-base" : " ^13 .0.0" ,
41
+ "babel-jest" : " ^26 .0.0" ,
42
+ "eslint" : " ^7 .0.0" ,
43
+ "eslint-config-airbnb-base" : " ^14 .0.0" ,
43
44
"eslint-plugin-import" : " ^2.0.0" ,
44
45
"glob" : " ^7.0.0" ,
45
- "jest-cli" : " ^25.0.0" ,
46
- "remark-cli" : " ^7.0.0" ,
47
- "remark-preset-wooorm" : " ^6.0.0" ,
48
- "rollup" : " ^1.0.0" ,
49
- "rollup-plugin-babel" : " ^4.0.0"
46
+ "jest-cli" : " ^26.0.0" ,
47
+ "remark-cli" : " ^8.0.0" ,
48
+ "remark-preset-wooorm" : " ^7.0.0" ,
49
+ "rollup" : " ^2.0.0"
50
50
},
51
51
"scripts" : {
52
52
"build" : " rollup -c" ,
53
- "lint" : " remark . -qfo && eslint ." ,
53
+ "lint" : " remark . -qfo && eslint . --fix " ,
54
54
"test" : " jest" ,
55
55
"test:dev" : " jest --watchAll"
56
56
},
Original file line number Diff line number Diff line change 1
- import babel from 'rollup- plugin-babel' ;
1
+ import babel from '@ rollup/ plugin-babel' ;
2
2
import pkg from './package.json' ;
3
3
4
4
export default {
You can’t perform that action at this time.
0 commit comments