Skip to content

Releases: dukeluo/eslint-plugin-check-file

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

v2.3.0

13 May 05:14
Compare
Choose a tag to compare

Fixed

  • the rule folder-naming-convention can use a pattern with multiple matchers to select target folders #21

Added

  • the rule filename-blocklist should report an error when blocklist pattern object isn't an object type
  • the rule filename-naming-convention should report an error when naming pattern object isn't an object type
  • the rule folder-match-with-fex should report an error when naming pattern object isn't an object type
  • the rule folder-naming-convention should report an error when naming pattern object isn't an object type

Changed

  • unify the style of error messages for the existing rules
  • upgrade dependencies to the latest version

v2.2.0

01 Apr 06:23
Compare
Choose a tag to compare

Thanks to @ratierd #17

Added

  • the rule filename-naming-convention can use prefined match syntax