Closed Bug 1563848 Opened 4 months ago Closed 4 months ago

Recommend a VSCode plugin for prettier

Categories

(Firefox Build System :: Developer Environment Integration, task)

task
Not set

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: past, Assigned: past)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We just made prettier a requirement for m-c and point to various editor plugins on MDN. We should make the same recommendation in VSCode's configuration.

Assignee: nobody → past
Status: NEW → ASSIGNED

See also the example bit in the docs: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style/Formatting_JS_Code_With_Prettier_and_eslint#Example

{
  "editor.formatOnSave": true,
  "eslint.autoFixOnSave": true,
  "eslint.options": {
    "rules": {
      "prettier/prettier": "off",
    }
  }
}
Pushed by pastithas@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9514e803f9b9
Recommend a VSCode plugin for prettier. r=vporof

(In reply to Victor Porof [:vporof][:vp] from comment #2)

See also the example bit in the docs: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style/Formatting_JS_Code_With_Prettier_and_eslint#Example

Yeah, it would have been nice to include that too had we decided not to ignore settings.json in bug 1341585. Perhaps that is a decision that we could revisit.

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.