Skip to content

Commit

Permalink
Remove unnecessary semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanRutherford committed Jul 24, 2017
1 parent d1eddb2 commit f4286f0
Show file tree
Hide file tree
Showing 2 changed files with 150 additions and 150 deletions.
12 changes: 6 additions & 6 deletions docs/rules/generator-star-spacing.md
Expand Up @@ -104,7 +104,7 @@ Examples of **correct** code for this rule with the `"before"` option:
/*eslint generator-star-spacing: ["error", {"before": true, "after": false}]*/
/*eslint-env es6*/

function *generator() {};
function *generator() {}

var anonymous = function *() {};

Expand All @@ -119,7 +119,7 @@ Examples of **correct** code for this rule with the `"after"` option:
/*eslint generator-star-spacing: ["error", {"before": false, "after": true}]*/
/*eslint-env es6*/

function* generator() {};
function* generator() {}

var anonymous = function* () {};

Expand All @@ -134,7 +134,7 @@ Examples of **correct** code for this rule with the `"both"` option:
/*eslint generator-star-spacing: ["error", {"before": true, "after": true}]*/
/*eslint-env es6*/

function * generator() {};
function * generator() {}

var anonymous = function * () {};

Expand All @@ -149,7 +149,7 @@ Examples of **correct** code for this rule with the `"neither"` option:
/*eslint generator-star-spacing: ["error", {"before": false, "after": false}]*/
/*eslint-env es6*/

function*generator() {};
function*generator() {}

var anonymous = function*() {};

Expand All @@ -168,13 +168,13 @@ Examples of **correct** code for this rule with overrides present
}]*/
/*eslint-env es6*/

function* generator() {};
function* generator() {}

var anonymous = function*() {};

var shorthand = { *generator() {} };

class Class { static * method() {} };
class Class { static * method() {} }
```

## When Not To Use It
Expand Down

0 comments on commit f4286f0

Please sign in to comment.