Skip to content

[INFRA] Review and improve the eslint configuration #2742

@tbouffard

Description

@tbouffard

We often encounter linting issues that have no corresponding rules configured in ESLint. Some of the common areas include the import order that often appears in test files, and the lines before and after imports. We often see additional changes in PRs or new imports that disrupt the existing order.

It's likely that there are other ways to improve our ESLint configuration. Let's explore and implement new rules to streamline development.

Elements to review


In the demo template and the Bonita Day 2023 demo, we use xo, which includes eslint-plugin-unicorn and provides many handy ESLint rules.

  • xo. Note that support in WebStorm/IntelliJ may not be straightforward; there may not be a plugin for seamless integration.
  • eslint-plugin-unicorn

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreBuild, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions