Skip to content

Releases: dukeluo/eslint-plugin-check-file

v3.1.0

16 Feb 02:40
4125eae
Compare
Choose a tag to compare

Thanks @ic4l4s9c (#55) !

Added

  • add support for css,json,markdown parsers

Changed

  • improve documentation

v3.0.0

31 Jan 03:34
99ecfdf
Compare
Choose a tag to compare

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

v2.8.0

14 Apr 04:32
Compare
Choose a tag to compare

Added

  • support flat config for ESLint v9.0.0

v2.7.1

24 Feb 07:43
Compare
Choose a tag to compare

Fixed

  • the rule filename-blocklist can set the suggested glob pattern as empty string when errorMessage is set (#36)

v2.7.0

18 Feb 15:25
Compare
Choose a tag to compare

Thanks @AtlasTom (#34)

Added

  • the rule filename-naming-convention can set errorMessage property to customize the error message
  • the rule filename-blocklist can set errorMessage property to customize the error message

Changed

  • Node.js version should >= 18

v2.6.2

13 Aug 14:56
Compare
Choose a tag to compare

Thanks @leepowellnbs (#31)

Fixed

  • the naming convention NEXT_JS_APP_ROUTER_CASE can support Next.js Private Folders

v2.6.1

30 Jul 03:49
Compare
Choose a tag to compare

Fixed

  • fix bundle mistake in v2.6.0

v2.6.0

30 Jul 03:28
Compare
Choose a tag to compare

This version has been deprecated. Please use the latest version.

Added

  • added ES Module support

Deprecated

  • deprecated Node.js 14 support

Node.js 14 support will be removed in next major version.

v2.5.0

04 Jul 16:13
Compare
Choose a tag to compare

Thanks to @milos-sikic-nimbus-tech

Added

  • the rule folder-naming-convention can be used with a new built-in naming convention NEXT_JS_APP_ROUTER_CASE

NEXT_JS_APP_ROUTER_CASE is useful for Next.js App Router projects. Click here to learn more.

v2.4.0

12 Jun 14:00
Compare
Choose a tag to compare

Fixed

  • the rule folder-naming-convention can work well with * in the glob #25

Added

  • the rule no-index can ignore middle extensions #26

Changed

  • improve documentation