Skip to content

Commit

Permalink
Enforce spacing around * in generator functions (generator-star-spacing)
Browse files Browse the repository at this point in the history
ESLint support the async keyword now, so we can re-enable this rule
that we previously disabled due to a bug:

Reverts:
18ab64fa9c623648
7caaba6ee3aa9e117eb94e5c

Fixes: standard/standard#724
  • Loading branch information
feross committed Feb 9, 2017
1 parent f0bf4c7 commit 4f38b18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslintrc.json
Expand Up @@ -39,6 +39,7 @@
"eol-last": "error",
"eqeqeq": ["error", "always", { "null": "ignore" }],
"func-call-spacing": ["error", "never"],
"generator-star-spacing": ["error", { "before": true, "after": true }],
"handle-callback-err": ["error", "^(err|error)$" ],
"indent": ["error", 2, { "SwitchCase": 1 }],
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
Expand Down

0 comments on commit 4f38b18

Please sign in to comment.