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: override settings #66

Merged
merged 1 commit into from
Jan 19, 2025
Merged

fix: override settings #66

merged 1 commit into from
Jan 19, 2025

Conversation

schoero
Copy link
Owner

@schoero schoero commented Jan 19, 2025

Fixes an issue that rule options did not override settings.

{
  // rule options
  rules: {
    "eslint-plugin-readable-tailwind/no-unnecessary-whitespace": ["warn", {
      /* should override settings below */
    }]
  },
  // plugin settings
  settings: {
    "eslint-plugin-readable-tailwind": {
      /* should get overwritten */
    }
  }
}

@schoero schoero merged commit fb07b48 into v2 Jan 19, 2025
10 checks passed
@schoero schoero deleted the fix/override-settings branch January 19, 2025 16:45
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.

1 participant