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

Eslint is executed from the root #400

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Eslint is executed from the root #400

merged 1 commit into from
Nov 8, 2023

Conversation

kaisalmen
Copy link
Contributor

Move eslint execution to the main package.json.
Remove the need for base configuration, This applies both to tsconfig and eslint config. Every sub-tsconfig defines their own includes and excludes. VSCode configures its behaviour from the global the tsconfig.json, too that's why it makes sense to feed both eslint and vscode from the same file.
Removed unneeded exclusions and fixed all eslint issues.
Included lint step in GitHub Actions.

Copy link
Contributor

@spoenemann spoenemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

tsconfig.json Outdated Show resolved Hide resolved
- Unify eslint & tsconfig
- Don't lint top-level config files
@kaisalmen kaisalmen merged commit 771285d into master Nov 8, 2023
2 checks passed
@kaisalmen kaisalmen deleted the eslint-global branch November 8, 2023 12:01
@kaisalmen
Copy link
Contributor Author

Sorry, I produced a merge commit.

@spoenemann spoenemann added this to the v1.1.0 milestone Jan 3, 2024
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