Releases: dukeluo/eslint-plugin-check-file
Releases · dukeluo/eslint-plugin-check-file
v2.1.0
v2.0.0
Changed
- the rule
filename-blacklist
renamed tofilename-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 tofilename-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
v1.3.0
v1.2.3
v1.2.2
v1.2.1
V1.2.0
New Feature
- the rule
filename-naming-convention
can specify the target file by its file path - the rule
filename-naming-convention
can setignoreMiddleExtensions
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
v1.0.0
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"