Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kebab-case fails with filenames long. #694

Open
mdtrooper opened this issue Jan 16, 2024 · 0 comments
Open

kebab-case fails with filenames long. #694

mdtrooper opened this issue Jan 16, 2024 · 0 comments

Comments

@mdtrooper
Copy link

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"]}]
  },
...

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant