Skip to content

Upgrade eslint#37

Merged
GrahamCampbell merged 1 commit into
mainfrom
upgrade-eslint
Jun 11, 2026
Merged

Upgrade eslint#37
GrahamCampbell merged 1 commit into
mainfrom
upgrade-eslint

Conversation

@GrahamCampbell

Copy link
Copy Markdown
Contributor

This upgrades our eslint setup to match the recent changes in the main osls repository. The configuration file has been renamed from eslint.config.js to eslint.config.mjs and converted to an ES module, now using the defineConfig and globalIgnores helpers from eslint/config. Each configuration block has been given a name to make eslint's config inspection output easier to follow, and the ecmaVersion has been raised from 2023 to 2025. Finally, eslint-plugin-n has been upgraded from v17 to v18, with the rule set adjusted to disable the import-flavoured resolution checks that do not fit this CommonJS codebase, while enforcing n/no-unpublished-import on published files and enabling n/no-unpublished-bin.

@GrahamCampbell GrahamCampbell merged commit 4b6414d into main Jun 11, 2026
4 checks passed
@GrahamCampbell GrahamCampbell deleted the upgrade-eslint branch June 11, 2026 01:01
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