v3.0.0
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 conventionNEXT_JS_PAGE_ROUTER_FILENAME_CASE
which is used for Next.js page router project - the rule
no-index
can seterrorMessage
property to customize the error message - the rule
folder-match-with-fex
can seterrorMessage
property to customize the error message - the rule
folder-naming-convention
can seterrorMessage
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 likerss.xml
Removed
- remove legacy support for
context
object - remove legacy support for rule
filename-blocklist
- remove legacy configuration support