Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFRA] Review and improve the eslint configuration #2742

Open
13 of 23 tasks
tbouffard opened this issue Jun 13, 2023 · 0 comments
Open
13 of 23 tasks

[INFRA] Review and improve the eslint configuration #2742

tbouffard opened this issue Jun 13, 2023 · 0 comments
Labels
chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

Comments

@tbouffard
Copy link
Member

tbouffard commented Jun 13, 2023

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
@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Jun 13, 2023
@tbouffard tbouffard added this to the 0.37.0 milestone Jun 13, 2023
@tbouffard tbouffard modified the milestones: 0.37.0, 0.38.0 Jun 26, 2023
@csouchet csouchet modified the milestones: 0.38.0, 0.38.1 Jul 24, 2023
@csouchet csouchet modified the milestones: 0.38.1, 0.38.2 Aug 22, 2023
@csouchet csouchet modified the milestones: 0.38.2, 0.39.1 Sep 4, 2023
@csouchet csouchet modified the milestones: 0.40.1, 0.41.1 Oct 2, 2023
@csouchet csouchet removed their assignment Oct 6, 2023
@tbouffard tbouffard modified the milestones: 0.42.0, 0.43.0 Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
Projects
Status: Todo
Development

No branches or pull requests

2 participants