Skip to content

Releases: oxc-project/oxc

oxlint v0.3.1

22 Apr 08:23
99d46f9
Compare
Choose a tag to compare

Hotfix unwanted plugin rules being enabled.

Full Changelog: oxlint_v0.3.0...oxlint_v0.3.1

oxlint v0.3.0

22 Apr 05:27
b29aabd
Compare
Choose a tag to compare

What's Changed

Potential breaking change

  • -D all no longer enables nursery rules, use -D all -D nursery instead

Features

  • support eslint globals by @Boshen in #3038
  • change no-empty-static-block to correctness
  • implement --format checkstyle by @Boshen in #3044
  • implement --format unix by @Boshen in #3039
  • implement fixer for typescript-eslint/consistent-type-definitions by @todor-a in #3045

Fixes

  • fix crashing with unwrap in import/no-cycle by @Boshen in #3035

Full Changelog: oxlint_v0.2.18...oxlint_v0.3.0

oxlint v0.2.18

19 Apr 09:49
04f5fc0
Compare
Choose a tag to compare

What's Changed

New Rules

  • correctness: eslint-plugin-unicorn no await in promise methods by @camc314 in #2963
  • correctness: eslint-plugin-unicorn no single promise in promise methods by @camc314 in #2962

Features

New Contributors

Full Changelog: oxlint_v0.2.17...oxlint_v0.2.18

oxlint v0.2.17

11 Apr 08:47
df11d10
Compare
Choose a tag to compare

What's Changed

  • feat(linter): eslint-plugin-jest/prefer-lowercase-title by @eryue0220 in #2911
  • feat(linter): typescript-eslint/consistent-type-definitions by @todor-a in #2885
  • fix(cli): fix oxlint --format json yields 0 files to lint by @Boshen in #2940
  • fix(cli): if format is json do not print summary information (#2899) by @kalvenschraut in #2925
  • fix(linter): import/no-cycle ignore type-only imports by @JohnDaly in #2924
  • refactor(semantic/jsdoc): Rework JSDoc struct for better Span handling by @leaysgur in #2917

New Contributors

Full Changelog: oxlint_v0.2.16...oxlint_v0.2.17

oxlint v0.2.16

08 Apr 03:56
7066d55
Compare
Choose a tag to compare

What's Changed

  • feat(linter): @typescript-eslint/prefer-for-of by @charnog in #2789
  • feat(linter): Implement jsdoc/check-access by @leaysgur in #2642
  • feat(linter): Implement jsdoc/empty-tags by @leaysgur in #2893
  • feat(linter): eslint-plugin-jest/prefer-mock-promise-sorthand by @eryue0220 in #2864
  • feat(linter/import): Add ignoreTypes option for the import/no-cycle rule by @JohnDaly in #2905
  • fix(ast): FinallyClause won't get visited as BlockStatement anymore. by @rzvxa in #2881
  • fix(linter): handle self closing script tags in astro partial loader (#2017) by @kalvenschraut in #2907
  • fix(linter): svelte partial loader handle generics (#2875) by @kalvenschraut in #2906

New Contributors

Full Changelog: oxlint_v0.2.15...oxlint_v0.2.16

oxlint v0.2.15

30 Mar 05:52
e7307ed
Compare
Choose a tag to compare

What's Changed

  • feat(linter): default_param_last by @JoSeBu1 in #2756
  • feat(linter): eslint-plugin-jest/no-untyped-mock-factory by @eryue0220 in #2807
  • feat(linter): eslint-plugin-jest/prefer-comparison-matcher by @eryue0220 in #2806
  • feat(linter): eslint-plugin-react checked-requires-onchange-or-readonly by @keita-hino in #2754
  • feat(linter): eslint/no-iterator by @JoSeBu1 in #2758
  • feat(linter): fallback to the default tsconfig path by @Dunqing in #2842
  • feat(linter): no_script_url by @JoSeBu1 in #2761
  • feat(linter/import) check deep namespace in namespace rule by @Dunqing in #2805
  • feat(linter/import) check module import in no_duplicates by @Dunqing in #2771
  • feat(linter/import) check type import in no_duplicates by @Dunqing in #2777
  • feat(linter/import) support allow_computed option in namespace by @Dunqing in #2840
  • feat(linter/import) support check re-export in named by @Dunqing in #2769
  • feat(linter/import): ignore type-only imports and exports in no_unresolved by @Dunqing in #2849
  • fix(linter/import): false positive for indirect export in namespace by @Dunqing in #2862
  • fix(linter/import): ignore export declaration in no-duplicates by @Dunqing in #2863
  • fix(linter/max-lines): only report codes that exceed the line limit by @mysteryven in #2778
  • fix(parser): add support for empty module declaration by @rzvxa in #2834

New Contributors

Full Changelog: oxlint_v0.2.14...oxlint_v0.2.15

oxlint v0.2.14

19 Mar 14:49
99dcd00
Compare
Choose a tag to compare

What's Changed

  • feat(linter) eslint: no-useless-rename by @camc314 in #2648
  • feat(linter): Add settings.jsdoc by @leaysgur in #2706
  • feat(linter): add new property for parse_jest_fn by @eryue0220 in #2715
  • feat(linter): eslint-plugin-jest rule prefer-spy-on by @eryue0220 in #2666
  • feat(linter): eslint-plugin-jest: prefer-expect-resolves by @eryue0220 in #2703
  • feat(linter): eslint-plugin-jest: prefer-to-be by @eryue0220 in #2702
  • feat(linter): eslint-plugin-jest: prefer-to-contain by @eryue0220 in #2735
  • feat(linter): eslint/guard-for-in by @JoSeBu1 in #2746
  • feat(linter): eslint/max-lines by @andipabst in #2739
  • feat(linter): eslint/max-params by @JoSeBu1 in #2749
  • feat(linter): eslint/no-continue by @JoSeBu1 in #2742
  • feat(linter): eslint/no-proto by @JoSeBu1 in #2760
  • feat(linter): eslint/no-ternary by @JoSeBu1 in #2744
  • feat(linter): eslint/no-with by @andipabst in #2741
  • feat(linter): no_eq_null by @JoSeBu1 in #2757
  • feat(linter): no_template_curly_in_string by @JoSeBu1 in #2763
  • feat(linter): report side effect for array element in node_side_effects rule by @mysteryven in #2683
  • feat(linter): resolve ESM star exports by @Boshen in #2682
  • feat(linter): support check ImportNamespaceSpecifier in no_import_assign by @Dunqing in #2617
  • feat(linter/import) change the rule path to index.ts and add snapshot in export rule by @Dunqing in #2732
  • feat(linter/import) implement no_unused_modules rule by @Dunqing in #2720
  • feat(linter/import): check ObjectPattern syntax in namespace by @Dunqing in #2691
  • feat(linter/import): support check reexport binding in namespace by @Dunqing in #2678
  • feat(linter/tree-shaking): add cache for checking mutating identifiers by @mysteryven in #2743
  • feat(linter/tree_shaking): check assignment of identifier by @mysteryven in #2697
  • fix(linter): correct example for no-obj-calls rule by @overlookmotel in #2618
  • fix(linter): fix guard_for_in span error by @JoSeBu1 in #2755
  • implemented import/no-default-export by @XantreGodlike in #2736

New Contributors

Full Changelog: oxlint_v0.2.13...oxlint_v0.2.14

oxlint v0.2.13

05 Mar 08:10
f94c959
Compare
Choose a tag to compare

What's Changed

Linter

Parser

Vscode

New Contributors

Full Changelog: oxlint_v0.2.12...oxlint_v0.2.13

oxlint v0.2.12

28 Feb 14:07
ab13504
Compare
Choose a tag to compare

What's Changed

This release fixes a mistate made in the previous release where an ESM module has commonjs data, resulting lots of random false positives.

  • feat(linter): remove all commonjs logic from module record for import plugin by @Boshen in #2537

Full Changelog: oxlint_v0.2.11...oxlint_v0.2.12

oxlint v0.2.11

26 Feb 11:10
a0f23ba
Compare
Choose a tag to compare

What's Changed

esling-plugin-import is currently work in progress, so please don't turn on the --deny nursery category.

  • feat(linter): eslint-plugin-react void-dom-elements-no-children by @keita-hino in #2477
  • feat(linter): implement @typescript-eslint/prefer-ts-expect-error by @alexttyip in #2435
  • feat(linter): typescript-eslint: prefer-function-type by @zhangrunzhao in #2337
  • fix(linter): Correct configuration file parsing for jsx-no-useless-fragment by @keita-hino in #2512
  • fix(linter): Handle cases where createElement is an Identifier in is_create_element_call by @keita-hino in #2474
  • fix(linter): fix import plugin hanging when ignored modules are imported by @Boshen in #2478

New Contributors

Full Changelog: oxlint_v0.2.10...oxlint_v0.2.11