Skip to content

Add editorconfig, prettier and sync lint rules with GNOME Shells#342

Open
Leleat wants to merge 3 commits intomainfrom
format-prettier
Open

Add editorconfig, prettier and sync lint rules with GNOME Shells#342
Leleat wants to merge 3 commits intomainfrom
format-prettier

Conversation

@Leleat
Copy link
Owner

@Leleat Leleat commented May 15, 2024

I am not sure how I feel about adding prettier yet. I like the general formatting of prettier but a) Tiling Assistant hasn't used it before and b) I've never seen prettier used in a GNOME context before... I'll need to mull it over...

@jtojnar
Copy link

jtojnar commented Jun 2, 2024

Apparently, ESLint is moving away from stylistic rules so prettier will probably be necessary: https://typescript-eslint.io/troubleshooting/formatting/#eslint-core-and-formatting

Leleat added 3 commits August 11, 2024 21:54
The lint rules came from GNOME Shell's repo but have been outdated for a
while. So update them now (and transform them to eslint's new flat file
format). Only change is that I will always require curly braces as I am
not a fan of prettier inlining expressions with something like if clauses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants