Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit: decide JS dialect/style #2663

Open
oliver-sanders opened this issue Jan 24, 2023 · 1 comment
Open

edit: decide JS dialect/style #2663

oliver-sanders opened this issue Jan 24, 2023 · 1 comment
Labels
Milestone

Comments

@oliver-sanders
Copy link
Member

oliver-sanders commented Jan 24, 2023

In theory we have a wide choice of JavaScript dialects to choose from.

In practice the choice of web framework etc may constrain this. Note Vue is implemented in TypeScript which might make TypeScript a more natural choice.

Pick a dialect e.g:

  • ECMA2016
  • TypeScript
  • Something else

Pick a style e.g:

  • Standard (nope!)
  • Prettier
  • Bespoke eslint config
  • Something else
@oliver-sanders oliver-sanders added this to the 2.gui milestone Jan 24, 2023
@wxtim
Copy link
Contributor

wxtim commented Jan 27, 2023

5 minutes of playing with it makes me favour prettier.

Prettier's front page makes it look like Black, which I'd be wary of, but it looks a good deal more open to alternative opinions - see https://prettier.io/docs/en/options.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants