Skip to content

refactor: ci and eslint improvements - #227

Open
saberzero1 wants to merge 1 commit into
community-archive:mainfrom
saberzero1:upstream-ci
Open

refactor: ci and eslint improvements#227
saberzero1 wants to merge 1 commit into
community-archive:mainfrom
saberzero1:upstream-ci

Conversation

@saberzero1

@saberzero1 saberzero1 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

This pull request modernizes and restructures the project's linting and CI/CD setup. It migrates from a legacy .eslintrc.js configuration to the new flat config format with eslint.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:

  • Migrated from the legacy .eslintrc.js to the new flat config format in eslint.config.mts, using the eslint-plugin-obsidianmd recommended config and improved global ignores.
  • Updated package.json lint scripts to use the new config and lint the entire project, not just the src directory.
  • Updated and added ESLint-related dependencies to align with the new config format and plugins.

CI/CD workflow enhancements:

  • Added a new .github/workflows/ci.yml workflow to run lint, typecheck, and test jobs on pushes and pull requests, ensuring code quality and type safety.
  • Refactored .github/workflows/release.yml to use a two-stage process: a ci job that runs checks and a release job that builds, attests, and creates releases, with updated Node.js version and improved permissions.

Dependency updates:

  • Updated several development dependencies in package.json, including eslint, typescript, and added eslint-plugin-obsidianmd, globals, and others to support the new linting setup.

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