refactor: ci and eslint improvements - #227
Open
saberzero1 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request modernizes and restructures the project's linting and CI/CD setup. It migrates from a legacy
.eslintrc.jsconfiguration to the new flat config format witheslint.config.mts, updates lint scripts and dependencies, and introduces improved GitHub Actions workflows for CI and releases. The changes ensure better maintainability, compatibility with the latest tools, and improved automation.Linting configuration migration and improvements:
.eslintrc.jsto the new flat config format ineslint.config.mts, using theeslint-plugin-obsidianmdrecommended config and improved global ignores.package.jsonlint scripts to use the new config and lint the entire project, not just thesrcdirectory.CI/CD workflow enhancements:
.github/workflows/ci.ymlworkflow to run lint, typecheck, and test jobs on pushes and pull requests, ensuring code quality and type safety..github/workflows/release.ymlto use a two-stage process: acijob that runs checks and areleasejob that builds, attests, and creates releases, with updated Node.js version and improved permissions.Dependency updates:
package.json, includingeslint,typescript, and addedeslint-plugin-obsidianmd,globals, and others to support the new linting setup.