Skip to content

Rule Change: Support auto-fix for no-unnormalized-keys #141

@lumirlumir

Description

@lumirlumir

What rule do you want to change?

no-unnormalized-keys

What change do you want to make?

Implement autofix

How do you think the change should be implemented?

A new default behavior

Example code

// Before auto-fix

{
  "cafe\u0301": "value"
}

// After auto-fix

{
  "café": "value"
}

What does the rule currently do for this code?

Currently, the rule reports unnormalized keys but does not provide an auto-fix. I’d like to suggest adding auto-fix support to this rule.

What will the rule do after it's changed?

Auto-fix is available.

Participation

  • I am willing to submit a pull request to implement this change.

Additional comments

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Ready to Implement

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions