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

UI eslint stylelint formatting #15997

Merged
merged 9 commits into from
Sep 5, 2024

Conversation

schlawg
Copy link
Collaborator

@schlawg schlawg commented Sep 3, 2024

There seem to be multiple ways to go after neovim integration with eslint, but this one seems most standard:

https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#eslint

@ornicar
Copy link
Collaborator

ornicar commented Sep 4, 2024

The build breaks because of a master commit which I now have reverted

@ornicar
Copy link
Collaborator

ornicar commented Sep 4, 2024

What about these scripts in package.json?

  "scripts": {
    "format": "prettier --write --log-level warn .",
    "check-format": "prettier --check --log-level warn .",
    "watch-format": "onchange \"**/*\" -- prettier --write --log-level warn {{changed}}",

Shouldn't they now use both prettier and eslint?

@schlawg
Copy link
Collaborator Author

schlawg commented Sep 4, 2024

ugh. watch-format.

@ornicar ornicar merged commit 8fa47c6 into lichess-org:master Sep 5, 2024
3 checks passed
@schlawg schlawg deleted the ui-eslint-stylelint-formatting branch September 5, 2024 15:17
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