File tree 4 files changed +12
-0
lines changed
4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ module.exports = {
15
15
'babel-preset-react'
16
16
] . map ( require . resolve ) ,
17
17
plugins : [
18
+ 'babel-plugin-syntax-trailing-function-commas' ,
19
+ 'babel-plugin-transform-class-properties' ,
18
20
'babel-plugin-transform-object-rest-spread'
19
21
] . map ( require . resolve )
20
22
} ;
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ module.exports = {
14
14
'babel-preset-react'
15
15
] . map ( require . resolve ) ,
16
16
plugins : [
17
+ 'babel-plugin-syntax-trailing-function-commas' ,
18
+ 'babel-plugin-transform-class-properties' ,
17
19
'babel-plugin-transform-object-rest-spread' ,
18
20
'babel-plugin-transform-react-constant-elements'
19
21
] . map ( require . resolve )
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ var ERROR = 2; // rules that prevent common mistakes
16
16
module . exports = {
17
17
root : true ,
18
18
19
+ parser : 'babel-eslint' ,
20
+
19
21
plugins : [ 'react' , 'import' ] ,
20
22
21
23
env : {
Original file line number Diff line number Diff line change 29
29
"dependencies" : {
30
30
"autoprefixer" : " ^6.3.7" ,
31
31
"babel-core" : " ^6.10.4" ,
32
+ "babel-eslint" : " ^6.1.2" ,
32
33
"babel-loader" : " ^6.2.4" ,
34
+ "babel-plugin-syntax-trailing-function-commas" : " ^6.8.0" ,
35
+ "babel-plugin-transform-class-properties" : " ^6.10.2" ,
33
36
"babel-plugin-transform-object-rest-spread" : " ^6.8.0" ,
34
37
"babel-plugin-transform-react-constant-elements" : " ^6.9.1" ,
35
38
"babel-preset-es2015" : " ^6.9.0" ,
59
62
"bundledDependencies" : [
60
63
" autoprefixer" ,
61
64
" babel-core" ,
65
+ " babel-eslint" ,
62
66
" babel-loader" ,
67
+ " babel-plugin-syntax-trailing-function-commas" ,
68
+ " babel-plugin-transform-class-properties" ,
63
69
" babel-plugin-transform-object-rest-spread" ,
64
70
" babel-plugin-transform-react-constant-elements" ,
65
71
" babel-preset-es2015" ,
You can’t perform that action at this time.
0 commit comments