Skip to content

eslint-ordering configuration updated #91

@xdrdak

Description

@xdrdak

Description

we should be using ["builtin", "external", "internal", "parent", "sibling", "index"] instead of the airbnb defaults as the current setup is a bit too loose in how to order imports.

We will need to:

  • add 'import/order': ['error', { groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'] }] to the .eslintrc.js rules object
  • fix any potential errors that will arise (just run yarn lint --fix)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions