You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,14 @@ Then configure the rules you want to use under the rules section.
38
38
```json
39
39
{
40
40
"rules": {
41
+
"check-file/no-index": "error",
42
+
"check-file/filename-blocklist": [
43
+
"error",
44
+
{
45
+
"**/*.model.ts": "*.models.ts",
46
+
"**/*.util.ts": "*.utils.ts"
47
+
}
48
+
],
41
49
"check-file/folder-match-with-fex": [
42
50
"error",
43
51
{
@@ -52,32 +60,24 @@ Then configure the rules you want to use under the rules section.
52
60
"**/*.{js,ts}": "KEBAB_CASE"
53
61
}
54
62
],
55
-
"check-file/no-index": "error",
56
63
"check-file/folder-naming-convention": [
57
64
"error",
58
65
{
59
66
"src/**/": "CAMEL_CASE",
60
67
"mocks/*/": "KEBAB_CASE"
61
68
}
62
-
],
63
-
"check-file/filename-blocklist": [
64
-
"error",
65
-
{
66
-
"**/*.model.ts": "*.models.ts",
67
-
"**/*.util.ts": "*.utils.ts"
68
-
}
69
69
]
70
70
}
71
71
}
72
72
```
73
73
74
74
## Supported Rules
75
75
76
+
-[check-file/no-index](docs/rules/no-index.md): A file cannot be named "index"
77
+
-[check-file/filename-blocklist](docs/rules/filename-blocklist.md): Blocklist file names by pattern
76
78
-[check-file/folder-match-with-fex](docs/rules/folder-match-with-fex.md): Enforce a consistent naming pattern for folder names for specified files
77
79
-[check-file/filename-naming-convention](docs/rules/filename-naming-convention.md): Enforce a consistent naming pattern for filenames for specified files
78
-
-[check-file/no-index](docs/rules/no-index.md): A file cannot be named "index"
79
80
-[check-file/folder-naming-convention](docs/rules/folder-naming-convention.md): Enforce a consistent naming pattern for folder names for specified folders
80
-
-[check-file/filename-blocklist](docs/rules/filename-blocklist.md): Blocklist file names by pattern
0 commit comments