Closed Bug 1231751 Opened 9 years ago Closed 5 years ago

[ESLint] generator-star-spacing enforces a space in shorthand generators

Categories

(Developer Infrastructure :: Lint and Formatting, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mak, Unassigned)

References

Details

it currently enforces let o = { * method() { ... } } while we may not want the space after * Though we want function* name() { ... }
Component: General → Lint
Summary: generator-star-spacing enforces a space in shorthand generators → [ESLintgenerator-star-spacing enforces a space in shorthand generators
Summary: [ESLintgenerator-star-spacing enforces a space in shorthand generators → [ESLint] generator-star-spacing enforces a space in shorthand generators
Priority: -- → P3
Product: Testing → Firefox Build System
Priority: P3 → P5

Since we switched to Prettier, we dropped the generator-star-spacing rule as Prettier handles it. It seems that Prettier does what we want here.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.