Repository navigation
What's Changed
New Features 馃帀
- feat(jest): add all preset and inject Jest globals by @elecmonkey in #2342
- feat(rstest): add all, style, and env presets by @elecmonkey in #2344
- feat(react): port prefer-exact-props rule by @elecmonkey in #2340
- feat(unicorn): add no-anonymous-default-export rule by @fansenze in #2353
- feat(react): port require-default-props rule by @elecmonkey in #2346
- feat(unicorn): port expiring-todo-comments rule by @fansenze in #2354
- feat: add unicorn/no-console-spaces rule by @fansenze in #2359
- feat(unicorn): add no-typeof-undefined rule by @HashemKhalifa in #2299
- feat(unicorn): add prefer-flat-math-min-max rule by @HashemKhalifa in #2313
- feat(unicorn): add max-nested-calls rule by @HashemKhalifa in #2314
- feat(unicorn): add prefer-unicode-code-point-escapes by @fansenze in #2361
- feat(unicorn): add no-lonely-if rule by @fansenze in #2362
- feat(unicorn): add no-array-callback-reference rule by @fansenze in #2360
- feat(unicorn): port explicit-length-check rule by @fansenze in #2358
- feat(react): port sort-default-props rule by @elecmonkey in #2366
- feat(unicorn): add no-empty-file rule by @fansenze in #2375
- feat: add unicorn/no-useless-spread by @fansenze in #2378
- feat(unicorn): add no-new-array rule by @fansenze in #2377
- feat(unicorn): add no-global-object-property-assignment rule by @HashemKhalifa in #2316
- feat(unicorn): add no-unnecessary-await rule by @fansenze in #2376
- feat(unicorn): add no-negated-condition rule by @fansenze in #2390
- feat(react): port default-props-match-prop-types rule by @elecmonkey in #2350
- feat(unicorn): add no-single-promise-in-promise-methods by @fansenze in #2374
- feat: enable missing unicorn recommended rules by @fansenze in #2395
- feat: add unicorn/prefer-single-call by @fansenze in #2391
- feat(import): support import attributes across rules by @elecmonkey in #2394
Performance 馃殌
- perf(jsx-a11y): store role-supports-aria-props role data as bitsets by @elecmonkey in #2345
- perf: reuse JavaScript regexp compilation and matchers by @fansenze in #2348
- perf(linter): share prepared rule sets across executors by @fansenze in #2347
- perf(ipc): share Go-Node byte attachments through native memory by @fansenze in #2320
- perf(api): load the private lightweight plugin host by @fansenze in #2372
Bug Fixes 馃悶
- fix(jest): share no-alias-methods engine with rstest by @elecmonkey in #2341
- fix(jest): avoid dropping arguments in prefer-to-have-been-called by sharing the rstest engine by @elecmonkey in #2343
- fix(jest): share max-expects counting engine with rstest by @elecmonkey in #2339
- fix(playground): fix source file selector in dark mode and clipped descenders by @elecmonkey in #2355
- fix: isolate static evaluator mutation analysis by @fansenze in #2368
- fix: align require-array-sort-compare type checks with upstream by @fansenze in #2379
- fix: align type assertion checks and avoid unused scans by @fansenze in #2380
- fix: handle void-like unions in no-meaningless-void-operator by @fansenze in #2381
- fix: align no-unused-vars type parameter usage by @fansenze in #2383
- fix: align no-useless-default-assignment with upstream by @fansenze in #2384
- fix: validate Promise aggregator inputs in await-thenable by @fansenze in #2382
- fix: skip JSX tags in no-unsafe-member-access by @fansenze in #2385
- fix: align default import checks with upstream module semantics by @fansenze in #2386
- fix: check unnecessary type assertions inside methods by @fansenze in #2388
- fix: align no-unsafe-argument spread handling by @fansenze in #2387
- fix: respect synthetic default import options by @fansenze in #2373
- fix(react): require imports for props type annotations by @fansenze in #2399
Refactor 馃敤
- refactor(jest,rstest): share the valid-title rule by @elecmonkey in #2349
- refactor(jest,rstest): share the prefer-each rule by @elecmonkey in #2352
- refactor(jest,rstest): share the require-hook rule by @elecmonkey in #2356
- refactor(jest,rstest): share the no-commented-out-tests rule by @elecmonkey in #2357
Document 馃摉
- docs: fix vars-on-top rule title by @elecmonkey in #2393
- docs: add descriptions to guides and API references by @chenjiahan in #2396
Other Changes
- chore(deps): update dependency @eslint-community/eslint-plugin-eslint-comments to ^4.8.1 by @renovate[bot] in #2371
Full Changelog: v0.9.4...v0.9.5