core: v0.13.0
0.13.0 (2025-04-30)
⚠ BREAKING CHANGES
- Add getLoc/getRange to SourceCode interface (#89)
Features
- Add
Language.defaultLanguageOptions(#123) (1ecf0f8) - add CommonJS
coretypes (#102) (6caa5e1) - add core types for language-specific rule definitions (#178) (fd9b571)
- Add Directive and DirectiveType (#112) (e5bbcf1)
- Add eslint/core package (#68) (e3d309d)
- Add getLoc/getRange to SourceCode interface (#89) (d51f979)
- Add Language#normalizeLanguageOptions() (#131) (3591a78)
- Add meta.language and meta.dialects to RuleDefinition (#156) (dac0387)
- Add more type definitions (#81) (df3263b)
- Add plugin-kit package (#99) (09ce430)
- Add rule types (#110) (ffa176f)
- Check messageIds in context.report() (#140) (1c9ca4d)
- make
TextSourceCodeBasea generic type (#182) (484b6ca) - Set type for RuleDefinition.defaultOptions (#173) (d5806df)
- Update RuleDefinition for frozen and deprecations (#149) (4964322)
- Update RuleDefinition with
meta.defaultOptions(#150) (e9a987e)
Bug Fixes
- make
plugin-kittypes usable in CommonJS (#143) (f77ba17) - Make meta.replacedBy read only (#146) (7dfc0d9)
- non-optional properties in generic interfaces (#132) (d0b2e70)
- Types to align with older ESLint types (#155) (664740a)
- Update RuleDefinition type (#138) (0a0ea6f)
- Update RuleVisitor type (#135) (156d601)