Skip to content

Releases: dukeluo/eslint-plugin-check-file

v2.1.0

25 Mar 05:12
Compare
Choose a tag to compare

Thanks to @jbkey23 #18

Fixed

  • the rule filename-blacklist can specify the target file by its file path

Deprecated

  • the rule filename-blacklist can specify the target file by its filename

v2.0.0

05 Mar 05:54
Compare
Choose a tag to compare

Thanks to @jbkey23 #16

Changed

  • the rule filename-blacklist renamed to filename-blocklist
  • the rule filename-naming-convention show filename without path in error message

Removed

  • the rule filename-naming-convention can specify the target file by its extension

In this version, there have been some incompatible changes. Here is what you need to know:

  • the rule filename-blacklist need to renamed to filename-blocklist
  • the rule filename-naming-convention cann't specify the target file by its extension any more. Please select your target files by their file path. For example, using **/*.js instead of *.js to select all js files.

v1.3.1

15 Jan 06:48
Compare
Choose a tag to compare

Fixed

  • fix builtin CAMEL_CASE glob expression #14

v1.3.0

05 Nov 14:10
Compare
Choose a tag to compare

Thanks to @florianehmke #11

Added

  • the rule filename-blacklist can blacklist file names by pattern

v1.2.3

22 Sep 15:35
Compare
Choose a tag to compare

Fixed

  • fix builtin SNAKE_CASE, KEBAB_CASE and SCREAMING_SNAKE_CASE glob expressions

Changed

  • reduce npm package size

v1.2.2

14 Jul 16:58
Compare
Choose a tag to compare

Fixed

  • enhance support for the Windows operating system

v1.2.1

09 Jul 10:06
Compare
Choose a tag to compare

Added

  • add CHANGELOG

Changed

  • add Windows operation system support

Fixed

  • fix get wrong folder issue when eslint is worked with processors

V1.2.0

04 Jul 15:48
Compare
Choose a tag to compare

New Feature

  • the rule filename-naming-convention can specify the target file by its file path
  • the rule filename-naming-convention can set ignoreMiddleExtensions property to ignore middle extensions when matching naming pattern

Others

  • optimize docs

Please Note: When using the rule filename-naming-convention, please specify the target file by its file path, the compatible feature of specifying the target file by extension will be removed in the future.

V1.1.0

23 Feb 15:11
Compare
Choose a tag to compare

Add 1 rule:

  • check-file/folder-naming-convention: Enforce a consistent naming pattern for the name of the specified folder

v1.0.0

10 Jan 16:25
Compare
Choose a tag to compare

Add 3 rules:

  • check-file/folder-match-with-fex: Enforce a consistent naming pattern for the folder of the specified file extension
  • check-file/filename-naming-convention: Enforce a consistent naming pattern for the filename of the specified file extension
  • check-file/no-index: A file cannot be named "index"