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

fix: disable stylistic rules #223

Merged
merged 9 commits into from
Nov 29, 2024
Merged

fix: disable stylistic rules #223

merged 9 commits into from
Nov 29, 2024

Conversation

nilzona
Copy link
Contributor

@nilzona nilzona commented Nov 28, 2024

  • clean up how react plugins are defined. Use their default configs as much as possible
  • Remove/Disable stylistic rules conflicting with prettier
  • Add prettier config to secure we don't have conflicting rules in the future.

@nilzona nilzona requested a review from a team as a code owner November 28, 2024 20:45
Copy link

changeset-bot bot commented Nov 28, 2024

🦋 Changeset detected

Latest commit: 1af08f6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@qlik/eslint-config Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nilzona nilzona changed the title rules cleanup fix: disable stylistic rules Nov 28, 2024
@@ -128,7 +128,7 @@ const rules = {
"import-x/no-self-import": "error",
// Forbid cyclical dependencies between modules
// https://github.com/un-ts/eslint-plugin-import-x/blob/master/docs/rules/no-cycle.md
"import-x/no-cycle": ["error", { maxDepth: "∞" }],
"import-x/no-cycle": ["error", { ignoreExternal: true }],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one increase the rule performance drastically.

@nilzona nilzona merged commit f620802 into main Nov 29, 2024
6 checks passed
@nilzona nilzona deleted the rules-cleanup branch November 29, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants