Skip to content

Add Langium ESLint rules #81

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

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

Conversation

didrikmunther
Copy link
Collaborator

@didrikmunther didrikmunther commented May 28, 2025

Adds ESLint with @Stylistic plugin to allow for formatting, as well as an action checking the linting and formatting.

The rules are the same as Langium, with the exception of:

'@typescript-eslint/no-empty-object-type': 'off' // Langium has 'error'

This was added because of several interfaces/types were empty.

@didrikmunther didrikmunther marked this pull request as ready for review May 28, 2025 09:20
@didrikmunther didrikmunther changed the title Add prettier and eslint setup Add Langium ESLint rules May 28, 2025
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.

1 participant