Change8

v9.35.0

📦 eslintView on GitHub →
3 features🐛 5 fixes🔧 7 symbols

Summary

This release introduces the preserve-caught-error rule and adds suggestions to no-empty-function and no-empty-static-block. It also includes several bug fixes for rule types and false positives, alongside internal refactoring to remove deprecated context.parserOptions usage.

✨ New Features

  • Implement suggestions for no-empty-function rule
  • Implement suggestions for no-empty-static-block rule
  • Add preserve-caught-error rule

🐛 Bug Fixes

  • Update uncloneable options error message
  • Ignore empty switch statements with comments in no-empty rule
  • Add before and after to test case types
  • Correct types for no-restricted-imports rule
  • Fix no-loss-of-precision false positive with uppercase exponent

🔧 Affected Symbols

no-empty-functionno-empty-static-blockpreserve-caught-errorno-emptyno-restricted-importsno-loss-of-precisioncontext.parserOptions