eslint-plugin-filenames-simple
eslint-plugin-filenames-simple copied to clipboard
kebab-case fails with filenames long.
Describe the bug
/<private>/components/admin-section/section-crumb/section-crumb.component.ts
20:1 warning The filename must follow the rule: 'kebab-case' filenames-simple/naming-convention
/<private>/components/admin-section/section-menu/section-menu-item.component.ts
28:1 warning The filename must follow the rule: 'kebab-case' filenames-simple/naming-convention
--
/<private>/components/regions/region-remove-dialog/region-remove-dialog.component.ts
6:5 warning The filename must follow the rule: 'kebab-case' filenames-simple/naming-convention
Lint warnings found in the listed files.
Expected behavior
Not fails.
To reproduce
Versions
$ pnpm ls | grep eslint
@angular-eslint/builder 15.2.0
@angular-eslint/eslint-plugin 15.2.0
@angular-eslint/eslint-plugin-template 15.2.0
@angular-eslint/schematics 15.2.0
@angular-eslint/template-parser 15.2.0
@typescript-eslint/eslint-plugin 5.59.2
@typescript-eslint/parser 5.59.2
eslint 8.39.0
eslint-plugin-filenames-simple 0.9.0
Your .eslintrc.{js,json,yaml}
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"plugins": [
"filenames-simple"
],
"rules": {
"filenames-simple/naming-convention": ["warn", { "rule": "kebab-case" , "excepts": ["threeBSP", "vertexType"]}]
},
...