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

feat: add buildFromOxlintConfig #197

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

Sysix
Copy link
Collaborator

@Sysix Sysix commented Oct 24, 2024

closes #194

Long way for the goal:

  • support simple "rules" block
  • support simple "categories" block
  • support simple "plugins" block
  • support "categories" on, and "rules" off *
  • support "plugins" on, and "rules off *
  • numbers instead of off, warn or error
  • configuration array like: no-magic_numbers: ["off", {...}]
  • filter rules which are not enabled by plugin
  • all other wierd combinations
  • enable eslint always
  • check import from ../scripts folder in build file
  • prepare for overrides feat(linter): support overrides config field oxc#6974
  • Docs
  • more tests

* the rules block overrides the rules from the other blocks, so this should be enabled in eslint

{
  "categories": {
    "correctness": "error",
  }
  "rules": {
    "no-invalid-regexp": "off"
  }
}

@Sysix Sysix changed the title feat: add bildFromOxlintConfig feat: add buildFromOxlintConfig Oct 24, 2024
@Sysix Sysix mentioned this pull request Oct 28, 2024
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.

Support disabling all oxlint rules that are applied via the oxlint config file
1 participant