8000 [@typescript-eslint/member-ordering] auto-fix · Issue #2296 · typescript-eslint/typescript-eslint · GitHub
[go: up one dir, main page]

Skip to content
[@typescript-eslint/member-ordering] auto-fix #2296
@abemedia

Description

@abemedia

Repro

{
  rules: {
    '@typescript-eslint/member-ordering': [
      'warn',
      { default: { memberTypes: 'never', order: 'alphabetically' } },
    ],
  }
}

Expected Result

eslint --fix sorts members alphabetically

Actual Result

Throws warnings but doesn't fix.

Additional Info

Versions

package version
@typescript-eslint/eslint-plugin 3.6.1
@typescript-eslint/parser 3.6.1
TypeScript 3.8.3
ESLint 6.8.0
node 12.16.2
npm 6.14.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issueenhancement: plugin rule optionNew rule option for an existing eslint-plugin rulelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: 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

      0