Skip to content

Commit 8fd732c

Browse files
committed
chore: bumped version number to 2.7.0
1 parent 037d787 commit 8fd732c

File tree

3 files changed

+43
-18
lines changed

3 files changed

+43
-18
lines changed

CHANGELOG.md

+40-15
Original file line numberDiff line numberDiff line change
@@ -5,146 +5,171 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.7.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.6.2...v2.7.0) - 2024-02-18
9+
10+
### Added
11+
12+
- the rule `filename-naming-convention` can set `errorMessage` property to customize the error message
13+
- the rule `filename-blocklist` can set `errorMessage` property to customize the error message
14+
15+
### Changed
16+
17+
- Node.js version should >= 18
18+
819
## [2.6.2](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.6.1...v2.6.2) - 2023-08-13
920

1021
### Fixed
11-
- the naming convention `NEXT_JS_APP_ROUTER_CASE` can support Next.js Private Folders
1222

23+
- the naming convention `NEXT_JS_APP_ROUTER_CASE` can support Next.js Private Folders
1324

1425
## [2.6.1](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.6.0...v2.6.1) - 2023-07-30
1526

1627
### Fixed
17-
- fix bundle mistake in v2.6.0
1828

29+
- fix bundle mistake in v2.6.0
1930

2031
## [2.6.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.5.0...v2.6.0) - 2023-07-30
2132

2233
### Added
34+
2335
- added ES Module support
2436

2537
### Deprecated
26-
- deprecated Node.js 14 support
2738

39+
- deprecated Node.js 14 support
2840

2941
## [2.5.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.4.0...v2.5.0) - 2023-07-05
3042

3143
### Added
32-
- the rule `folder-naming-convention` can be used with a new built-in naming convention `NEXT_JS_APP_ROUTER_CASE`
3344

45+
- the rule `folder-naming-convention` can be used with a new built-in naming convention `NEXT_JS_APP_ROUTER_CASE`
3446

3547
## [2.4.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.3.0...v2.4.0) - 2023-06-12
3648

3749
### Fixed
50+
3851
- the rule `folder-naming-convention` can work well with `*` in the glob
3952

4053
### Added
54+
4155
- the rule `no-index` can ignore middle extensions
4256

4357
### Changed
44-
- improve documentation
4558

59+
- improve documentation
4660

4761
## [2.3.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.2.0...v2.3.0) - 2023-05-13
4862

4963
### Fixed
64+
5065
- the rule `folder-naming-convention` can use a pattern with multiple matchers to select target folders
5166

5267
### Added
68+
5369
- the rule `filename-blocklist` should report an error when blocklist pattern object isn't an object type
5470
- the rule `filename-naming-convention` should report an error when naming pattern object isn't an object type
5571
- the rule `folder-match-with-fex` should report an error when naming pattern object isn't an object type
5672
- the rule `folder-naming-convention` should report an error when naming pattern object isn't an object type
5773

5874
### Changed
75+
5976
- unify the style of error messages for the existing rules
6077
- upgrade dependencies to the latest version
6178

62-
6379
## [2.2.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.1.0...v2.2.0) - 2023-04-01
6480

6581
### Added
66-
- the rule `filename-naming-convention` can use prefined match syntax
6782

83+
- the rule `filename-naming-convention` can use prefined match syntax
6884

6985
## [2.1.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.0.0...v2.1.0) - 2023-03-25
7086

7187
### Fixed
88+
7289
- the rule `filename-blacklist` can specify the target file by its file path
7390

7491
### Deprecated
75-
- the rule `filename-blacklist` can specify the target file by its filename
7692

93+
- the rule `filename-blacklist` can specify the target file by its filename
7794

7895
## [2.0.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.3.1...v2.0.0) - 2023-03-05
7996

8097
### Changed
98+
8199
- the rule `filename-blacklist` renamed to `filename-blocklist`
82100
- the rule `filename-naming-convention` show filename without path in error message
83101

84102
### Removed
85-
- the rule `filename-naming-convention` can specify the target file by its extension
86103

104+
- the rule `filename-naming-convention` can specify the target file by its extension
87105

88106
## [1.3.1](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.3.0...v1.3.1) - 2023-01-15
89107

90108
### Fixed
91-
- fix builtin `CAMEL_CASE` glob expression
92109

110+
- fix builtin `CAMEL_CASE` glob expression
93111

94112
## [1.3.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.2.3...v1.3.0) - 2022-11-05
95113

96114
### Added
97-
- the rule `filename-blacklist` can blacklist file names by pattern
98115

116+
- the rule `filename-blacklist` can blacklist file names by pattern
99117

100118
## [1.2.3](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.2.2...v1.2.3) -2022-09-22
101119

102120
### Fixed
121+
103122
- fix builtin `SNAKE_CASE`, `KEBAB_CASE` and `SCREAMING_SNAKE_CASE` glob expressions
104123

105124
### Changed
125+
106126
- reduce npm package size
107127

108128
## [1.2.2](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.2.1...v1.2.2) -2022-07-15
109129

110130
### Fixed
111-
- enhance support for the Windows operating system
112131

132+
- enhance support for the Windows operating system
113133

114134
## [1.2.1](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.2.0...v1.2.1) -2022-07-09
115135

116136
### Added
137+
117138
- add CHANGELOG
118139

119140
### Changed
141+
120142
- add Windows operation system support
121143

122144
### Fixed
123-
- fix get wrong folder issue when `eslint` is worked with processors
124145

146+
- fix get wrong folder issue when `eslint` is worked with processors
125147

126148
## [1.2.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.1.0...v1.2.0) - 2022-07-04
127149

128150
### Added
151+
129152
- the rule `filename-naming-convention` can specify the target file by its file path
130153
- the rule `filename-naming-convention` can set `ignoreMiddleExtensions` property to ignore middle extensions when matching naming pattern
131154

132155
### Changed
156+
133157
- optimize docs
134158

135159
### Deprecated
136-
- the rule `filename-naming-convention` can specify the target file by its extension
137160

161+
- the rule `filename-naming-convention` can specify the target file by its extension
138162

139163
## [1.1.0](https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.0.0...v1.1.0) - 2022-02-23
140164

141165
### Added
142-
- `check-file/folder-naming-convention`: Enforce a consistent naming pattern for the name of the specified folder
143166

167+
- `check-file/folder-naming-convention`: Enforce a consistent naming pattern for the name of the specified folder
144168

145169
## [1.0.0](https://github.com/DukeLuo/eslint-plugin-check-file/releases/tag/v1.0.0) - 2022-01-11
146170

147171
### Added
172+
148173
- `check-file/folder-match-with-fex`: Enforce a consistent naming pattern for the folder of the specified file extension
149174
- `check-file/filename-naming-convention`: Enforce a consistent naming pattern for the filename of the specified file extension
150175
- `check-file/no-index`: A file cannot be named "index"

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-check-file",
3-
"version": "2.6.2",
3+
"version": "2.7.0",
44
"description": "ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder",
55
"keywords": [
66
"eslint",

0 commit comments

Comments
 (0)