Skip to content

Autofix rules #21

Open
Open
@sindresorhus

Description

@sindresorhus

Would be useful to support autofixing for some of the rules. Not all are possible.

http://eslint.org/docs/developer-guide/working-with-rules#contextreport

  • no-skip-test (just remove the skip modifier)
  • no-only-test (just remove the only modifier)
  • no-identical-title (append Discussion #1, no-cb-test rule #2, etc, to the title)
  • no-skip-assert (just remove the skip modifier)

Can't think of any way to reliably fix the other rules, but input welcome!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions