Skip to content

eslint config disallows CONSTANT_CASE #2298

@maribethb

Description

@maribethb

Check for duplicates

  • I have searched for similar issues before opening a new one.

Component

eslint.config.js

Description

we need to adjust this rule in the eslint config: https://typescript-eslint.io/rules/naming-convention

it should only be allowed when the modifier includes const

Reproduction steps

  1. Use a CONSTANT_CASE const in a ts file
  2. Run npm run lint

Stack trace

7:7  error  Variable name `SETTINGS_KEY` must match one of the following formats: camelCase, PascalCase  @typescript-eslint/naming-convention

Screenshots

No response

Metadata

Metadata

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions