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

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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