Skip to content

v2.0.0

Choose a tag to compare

@denniskigen denniskigen released this 05 Aug 13:10
· 1 commit to main since this release
e702cb9

Breaking: @typescript-eslint/no-require-imports is restored to error for source files, matching the legacy configs this package was ported from. require() stays allowed in CommonJS tooling and config files (*.config.js, *-config.js, karma.conf.js, protractor.conf.js, tools/**, setup-tests.js, __mocks__/**, *.cjs). 1.0.0 disabled the rule everywhere by mistake.

Dependency floors move to the versions validated for this release: @eslint/js ^9.39.0, eslint-config-prettier ^10.1.8, eslint-plugin-react-hooks ^7.1.1, globals ^17.9.0, typescript-eslint ^8.66.0, eslint-plugin-testing-library ^7.16.2, eslint-plugin-jest-dom ^5.10.1, eslint-plugin-playwright ^2.11.0, eslint-plugin-import ^2.32.0.

Upgrading from 1.0.0: repos whose source already passed the legacy configs need no code changes, with one exception. If your repo adopted 1.0.0 and its lint deleted eslint-disable comments for no-require-imports as unused, restore them (openmrs-esm-core needs 7). See the README's versioning policy for what may change in minors versus majors.