Skip to content

Commit 99ecfdf

Browse files
committed
chore: bumped version number to 3.0.0
1 parent 911b882 commit 99ecfdf

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
lines changed

CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,31 @@ 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+
## [3.0.0](https://github.com/dukeluo/eslint-plugin-check-file/compare/v2.8.0...v3.0.0) - 2025-01-30
9+
10+
### Added
11+
12+
- the plugin can lint non-js/ts files (e.g., images, styles, etc.) with processor `eslint-processor-check-file`
13+
- the rule `filename-naming-convention` can be used with a new built-in naming convention `NEXT_JS_PAGE_ROUTER_FILENAME_CASE` which is used for Next.js page router project
14+
- the rule `no-index` can set `errorMessage` property to customize the error message
15+
- the rule `folder-match-with-fex` can set `errorMessage` property to customize the error message
16+
- the rule `folder-naming-convention` can set `errorMessage` property to customize the error message
17+
18+
### Changed
19+
20+
- the error message of the rule `folder-match-with-fex` uses filename without path
21+
- improve documentation
22+
23+
### Fixed
24+
25+
- `NEXT_JS_APP_ROUTER_CASE` can support filename route like `rss.xml`
26+
27+
### Removed
28+
29+
- remove legacy support for `context` object
30+
- remove legacy support for rule `filename-blocklist`
31+
- remove legacy configuration support
32+
833
## [2.8.0](https://github.com/dukeluo/eslint-plugin-check-file/compare/v2.7.1...v2.8.0) - 2024-04-14
934

1035
### Added

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const rules = {
2020
const plugin = {
2121
meta: {
2222
name: 'eslint-plugin-check-file',
23-
version: '2.8.0',
23+
version: '3.0.0',
2424
},
2525
rules,
2626
processors: {

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.8.0",
3+
"version": "3.0.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)