Releases: scratchfoundation/eslint-config-scratch
Releases · scratchfoundation/eslint-config-scratch
v12.0.2
v12.0.1
v12.0.0
12.0.0 (2025-09-23)
Bug Fixes
- legacy: forbid JSX syntax outside of JSX/TSX files (172074c)
- legacy: stop TS support from breaking non-TS projects (b2c62b2)
- legacy: use TS rules where possible (335ccb8)
- replace
config
withdefineConfig
(3b2c7bd) - use @stylistic/indent to work around ts/eslint bug (63a0d62), closes typescript-eslint/typescript-eslint#11455
Features
- add minimal TS support to legacy rule sets (2b4d83e)
BREAKING CHANGES
- legacy: TS rules are no longer active in non-TS files unless
explicitly added through the user's configuration - this rule seems to handle a few cases differently.
- legacy: JSX use outside of JSX/TSX files is now forbidden
- legacy: TS rules are now active even in non-TS files
- while
defineConfig
is almost the same asconfig
,
there are some cases that differ. See:
https://typescript-eslint.io/packages/typescript-eslint/#migrating-to-defineconfig