Skip to content

Commit 28f55d7

Browse files
author
David Zukowski
committed
fix(eslint): use babel for generator star spacing rule
1 parent fedfd79 commit 28f55d7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.eslintrc

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"standard",
55
"standard-react"
66
],
7+
"plugins": [
8+
"babel"
9+
],
710
"env" : {
811
"browser" : true
912
},
@@ -16,6 +19,8 @@
1619
},
1720
"rules": {
1821
"semi" : [2, "never"],
19-
"max-len": [2, 120, 2]
22+
"max-len": [2, 120, 2],
23+
"generator-star-spacing": 0,
24+
"babel/generator-star-spacing": 1
2025
}
2126
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"eslint": "^2.4.0",
134134
"eslint-config-standard": "^5.1.0",
135135
"eslint-config-standard-react": "^2.2.0",
136-
"eslint-plugin-babel": "^3.0.0",
136+
"eslint-plugin-babel": "^3.2.0",
137137
"eslint-plugin-promise": "^1.0.8",
138138
"eslint-plugin-react": "^5.0.0",
139139
"eslint-plugin-standard": "^1.3.1",

0 commit comments

Comments
 (0)