Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[class-name-casing] apply same rules on type alias #671

Closed
Labels
enhancement: plugin rule optionNew rule option for an existing eslint-plugin rulehas prthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin
@Hotell

Description

@Hotell

Currentlyclass-name-casing applies only forclass andinterface. It would be nice ( for consistent codebase ) to apply this rule also ontype. probablyenum should use this as well.

Maybe it should be extracted to separate rule asclass-name-casing is too confusing by it's name.
Suggested rule rename/new name (for interface/type/enum) ->types-casing

Expected Result

// LINT ERRORtypeuser={name:stringage:number}

Actual Result

// NO LINT ERROR 🥺typeuser={name:stringage:number}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement: plugin rule optionNew rule option for an existing eslint-plugin rulehas prthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp