Skip to content

oxlint v0.1.1

Compare
Choose a tag to compare
@Boshen Boshen released this 06 Jan 13:31
821cc8e

Try it out!

Vue support

<script> and <script setup> are linted by default.

Astro support

Frontmatter component script --- and all <script> tags are linted by default.

Configuration files (experimental)

-c ./eslintrc.json will use the rules field for rule configuration, as documented in ESLint's documentation.

Unfortunately, only the json format is supported right now.

The extends field will not take effect; normal -D and -A flags still apply.

New Rules

Correctness

Suspicious

Restriction

Fixes

  • fix(linter): ignore anonymous functional components in arrays for eslint-plugin-react(jsx-key) by @maurice in #1858
  • Prioritize ignored paths when linting by @clarkf in #1878
  • feat(linter): handle more cases for const-comparisons by @camc314 in #1817
  • feat(semantic): allow reserved keyword defined in ts module block by @Dunqing in #1907
  • fix(parser): error on source larger than 4 GiB by @overlookmotel in #1860
  • fix(parser): fix incorrectly identified directives by @overlookmotel in #1885
  • fix(parser): terminate parsing if an EmptyParenthesizedExpression error occurs by @Dunqing in #1874
  • fix(semantic): remove duplicate errors in ModuleDeclaration::ImportDeclaration by @Dunqing in #1846
  • perf(linter): reduce the number of diagnostics for no_sparse_arrays by @camc314 in #1895

New Contributors

Full Changelog: oxlint_v0.0.22...oxlint_v0.1.1