Skip to content

Improve ESLint #15

@Chnapy

Description

@Chnapy

Add/change lint rules:

  • error - may affect the runtime, should break CI
    • floating promises
    • use of setTimeout/clearTimeout instead of custom promise-based timer
    • (jest) avoid .only()
    • (jest) avoid tests with same names
  • warning - code quality only, should pass CI with warnings (consider using a tool like DangerJS)

Also consider using a preset (airbnb, react, ...).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Code qualityCode quality improvement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions