winglang/wing

Use formatter and linter for JSON, JS, etc

Open

#279 geöffnet am 17. Okt. 2022

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (214 Forks)github user discovery
good first issue👷‍♀️ contributor-experience

Repository-Metriken

Stars
 (5.385 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I noticed the lack of formatting and linting rules. Specially, the file libs/tree-sitter-wing/grammar.js is not subject to any rules. A prettier config file would be appreciated, otherwise my editor will format with my personal styles when saving, changing the whole file. That may happen to lots of contributors as well.

I suggest using an editorconfig config file (ensures indentation style, end of files, lines at eof, etc), along with a prettier config file.

Related to https://github.com/monadahq/winglang/issues/272.

Contributor Guide