@@ -5,146 +5,171 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
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
+
8
19
## [ 2.6.2] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.6.1...v2.6.2 ) - 2023-08-13
9
20
10
21
### Fixed
11
- - the naming convention ` NEXT_JS_APP_ROUTER_CASE ` can support Next.js Private Folders
12
22
23
+ - the naming convention ` NEXT_JS_APP_ROUTER_CASE ` can support Next.js Private Folders
13
24
14
25
## [ 2.6.1] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.6.0...v2.6.1 ) - 2023-07-30
15
26
16
27
### Fixed
17
- - fix bundle mistake in v2.6.0
18
28
29
+ - fix bundle mistake in v2.6.0
19
30
20
31
## [ 2.6.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.5.0...v2.6.0 ) - 2023-07-30
21
32
22
33
### Added
34
+
23
35
- added ES Module support
24
36
25
37
### Deprecated
26
- - deprecated Node.js 14 support
27
38
39
+ - deprecated Node.js 14 support
28
40
29
41
## [ 2.5.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.4.0...v2.5.0 ) - 2023-07-05
30
42
31
43
### Added
32
- - the rule ` folder-naming-convention ` can be used with a new built-in naming convention ` NEXT_JS_APP_ROUTER_CASE `
33
44
45
+ - the rule ` folder-naming-convention ` can be used with a new built-in naming convention ` NEXT_JS_APP_ROUTER_CASE `
34
46
35
47
## [ 2.4.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.3.0...v2.4.0 ) - 2023-06-12
36
48
37
49
### Fixed
50
+
38
51
- the rule ` folder-naming-convention ` can work well with ` * ` in the glob
39
52
40
53
### Added
54
+
41
55
- the rule ` no-index ` can ignore middle extensions
42
56
43
57
### Changed
44
- - improve documentation
45
58
59
+ - improve documentation
46
60
47
61
## [ 2.3.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.2.0...v2.3.0 ) - 2023-05-13
48
62
49
63
### Fixed
64
+
50
65
- the rule ` folder-naming-convention ` can use a pattern with multiple matchers to select target folders
51
66
52
67
### Added
68
+
53
69
- the rule ` filename-blocklist ` should report an error when blocklist pattern object isn't an object type
54
70
- the rule ` filename-naming-convention ` should report an error when naming pattern object isn't an object type
55
71
- the rule ` folder-match-with-fex ` should report an error when naming pattern object isn't an object type
56
72
- the rule ` folder-naming-convention ` should report an error when naming pattern object isn't an object type
57
73
58
74
### Changed
75
+
59
76
- unify the style of error messages for the existing rules
60
77
- upgrade dependencies to the latest version
61
78
62
-
63
79
## [ 2.2.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.1.0...v2.2.0 ) - 2023-04-01
64
80
65
81
### Added
66
- - the rule ` filename-naming-convention ` can use prefined match syntax
67
82
83
+ - the rule ` filename-naming-convention ` can use prefined match syntax
68
84
69
85
## [ 2.1.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v2.0.0...v2.1.0 ) - 2023-03-25
70
86
71
87
### Fixed
88
+
72
89
- the rule ` filename-blacklist ` can specify the target file by its file path
73
90
74
91
### Deprecated
75
- - the rule ` filename-blacklist ` can specify the target file by its filename
76
92
93
+ - the rule ` filename-blacklist ` can specify the target file by its filename
77
94
78
95
## [ 2.0.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.3.1...v2.0.0 ) - 2023-03-05
79
96
80
97
### Changed
98
+
81
99
- the rule ` filename-blacklist ` renamed to ` filename-blocklist `
82
100
- the rule ` filename-naming-convention ` show filename without path in error message
83
101
84
102
### Removed
85
- - the rule ` filename-naming-convention ` can specify the target file by its extension
86
103
104
+ - the rule ` filename-naming-convention ` can specify the target file by its extension
87
105
88
106
## [ 1.3.1] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.3.0...v1.3.1 ) - 2023-01-15
89
107
90
108
### Fixed
91
- - fix builtin ` CAMEL_CASE ` glob expression
92
109
110
+ - fix builtin ` CAMEL_CASE ` glob expression
93
111
94
112
## [ 1.3.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.2.3...v1.3.0 ) - 2022-11-05
95
113
96
114
### Added
97
- - the rule ` filename-blacklist ` can blacklist file names by pattern
98
115
116
+ - the rule ` filename-blacklist ` can blacklist file names by pattern
99
117
100
118
## [ 1.2.3] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.2.2...v1.2.3 ) -2022-09-22
101
119
102
120
### Fixed
121
+
103
122
- fix builtin ` SNAKE_CASE ` , ` KEBAB_CASE ` and ` SCREAMING_SNAKE_CASE ` glob expressions
104
123
105
124
### Changed
125
+
106
126
- reduce npm package size
107
127
108
128
## [ 1.2.2] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.2.1...v1.2.2 ) -2022-07-15
109
129
110
130
### Fixed
111
- - enhance support for the Windows operating system
112
131
132
+ - enhance support for the Windows operating system
113
133
114
134
## [ 1.2.1] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.2.0...v1.2.1 ) -2022-07-09
115
135
116
136
### Added
137
+
117
138
- add CHANGELOG
118
139
119
140
### Changed
141
+
120
142
- add Windows operation system support
121
143
122
144
### Fixed
123
- - fix get wrong folder issue when ` eslint ` is worked with processors
124
145
146
+ - fix get wrong folder issue when ` eslint ` is worked with processors
125
147
126
148
## [ 1.2.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.1.0...v1.2.0 ) - 2022-07-04
127
149
128
150
### Added
151
+
129
152
- the rule ` filename-naming-convention ` can specify the target file by its file path
130
153
- the rule ` filename-naming-convention ` can set ` ignoreMiddleExtensions ` property to ignore middle extensions when matching naming pattern
131
154
132
155
### Changed
156
+
133
157
- optimize docs
134
158
135
159
### Deprecated
136
- - the rule ` filename-naming-convention ` can specify the target file by its extension
137
160
161
+ - the rule ` filename-naming-convention ` can specify the target file by its extension
138
162
139
163
## [ 1.1.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/compare/v1.0.0...v1.1.0 ) - 2022-02-23
140
164
141
165
### Added
142
- - ` check-file/folder-naming-convention ` : Enforce a consistent naming pattern for the name of the specified folder
143
166
167
+ - ` check-file/folder-naming-convention ` : Enforce a consistent naming pattern for the name of the specified folder
144
168
145
169
## [ 1.0.0] ( https://github.com/DukeLuo/eslint-plugin-check-file/releases/tag/v1.0.0 ) - 2022-01-11
146
170
147
171
### Added
172
+
148
173
- ` check-file/folder-match-with-fex ` : Enforce a consistent naming pattern for the folder of the specified file extension
149
174
- ` check-file/filename-naming-convention ` : Enforce a consistent naming pattern for the filename of the specified file extension
150
175
- ` check-file/no-index ` : A file cannot be named "index"
0 commit comments