Skip to content

Releases: standard-config/oxlint

1.2.1

23 Feb 16:33

Choose a tag to compare

  • Lowered eslint/no-empty-function severity to warn.
  • Disabled import/prefer-default-export.
  • Disabled jest/no-untyped-mock-factory.
  • Disabled jsx-a11y/* rules in test files that primarily enforce best practices rather than hard accessibility errors.
  • Disabled oxc/no-barrel-file.
  • Disabled unicorn/filename-case.

1.2.0

21 Feb 14:07

Choose a tag to compare

React

  • Enabled react-perf/jsx-no-new-array-as-prop.
  • Tweaked react/jsx-curly-brace-presence to preserve braces around JSX-valued props.
  • Lowered jsx-a11y/*-events-have-key-events severity to warn.
  • Disabled jsx-a11y/img-redundant-alt.
  • Disabled jsx-a11y/media-has-caption.
  • Disabled react/button-has-type in test files.
  • Disabled react/checked-requires-onchange-or-readonly in test files.
  • Disabled react/display-name.
  • Disabled react/forbid-* rules.
  • Disabled react/forward-ref-uses-ref.
  • Disabled react/iframe-missing-sandbox.
  • Disabled react/no-array-index-key in test files.
  • Disabled react/no-danger in test files.
  • Disabled class component–related react/* rules.

Test Files

  • Renamed aliased vitest/* rules to their jest/* equivalents.
  • Lowered jest/expect-expect severity to warn.
  • Lowered jest/no-duplicate-hooks severity to warn.
  • Lowered jest/no-focused-tests severity to warn.
  • Lowered jest/no-identical-title severity to warn.
  • Lowered vitest/consistent-each-for severity to warn.
  • Lowered vitest/prefer-hooks-* severity to warn.
  • Lowered vitest/warn-todo severity to warn.
  • Disabled jest/no-restricted-* rules.
  • Disabled legacy jest/* rules.
  • Disabled typescript/strict-void-return in test files.

Other

  • Tweaked unicorn/no-typeof-undefined to cover global variables.
  • Corrected rule mappings for eslint/no-empty-function, eslint/no-use-before-define, and typescript/no-deprecated (no functional changes).

1.1.7

20 Feb 12:42

Choose a tag to compare

  • Disabled eslint/no-shadow (moved to the base config).

1.1.6

19 Feb 21:10

Choose a tag to compare

  • Disabled typescript/prefer-readonly-parameter-types (oxlint@1.49.0).
  • Disabled vitest/no-importing-vitest-globals (oxlint@1.49.0).
  • Disabled vitest/prefer-import-in-mock (buggy in oxlint@1.49.0).
  • Moved overrides disabling vitest/* rules from the test-specific config to the base config.

1.1.5

19 Feb 11:49

Choose a tag to compare

  • Lowered eslint/no-unused-vars severity to warn.
  • Lowered vitest/no-commented-out-tests severity to warn.
  • Disabled typescript/no-unsafe-argument in test files.

1.1.4

18 Feb 10:57

Choose a tag to compare

  • Tweaked unicorn/prefer-number-properties to convert Infinity to Number.POSITIVE_INFINITY.
  • Lowered eslint/no-deprecated severity to warn.
  • Disabled eslint/no-shadow in test files.
  • Disabled typescript/no-use-before-define (oxlint@1.48.0).
  • Disabled unicorn/prefer-structured-clone.
  • Disabled vitest/max-nested-describe.
  • Disabled vitest/no-large-snapshots.

1.1.3

16 Feb 11:55

Choose a tag to compare

  • Added support for .test-d.ts files.
  • Disabled eslint/no-inline-comments.

1.1.2

12 Feb 09:22

Choose a tag to compare

  • Lowered vitest/no-disabled-tests severity to warn.
  • Disabled import/no-unassigned-import in config files.

1.1.1

11 Feb 10:28

Choose a tag to compare

  • Disabled typescript/no-empty-interface.
  • Disabled eslint/no-param-reassign in test files.
  • Disabled import/no-unassigned-import in test files.

1.1.0

10 Feb 14:59

Choose a tag to compare

  • Introduced the React config (enabled with react: true).
  • Disabled eslint/no-promise-executor-return in test files.