Skip to content

v3.0.0

Compare
Choose a tag to compare
@dukeluo dukeluo released this 31 Jan 03:34
· 6 commits to main since this release
99ecfdf

Happy Chinese New Year! Wishing you a prosperous Year of the Snake! 🐍

Added

  • the plugin can lint non-js/ts files (e.g., images, styles, etc.) with processor eslint-processor-check-file
  • the rule filename-naming-convention can be used with a new built-in naming convention NEXT_JS_PAGE_ROUTER_FILENAME_CASE which is used for Next.js page router project
  • the rule no-index can set errorMessage property to customize the error message
  • the rule folder-match-with-fex can set errorMessage property to customize the error message
  • the rule folder-naming-convention can set errorMessage property to customize the error message

Changed

  • the error message of the rule folder-match-with-fex uses filename without path
  • improve documentation

Fixed

  • NEXT_JS_APP_ROUTER_CASE can support filename route like rss.xml

Removed

  • remove legacy support for context object
  • remove legacy support for rule filename-blocklist
  • remove legacy configuration support