Tags: linyiru/oxc
Tags
release(apps): oxlint v1.71.0 && oxfmt v0.56.0 (oxc-project#23707) # Oxlint ### 💥 BREAKING CHANGES - 36009dd allocator: [**BREAKING**] `GetAllocator::allocator` take `&self` (oxc-project#23676) (overlookmotel) ### 🚀 Features - ff65285 linter: `no-restricted-globals` add missing upstream options (oxc-project#23663) (Sysix) - 7b8bd89 linter/typescript: Implement suggestion for `no-unnecessary-type-constraint` rule (oxc-project#23646) (Mikhail Baev) - 0dc2405 linter: Add schema for `eslint/no-restricted-properties` (oxc-project#23619) (Sysix) - b638d0e linter: Add schema for `node/callback-return` (oxc-project#23615) (Sysix) - eb8bedc linter: Add schema for `import/extensions` (oxc-project#23557) (WaterWhisperer) - 46f3625 linter: Implement node/no-sync rule (oxc-project#23589) (fujitani sora) - b01739a linter: Add schema for `unicorn/numeric-separators-style` (oxc-project#23554) (Mikhail Baev) - 68afd2a linter/node: Implement `no-mixed-requires` rule (oxc-project#23539) (fujitani sora) - 59d8893 linter: `unicorn/numeric-separators-style` support missing options (oxc-project#23524) (Sysix) - a421215 linter: Add schema for `eslint/prefer-destructuring` (oxc-project#23410) (WaterWhisperer) - 84438be linter/jsdoc: Added missing options to `require-param-description` (oxc-project#23416) (kapobajza) - c145b72 linter/jsdoc/require-param-type: Implement fixer (oxc-project#23513) (camc314) - 51910df linter/jsdoc: Add missing options to `require-param-type` rule (oxc-project#23418) (kapobajza) - e90925f linter/unicorn: Implement prefer-number-coercion rule (oxc-project#23497) (Shekhu☺️ ) - dd1c866 linter/vue: Implement no-async-in-computed-properties rule (oxc-project#23493) (bab) - b02444e linter: Add schema for `react/jsx-no-script-url` (oxc-project#23475) (WaterWhisperer) - 53509a8 minifier: Treeshake pure typed arrays and Set/Map array literals (oxc-project#23469) (Dunqing) - a8dce46 linter/unicorn: Implement `max-nested-calls` rule (oxc-project#23461) (arieleli01212) ### 🐛 Bug Fixes - b1948a1 linter/radix: Avoid panic on `parseInt` with a spread radix argument (oxc-project#23623) (Jerry Zhao) - f28ccfd linter/prefer-query-selector: Use a compound selector for multiple classes (oxc-project#23628) (Jerry Zhao) - 13f2970 linter/prefer-numeric-literals: Avoid panic on `parseInt` with a spread radix argument (oxc-project#23624) (Jerry Zhao) - 57612b3 linter: Report invalid capitalized-comments ignore patterns (oxc-project#23608) (camc314) - 800ee2a linter/consistent-vitest-vi: Preserve import aliases when rewriting the import (oxc-project#23568) (Yunfei He) - f78b5e1 linter/consistent-indexed-object-style: Don't leak a stray comma into the value type (oxc-project#23566) (Yunfei He) - 6b104e8 linter/radix: Detect a trailing comma only after the argument (oxc-project#23569) (Yunfei He) - 2de20cb linter/unicorn/prefer-at: Correct two-argument `slice().pop()` index (oxc-project#23565) (Yunfei He) - de778ec linter: `unicorn/numeric-separators-style` preserve dot for floats without decial part (oxc-project#23553) (Sysix) - 651027c linter/curly: Remove only the block's own braces (oxc-project#23580) (Yunfei He) - 687e835 linter/array-type: Parenthesize a conditional-type element (oxc-project#23579) (Yunfei He) - 9c80dff linter/unicorn/no-unnecessary-await: Don't paste operators into invalid syntax (oxc-project#23556) (Yunfei He) - 46e1463 linter/no-compare-neg-zero: Delete the `-` of a parenthesized `-0` (oxc-project#23578) (Yunfei He) - d172a97 linter/unicorn/prefer-math-trunk: Skip fixer for LHS with side effects (oxc-project#23548) (camc314) - 1c3a9bd linter/unicorn/prefer-negative-index: Don't report `Array#with` (oxc-project#23518) (Yunfei He) - c17db5d linter/unicorn/prefer-spread: Don't report `.slice()` on non-array receivers (oxc-project#23520) (Yunfei He) - 9cd0c2f linter/unicorn/prefer-date-now: Keep `BigInt` wrapper when fixing `BigInt(new Date())` (oxc-project#23523) (Yunfei He) - 16bb890 linter/unicorn/prefer-array-flat: Skip non-array `flatMap` receivers (oxc-project#23527) (Yunfei He) - 3e6f90f linter/unicorn/no-zero-fractions: Insert a space after any preceding keyword (oxc-project#23529) (Yunfei He) - 79a7d69 linter/eslint/no-useless-assignment: Handle exceptional control-flow paths (oxc-project#23544) (camc314) - e8e2741 linter/unicorn/prefer-math-min-max: Preserve operand source text in the fix (oxc-project#23533) (Yunfei He) - f592154 linter/react/display-name: Ignore lowercase jsx helpers (oxc-project#23510) (camc314) - df7612f linter/jsx-a11y/no-noninteractive-element-to-interactive-role: Allow custom roles config (oxc-project#23507) (camc314) - 924b931 linter/unicorn/prefer-at: Handle checking all indexes correctly (oxc-project#23504) (camc314) - ca9686b linter/unicorn/prefer-at: Report zero indexes (oxc-project#23503) (camc314) - e96a4e3 linter/unicorn/explicit-length-check: Ignore optional chains (oxc-project#23487) (camc314) - a303c23 linter/jsx-a11y: Align `anchor-is-valid` config with upstream (oxc-project#23446) (camc314) - f27a6d1 linter: False positives with non `*.setTimeout` call in `no-confusing-set-timeout` (oxc-project#23444) (camc314) ### ⚡ Performance - 8e0dd65 linter: Emit RuleEnum dispatch match once instead of per timing branch (oxc-project#23499) (Boshen) - d5c7d99 linter/expect-expect: Avoid recompiling matches on every traversal (oxc-project#23593) (camc314) - f191520 linter/no-useless-spread: Avoid collecting `Vec` before iterating (oxc-project#23546) (camc314) - 79340d1 linter: Stream React lifecycle ancestors (oxc-project#23545) (camc314) - 1923169 linter/eslint/max-classes: Gate rule by rule config threshold (oxc-project#23509) (camc314) - 3f60de3 linter: Use bucketed dispatch for all files (oxc-project#23452) (camc314) - 3699971 linter/typescript/no-unnecessary-parameter-property-assignment: Avoid temporary vec allocations (oxc-project#23492) (camc314) - 4ef0ceb linter/eslint/no-useless-switch-case: Avoid temporary vec allocations (oxc-project#23489) (camc314) - 2e09dd3 linter: Avoid JSX fragment child collections (oxc-project#23486) (camc314) - f30a64c linter/oxc/branches-sharing-code: Borrow shared branch suggestion text (oxc-project#23484) (camc314) - 097a317 linter/eslint/no-control-regex: Retain control regex candidates in place (oxc-project#23482) (camc314) - b3a093d linter: Reuse rule dispatch buckets (oxc-project#23450) (camc314) - 9f1a985 oxlint: Start Tokio only for LSP (oxc-project#23447) (camc314) ### 📚 Documentation - 9e219de linter/plugins: Update usage instruction (oxc-project#23495) (Tony) - b50bf4d linter: Remove manually written options doc for `eslint/arrow-body-style` (oxc-project#23490) (Mikhail Baev) # Oxfmt ### 💥 BREAKING CHANGES - 36009dd allocator: [**BREAKING**] `GetAllocator::allocator` take `&self` (oxc-project#23676) (overlookmotel) ### 🐛 Bug Fixes - f21ed2c formatter_json: Normalize CRLF for suppressed text (oxc-project#23702) (leaysgur) - 7cd1737 formatter: Normalize CRLF for suppressed text (oxc-project#23701) (leaysgur) - a36e444 formatter: Member chain panic when tail is merged with comment in dev build (oxc-project#23698) (leaysgur) - 600d306 formatter: Preserve parens with default export and type cast (oxc-project#23697) (leaysgur) - 61290f2 formatter: Single-member intersection/union type with comment formatting (oxc-project#21915) (Leonabcd123) - 5a1b0b4 formatter: Parenthesize a type assertion used as the base of `**` (oxc-project#23633) (Jerry Zhao) - 91827e2 formatter: Use `Ordering::reverse()` with `order: desc` for idempotency (oxc-project#23543) (leaysgur) - 8fa7394 formatter_json: Handle wrapped error span (oxc-project#23472) (leaysgur) - 37a34a1 oxfmt/lsp: Avoid newlines line ending changes (oxc-project#23463) (Sysix) ### ⚡ Performance - 80f1697 formatter: Avoid arena copy for already-lowercase bigint literals (oxc-project#23534) (Yunfei He) - 1a40b71 formatter: Avoid arena copy for borrowed numeric-literal text (oxc-project#23512) (Yunfei He) - 12e4451 formatter: Avoid arena copy for borrowed string-literal text (oxc-project#23465) (Yunfei He) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
release(apps): oxlint v1.71.0 && oxfmt v0.56.0 (oxc-project#23707) # Oxlint ### 💥 BREAKING CHANGES - 36009dd allocator: [**BREAKING**] `GetAllocator::allocator` take `&self` (oxc-project#23676) (overlookmotel) ### 🚀 Features - ff65285 linter: `no-restricted-globals` add missing upstream options (oxc-project#23663) (Sysix) - 7b8bd89 linter/typescript: Implement suggestion for `no-unnecessary-type-constraint` rule (oxc-project#23646) (Mikhail Baev) - 0dc2405 linter: Add schema for `eslint/no-restricted-properties` (oxc-project#23619) (Sysix) - b638d0e linter: Add schema for `node/callback-return` (oxc-project#23615) (Sysix) - eb8bedc linter: Add schema for `import/extensions` (oxc-project#23557) (WaterWhisperer) - 46f3625 linter: Implement node/no-sync rule (oxc-project#23589) (fujitani sora) - b01739a linter: Add schema for `unicorn/numeric-separators-style` (oxc-project#23554) (Mikhail Baev) - 68afd2a linter/node: Implement `no-mixed-requires` rule (oxc-project#23539) (fujitani sora) - 59d8893 linter: `unicorn/numeric-separators-style` support missing options (oxc-project#23524) (Sysix) - a421215 linter: Add schema for `eslint/prefer-destructuring` (oxc-project#23410) (WaterWhisperer) - 84438be linter/jsdoc: Added missing options to `require-param-description` (oxc-project#23416) (kapobajza) - c145b72 linter/jsdoc/require-param-type: Implement fixer (oxc-project#23513) (camc314) - 51910df linter/jsdoc: Add missing options to `require-param-type` rule (oxc-project#23418) (kapobajza) - e90925f linter/unicorn: Implement prefer-number-coercion rule (oxc-project#23497) (Shekhu☺️ ) - dd1c866 linter/vue: Implement no-async-in-computed-properties rule (oxc-project#23493) (bab) - b02444e linter: Add schema for `react/jsx-no-script-url` (oxc-project#23475) (WaterWhisperer) - 53509a8 minifier: Treeshake pure typed arrays and Set/Map array literals (oxc-project#23469) (Dunqing) - a8dce46 linter/unicorn: Implement `max-nested-calls` rule (oxc-project#23461) (arieleli01212) ### 🐛 Bug Fixes - b1948a1 linter/radix: Avoid panic on `parseInt` with a spread radix argument (oxc-project#23623) (Jerry Zhao) - f28ccfd linter/prefer-query-selector: Use a compound selector for multiple classes (oxc-project#23628) (Jerry Zhao) - 13f2970 linter/prefer-numeric-literals: Avoid panic on `parseInt` with a spread radix argument (oxc-project#23624) (Jerry Zhao) - 57612b3 linter: Report invalid capitalized-comments ignore patterns (oxc-project#23608) (camc314) - 800ee2a linter/consistent-vitest-vi: Preserve import aliases when rewriting the import (oxc-project#23568) (Yunfei He) - f78b5e1 linter/consistent-indexed-object-style: Don't leak a stray comma into the value type (oxc-project#23566) (Yunfei He) - 6b104e8 linter/radix: Detect a trailing comma only after the argument (oxc-project#23569) (Yunfei He) - 2de20cb linter/unicorn/prefer-at: Correct two-argument `slice().pop()` index (oxc-project#23565) (Yunfei He) - de778ec linter: `unicorn/numeric-separators-style` preserve dot for floats without decial part (oxc-project#23553) (Sysix) - 651027c linter/curly: Remove only the block's own braces (oxc-project#23580) (Yunfei He) - 687e835 linter/array-type: Parenthesize a conditional-type element (oxc-project#23579) (Yunfei He) - 9c80dff linter/unicorn/no-unnecessary-await: Don't paste operators into invalid syntax (oxc-project#23556) (Yunfei He) - 46e1463 linter/no-compare-neg-zero: Delete the `-` of a parenthesized `-0` (oxc-project#23578) (Yunfei He) - d172a97 linter/unicorn/prefer-math-trunk: Skip fixer for LHS with side effects (oxc-project#23548) (camc314) - 1c3a9bd linter/unicorn/prefer-negative-index: Don't report `Array#with` (oxc-project#23518) (Yunfei He) - c17db5d linter/unicorn/prefer-spread: Don't report `.slice()` on non-array receivers (oxc-project#23520) (Yunfei He) - 9cd0c2f linter/unicorn/prefer-date-now: Keep `BigInt` wrapper when fixing `BigInt(new Date())` (oxc-project#23523) (Yunfei He) - 16bb890 linter/unicorn/prefer-array-flat: Skip non-array `flatMap` receivers (oxc-project#23527) (Yunfei He) - 3e6f90f linter/unicorn/no-zero-fractions: Insert a space after any preceding keyword (oxc-project#23529) (Yunfei He) - 79a7d69 linter/eslint/no-useless-assignment: Handle exceptional control-flow paths (oxc-project#23544) (camc314) - e8e2741 linter/unicorn/prefer-math-min-max: Preserve operand source text in the fix (oxc-project#23533) (Yunfei He) - f592154 linter/react/display-name: Ignore lowercase jsx helpers (oxc-project#23510) (camc314) - df7612f linter/jsx-a11y/no-noninteractive-element-to-interactive-role: Allow custom roles config (oxc-project#23507) (camc314) - 924b931 linter/unicorn/prefer-at: Handle checking all indexes correctly (oxc-project#23504) (camc314) - ca9686b linter/unicorn/prefer-at: Report zero indexes (oxc-project#23503) (camc314) - e96a4e3 linter/unicorn/explicit-length-check: Ignore optional chains (oxc-project#23487) (camc314) - a303c23 linter/jsx-a11y: Align `anchor-is-valid` config with upstream (oxc-project#23446) (camc314) - f27a6d1 linter: False positives with non `*.setTimeout` call in `no-confusing-set-timeout` (oxc-project#23444) (camc314) ### ⚡ Performance - 8e0dd65 linter: Emit RuleEnum dispatch match once instead of per timing branch (oxc-project#23499) (Boshen) - d5c7d99 linter/expect-expect: Avoid recompiling matches on every traversal (oxc-project#23593) (camc314) - f191520 linter/no-useless-spread: Avoid collecting `Vec` before iterating (oxc-project#23546) (camc314) - 79340d1 linter: Stream React lifecycle ancestors (oxc-project#23545) (camc314) - 1923169 linter/eslint/max-classes: Gate rule by rule config threshold (oxc-project#23509) (camc314) - 3f60de3 linter: Use bucketed dispatch for all files (oxc-project#23452) (camc314) - 3699971 linter/typescript/no-unnecessary-parameter-property-assignment: Avoid temporary vec allocations (oxc-project#23492) (camc314) - 4ef0ceb linter/eslint/no-useless-switch-case: Avoid temporary vec allocations (oxc-project#23489) (camc314) - 2e09dd3 linter: Avoid JSX fragment child collections (oxc-project#23486) (camc314) - f30a64c linter/oxc/branches-sharing-code: Borrow shared branch suggestion text (oxc-project#23484) (camc314) - 097a317 linter/eslint/no-control-regex: Retain control regex candidates in place (oxc-project#23482) (camc314) - b3a093d linter: Reuse rule dispatch buckets (oxc-project#23450) (camc314) - 9f1a985 oxlint: Start Tokio only for LSP (oxc-project#23447) (camc314) ### 📚 Documentation - 9e219de linter/plugins: Update usage instruction (oxc-project#23495) (Tony) - b50bf4d linter: Remove manually written options doc for `eslint/arrow-body-style` (oxc-project#23490) (Mikhail Baev) # Oxfmt ### 💥 BREAKING CHANGES - 36009dd allocator: [**BREAKING**] `GetAllocator::allocator` take `&self` (oxc-project#23676) (overlookmotel) ### 🐛 Bug Fixes - f21ed2c formatter_json: Normalize CRLF for suppressed text (oxc-project#23702) (leaysgur) - 7cd1737 formatter: Normalize CRLF for suppressed text (oxc-project#23701) (leaysgur) - a36e444 formatter: Member chain panic when tail is merged with comment in dev build (oxc-project#23698) (leaysgur) - 600d306 formatter: Preserve parens with default export and type cast (oxc-project#23697) (leaysgur) - 61290f2 formatter: Single-member intersection/union type with comment formatting (oxc-project#21915) (Leonabcd123) - 5a1b0b4 formatter: Parenthesize a type assertion used as the base of `**` (oxc-project#23633) (Jerry Zhao) - 91827e2 formatter: Use `Ordering::reverse()` with `order: desc` for idempotency (oxc-project#23543) (leaysgur) - 8fa7394 formatter_json: Handle wrapped error span (oxc-project#23472) (leaysgur) - 37a34a1 oxfmt/lsp: Avoid newlines line ending changes (oxc-project#23463) (Sysix) ### ⚡ Performance - 80f1697 formatter: Avoid arena copy for already-lowercase bigint literals (oxc-project#23534) (Yunfei He) - 1a40b71 formatter: Avoid arena copy for borrowed numeric-literal text (oxc-project#23512) (Yunfei He) - 12e4451 formatter: Avoid arena copy for borrowed string-literal text (oxc-project#23465) (Yunfei He) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
release(apps): oxlint v1.71.0 && oxfmt v0.56.0 (oxc-project#23707) # Oxlint ### 💥 BREAKING CHANGES - 36009dd allocator: [**BREAKING**] `GetAllocator::allocator` take `&self` (oxc-project#23676) (overlookmotel) ### 🚀 Features - ff65285 linter: `no-restricted-globals` add missing upstream options (oxc-project#23663) (Sysix) - 7b8bd89 linter/typescript: Implement suggestion for `no-unnecessary-type-constraint` rule (oxc-project#23646) (Mikhail Baev) - 0dc2405 linter: Add schema for `eslint/no-restricted-properties` (oxc-project#23619) (Sysix) - b638d0e linter: Add schema for `node/callback-return` (oxc-project#23615) (Sysix) - eb8bedc linter: Add schema for `import/extensions` (oxc-project#23557) (WaterWhisperer) - 46f3625 linter: Implement node/no-sync rule (oxc-project#23589) (fujitani sora) - b01739a linter: Add schema for `unicorn/numeric-separators-style` (oxc-project#23554) (Mikhail Baev) - 68afd2a linter/node: Implement `no-mixed-requires` rule (oxc-project#23539) (fujitani sora) - 59d8893 linter: `unicorn/numeric-separators-style` support missing options (oxc-project#23524) (Sysix) - a421215 linter: Add schema for `eslint/prefer-destructuring` (oxc-project#23410) (WaterWhisperer) - 84438be linter/jsdoc: Added missing options to `require-param-description` (oxc-project#23416) (kapobajza) - c145b72 linter/jsdoc/require-param-type: Implement fixer (oxc-project#23513) (camc314) - 51910df linter/jsdoc: Add missing options to `require-param-type` rule (oxc-project#23418) (kapobajza) - e90925f linter/unicorn: Implement prefer-number-coercion rule (oxc-project#23497) (Shekhu☺️ ) - dd1c866 linter/vue: Implement no-async-in-computed-properties rule (oxc-project#23493) (bab) - b02444e linter: Add schema for `react/jsx-no-script-url` (oxc-project#23475) (WaterWhisperer) - 53509a8 minifier: Treeshake pure typed arrays and Set/Map array literals (oxc-project#23469) (Dunqing) - a8dce46 linter/unicorn: Implement `max-nested-calls` rule (oxc-project#23461) (arieleli01212) ### 🐛 Bug Fixes - b1948a1 linter/radix: Avoid panic on `parseInt` with a spread radix argument (oxc-project#23623) (Jerry Zhao) - f28ccfd linter/prefer-query-selector: Use a compound selector for multiple classes (oxc-project#23628) (Jerry Zhao) - 13f2970 linter/prefer-numeric-literals: Avoid panic on `parseInt` with a spread radix argument (oxc-project#23624) (Jerry Zhao) - 57612b3 linter: Report invalid capitalized-comments ignore patterns (oxc-project#23608) (camc314) - 800ee2a linter/consistent-vitest-vi: Preserve import aliases when rewriting the import (oxc-project#23568) (Yunfei He) - f78b5e1 linter/consistent-indexed-object-style: Don't leak a stray comma into the value type (oxc-project#23566) (Yunfei He) - 6b104e8 linter/radix: Detect a trailing comma only after the argument (oxc-project#23569) (Yunfei He) - 2de20cb linter/unicorn/prefer-at: Correct two-argument `slice().pop()` index (oxc-project#23565) (Yunfei He) - de778ec linter: `unicorn/numeric-separators-style` preserve dot for floats without decial part (oxc-project#23553) (Sysix) - 651027c linter/curly: Remove only the block's own braces (oxc-project#23580) (Yunfei He) - 687e835 linter/array-type: Parenthesize a conditional-type element (oxc-project#23579) (Yunfei He) - 9c80dff linter/unicorn/no-unnecessary-await: Don't paste operators into invalid syntax (oxc-project#23556) (Yunfei He) - 46e1463 linter/no-compare-neg-zero: Delete the `-` of a parenthesized `-0` (oxc-project#23578) (Yunfei He) - d172a97 linter/unicorn/prefer-math-trunk: Skip fixer for LHS with side effects (oxc-project#23548) (camc314) - 1c3a9bd linter/unicorn/prefer-negative-index: Don't report `Array#with` (oxc-project#23518) (Yunfei He) - c17db5d linter/unicorn/prefer-spread: Don't report `.slice()` on non-array receivers (oxc-project#23520) (Yunfei He) - 9cd0c2f linter/unicorn/prefer-date-now: Keep `BigInt` wrapper when fixing `BigInt(new Date())` (oxc-project#23523) (Yunfei He) - 16bb890 linter/unicorn/prefer-array-flat: Skip non-array `flatMap` receivers (oxc-project#23527) (Yunfei He) - 3e6f90f linter/unicorn/no-zero-fractions: Insert a space after any preceding keyword (oxc-project#23529) (Yunfei He) - 79a7d69 linter/eslint/no-useless-assignment: Handle exceptional control-flow paths (oxc-project#23544) (camc314) - e8e2741 linter/unicorn/prefer-math-min-max: Preserve operand source text in the fix (oxc-project#23533) (Yunfei He) - f592154 linter/react/display-name: Ignore lowercase jsx helpers (oxc-project#23510) (camc314) - df7612f linter/jsx-a11y/no-noninteractive-element-to-interactive-role: Allow custom roles config (oxc-project#23507) (camc314) - 924b931 linter/unicorn/prefer-at: Handle checking all indexes correctly (oxc-project#23504) (camc314) - ca9686b linter/unicorn/prefer-at: Report zero indexes (oxc-project#23503) (camc314) - e96a4e3 linter/unicorn/explicit-length-check: Ignore optional chains (oxc-project#23487) (camc314) - a303c23 linter/jsx-a11y: Align `anchor-is-valid` config with upstream (oxc-project#23446) (camc314) - f27a6d1 linter: False positives with non `*.setTimeout` call in `no-confusing-set-timeout` (oxc-project#23444) (camc314) ### ⚡ Performance - 8e0dd65 linter: Emit RuleEnum dispatch match once instead of per timing branch (oxc-project#23499) (Boshen) - d5c7d99 linter/expect-expect: Avoid recompiling matches on every traversal (oxc-project#23593) (camc314) - f191520 linter/no-useless-spread: Avoid collecting `Vec` before iterating (oxc-project#23546) (camc314) - 79340d1 linter: Stream React lifecycle ancestors (oxc-project#23545) (camc314) - 1923169 linter/eslint/max-classes: Gate rule by rule config threshold (oxc-project#23509) (camc314) - 3f60de3 linter: Use bucketed dispatch for all files (oxc-project#23452) (camc314) - 3699971 linter/typescript/no-unnecessary-parameter-property-assignment: Avoid temporary vec allocations (oxc-project#23492) (camc314) - 4ef0ceb linter/eslint/no-useless-switch-case: Avoid temporary vec allocations (oxc-project#23489) (camc314) - 2e09dd3 linter: Avoid JSX fragment child collections (oxc-project#23486) (camc314) - f30a64c linter/oxc/branches-sharing-code: Borrow shared branch suggestion text (oxc-project#23484) (camc314) - 097a317 linter/eslint/no-control-regex: Retain control regex candidates in place (oxc-project#23482) (camc314) - b3a093d linter: Reuse rule dispatch buckets (oxc-project#23450) (camc314) - 9f1a985 oxlint: Start Tokio only for LSP (oxc-project#23447) (camc314) ### 📚 Documentation - 9e219de linter/plugins: Update usage instruction (oxc-project#23495) (Tony) - b50bf4d linter: Remove manually written options doc for `eslint/arrow-body-style` (oxc-project#23490) (Mikhail Baev) # Oxfmt ### 💥 BREAKING CHANGES - 36009dd allocator: [**BREAKING**] `GetAllocator::allocator` take `&self` (oxc-project#23676) (overlookmotel) ### 🐛 Bug Fixes - f21ed2c formatter_json: Normalize CRLF for suppressed text (oxc-project#23702) (leaysgur) - 7cd1737 formatter: Normalize CRLF for suppressed text (oxc-project#23701) (leaysgur) - a36e444 formatter: Member chain panic when tail is merged with comment in dev build (oxc-project#23698) (leaysgur) - 600d306 formatter: Preserve parens with default export and type cast (oxc-project#23697) (leaysgur) - 61290f2 formatter: Single-member intersection/union type with comment formatting (oxc-project#21915) (Leonabcd123) - 5a1b0b4 formatter: Parenthesize a type assertion used as the base of `**` (oxc-project#23633) (Jerry Zhao) - 91827e2 formatter: Use `Ordering::reverse()` with `order: desc` for idempotency (oxc-project#23543) (leaysgur) - 8fa7394 formatter_json: Handle wrapped error span (oxc-project#23472) (leaysgur) - 37a34a1 oxfmt/lsp: Avoid newlines line ending changes (oxc-project#23463) (Sysix) ### ⚡ Performance - 80f1697 formatter: Avoid arena copy for already-lowercase bigint literals (oxc-project#23534) (Yunfei He) - 1a40b71 formatter: Avoid arena copy for borrowed numeric-literal text (oxc-project#23512) (Yunfei He) - 12e4451 formatter: Avoid arena copy for borrowed string-literal text (oxc-project#23465) (Yunfei He) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
release(crates): oxc v0.137.0 (oxc-project#23591) ### 💥 BREAKING CHANGES - 7a76cd3 estree: [**BREAKING**] Make whether to include TS fields a runtime option (oxc-project#23574) (overlookmotel) - e7b6b68 estree: [**BREAKING**] `ESTree` config use methods not consts (oxc-project#23573) (overlookmotel) ### 🚀 Features - 556cc6d data_structures: Add `CodeBuffer::as_str` method (oxc-project#23571) (overlookmotel) - 38c4b06 parser: Add friendly error for adjacent JSX elements (oxc-project#23378) (sapphi-red) - 53509a8 minifier: Treeshake pure typed arrays and Set/Map array literals (oxc-project#23469) (Dunqing) - 09762d9 minifier: Inline const value for read-only vars (oxc-project#22593) (Dunqing) ### 🐛 Bug Fixes - 20375f9 react_compiler: Keep imports referenced only by a computed key (oxc-project#23586) (Boshen) - 31bfd9b minifier: Keep Object introspection calls on a possible Proxy (oxc-project#23483) (Dunqing) - 837a395 parser: Treat a line comment after ':' as leading, not trailing (oxc-project#23515) (Dunqing) - e409fe0 minifier: Keep `new Map`/`WeakSet`/`WeakMap` with a string argument (oxc-project#23470) (Dunqing) - ae02b4e ci/parser: Use `minimal` for vitest reporter (oxc-project#23457) (camc314) ### ⚡ Performance - cf24329 mangler: Compile slot sort once instead of per CAPACITY (oxc-project#23577) (Boshen) - 4058a6a parser: Reduce code bloat from verify_modifiers monomorphization (oxc-project#23576) (Boshen) - 053b0c1 estree: Remove pointless `mem::take` (oxc-project#23572) (overlookmotel) - dfb52b6 transformer: Pre-size statement vecs in TS enum & namespace lowering (oxc-project#23516) (Yunfei He) - 970e09a minifier: Compute template-literal inline checks in a single pass (oxc-project#23467) (Yunfei He) - 3170c0e semantic,mangler,minifier: Fix `Semantic::stats` node count and reuse stats in mangler builds (oxc-project#23352) (Boshen) - d1fa6e0 minifier: Evaluate ternary branches once in minimize_conditional_expression (oxc-project#23479) (Yunfei He) - 3fa8051 transformer: Pre-size JSX props vec to attribute count (oxc-project#23466) (Yunfei He) - 488b382 react_compiler: Borrow binding names in prefilter instead of allocating (oxc-project#23471) (Yunfei He) - bcb3894 minifier: Incremental scoping refresh, delete LiveUsageCollector (oxc-project#23197) (Dunqing) ### 📚 Documentation - f68641e data_structures: Improve docs on safety contract (oxc-project#23575) (overlookmotel) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
release(apps): oxlint v1.70.0 && oxfmt v0.55.0 (oxc-project#23442) # Oxlint ### 🚀 Features - 5e1627d linter/unicorn: Flag all Error() calls without new in `throw-new-error` (oxc-project#23363) (Cason Kervis) - 2e8bda4 linter/vue: Implement no-dupe-keys rule (oxc-project#23350) (bab) - 1490a0a linter/react: Implement react-compiler rule (oxc-project#23202) (Boshen) - dd560ae linter/unicorn: Implement `no-array-fill-with-reference-type` rule (oxc-project#23397) (Mikhail Baev) - af36c2f linter: Add schema for `react/jsx-curly-brace-presence` (oxc-project#23400) (WaterWhisperer) - 47d34a3 linter: Add schema for `react/jsx-handler-names` (oxc-project#23393) (WaterWhisperer) - f4250d0 linter: Add schema for `unicorn/import-style` (oxc-project#23386) (WaterWhisperer) - 30c74ce linter: Add schema for `jsx_a11y/no-noninteractive-element-to-interactive-role` (oxc-project#23384) (Sysix) - cfbe8dc linter: Add schema for `jsx_a11y/no-interactive-element-to-noninteractive-role` (oxc-project#23382) (WaterWhisperer) - d15b7ff linter: Add schema for `typescript/no-restricted-types` (oxc-project#23381) (WaterWhisperer) - 028a811 linter: Add schema for `jsx-a11y/media-has-caption` (oxc-project#23377) (Sysix) - b3b1038 linter: Add schema for `jsx-a11y/label-has-associated-control` (oxc-project#23376) (Sysix) - 7ada6b2 linter: Add schema for `jsx_a11y/no-distracting-elements` (oxc-project#23379) (WaterWhisperer) - ee3dd49 linter: Add schema for `jsx-a11y/img-redundant-alt` (oxc-project#23374) (Sysix) - df5f8dd linter: Add short descriptions to most lint rules. (oxc-project#23365) (Connor Shea) - e3fd735 linter: Add schema for `jsx_a11y/alt-text` (oxc-project#23369) (Sysix) - 0f2fff4 linter: Add schema for `react/exhaustive-deps` (oxc-project#23372) (Mikhail Baev) - e3e4e10 linter: Add schema for `react_perf/jsx-no-new-object-as-prop` (oxc-project#23368) (Mikhail Baev) - 9366d44 linter: Add schema for `unicorn/prefer-at` (oxc-project#23366) (WaterWhisperer) - f57b55d linter: Add schema for `typescript/array-type` (oxc-project#23355) (Sysix) - 0dcf912 linter: Add schema for `typescript/ban-ts-comment` (oxc-project#23354) (Sysix) - 51fa83e linter: Add schema for `react/no-did-update-set-state` (oxc-project#23357) (Mikhail Baev) - 59db0bd linter: Add schema for `consistent-generic-constructors` (oxc-project#23353) (Sysix) - c4775c0 linter: Add schema for `typescript/consistent-type-assertions` (oxc-project#23349) (Sysix) - 6e516f7 linter: Add schema for `typescript/consistent-type-imports` (oxc-project#23348) (Sysix) - 012134d linter: Add schema for `react/jsx-no-target-blank` (oxc-project#23345) (WaterWhisperer) - 0806aae linter: Add schema for `jsx_a11y/no-noninteractive-tabindex` (oxc-project#23337) (Mikhail Baev) - 0708b5a linter: Add schema for `react/jsx-filename-extension` (oxc-project#23315) (Mikhail Baev) - 150bce1 linter: Add schema for `typescript/no-empty-object-type` (oxc-project#23309) (Sysix) - f9e36f1 linter: Add schema for `typescript/no-duplicate-type-constituents` (oxc-project#23308) (Sysix) - 937accf linter: Add schema for `typescript/no-invalid-void-type` (oxc-project#23307) (Sysix) - 3e042b9 linter: Add schema for `typescript/no-misused-promises` (oxc-project#23306) (Sysix) - da212d1 linter: Add schema for `typescript/no-unnecessary-condition` (oxc-project#23305) (Sysix) - f8f0d38 linter: Add schema for `typescript/parameter-properties` (oxc-project#23304) (Sysix) - 2275fc7 linter: Add schema for `typescript/prefer-nullish-coalescing` (oxc-project#23302) (Sysix) - d353858 linter: Add schema for `typescript/prefer-string-starts-ends-with` (oxc-project#23301) (Sysix) - 03060f5 linter: Add schema for `typescript/triple-slash-reference` (oxc-project#23300) (Sysix) - 6619cee linter: Add schema for `promise/param-names` (oxc-project#23298) (Sysix) - 8bf108e linter: Add schema for `promise/catch-or-return` (oxc-project#23297) (Sysix) - 48158d0 linter: Add schema for `vitest/consistent-each-for` (oxc-project#23294) (Sysix) - 7e74c98 linter: Add schema for `vitest/consistent-test-filename` (oxc-project#23293) (Sysix) - ff94d4a linter: Add schema for `vitest/consistent-vitest-vi` (oxc-project#23292) (Sysix) - 2409a10 linter: Add schema for `vitest/prefer-import-in-mock` (oxc-project#23291) (Sysix) - 3d782b7 linter: Add schema for `react/no-unstable-nested-components` (oxc-project#23287) (Mikhail Baev) - 0a0bc2f linter/jsx-a11y: Add `allowedRedundantRoles` option to `no-redundant-roles` (oxc-project#22820) (bab) - 80758a5 linter/vue: Implement no-side-effects-in-computed-properties rule (oxc-project#23282) (bab) - e3869ac linter: Add schema for `react/no-object-type-as-default-prop` (oxc-project#23279) (Mikhail Baev) - 4480609 linter: Add schema for `react/jsx-props-no-spreading` (oxc-project#23276) (Mikhail Baev) - 08d68a5 linter/react: Implement `jsx-no-literals` rule (oxc-project#23145) (kapobajza) - 9a2788b linter/unicorn: Implement `prefer-export-from` rule (oxc-project#22935) (AliceLanniste) - bdb723c linter/unicorn: Implement prefer-single-call rule (oxc-project#23235) (Yuzhe Shi) - 31543ed linter: Add schema for `vue/define-props-destructuring` (oxc-project#23252) (Sysix) - 21b6c3d linter: Add schema for `oxc/no-async-endpoint-handlers` (oxc-project#23251) (Sysix) - e77ff81 linter: Add schema for `unicorn/prefer-object-from-entries` (oxc-project#23249) (Mikhail Baev) - bcac2d6 linter: Add schema for `jest/vitest/no-restricted-matchers` (oxc-project#23247) (Sysix) - 539f036 linter: Add schema for `jest/vitest/no-restricted-*-methods` (oxc-project#23246) (Sysix) - dd1b927 linter/vue: Implement require-default-prop rule (oxc-project#22951) (bab) - 3f018e7 linter: Add schema for `unicorn/no-instanceof-builtins` (oxc-project#23225) (Mikhail Baev) - 5b9a793 linter/react-perf: Support `nativeAllowList` config (oxc-project#22996) (Cole Ellison) - b4e19d4 linter: Improve promise/catch-or-return termination diagnostics (oxc-project#23218) (camc314) - 9b72a41 linter/promise/catch-or-return: Add support for `allowThenStrict` option (oxc-project#23206) (camc314) - e0d0f78 linter: Verify promise/no-callback-in-promise schema (oxc-project#23141) (beanscg) - 123d4f4 linter: Add schema for `jest/vitest/valid-expect` (oxc-project#23185) (Sysix) - 46c8a21 linter: Add schema for `jest/vitest/require-top-level-describe` (oxc-project#23184) (Sysix) - 41465cf linter: Add schema for `jest/vitest/prefer-snapshot-hint` (oxc-project#23183) (Sysix) - d068b9b linter: Add schema for `jest/vitest/prefer-expect-assertions` (oxc-project#23181) (Sysix) - 064a1ee linter: Add schema for `jest/prefer-ending-with-an-expect` (oxc-project#23180) (Sysix) - d046797 linter: Add schema for `jest/vitest/no-standalone-expect` (oxc-project#23179) (Sysix) - 137b9a6 linter: Add schema for `jest/vitest/no-large-snapshots` (oxc-project#23178) (Sysix) - 0f3e4a5 linter: Add schema for `jest/vitest/no-hooks` (oxc-project#23177) (Sysix) - 00244d8 parser: Report definite property initializer errors (oxc-project#23160) (camc314) - cd0b384 linter: Add schema for `unicorn/explicit-length-check` (oxc-project#23155) (Mikhail Baev) - 01b74c4 linter: Add schema for `jest/no-deprecated-functions` (oxc-project#23136) (Sysix) - 9d6a387 linter: Add schema for `unicorn/catch-error-name` (oxc-project#23137) (Mikhail Baev) - 0da8efa linter: Add schema for `jest/vitest/max-nested-describe` (oxc-project#23131) (Sysix) - d71c9fd linter: Add schema for `eslint/no-use-before-define` (oxc-project#23129) (Sysix) ### 🐛 Bug Fixes - 019be2e linter/unicorn: Align throw-new-error parity (oxc-project#23437) (camc314) - b9e5e51 linter/jest: Validate no-restricted-jest-methods config (oxc-project#23436) (camc314) - f302f41 linter: Normalize oxlint jsPlugin prefixes (oxc-project#23335) (konh) - 2bdf8ce linter/jest: Validate no-restricted-matchers config (oxc-project#23434) (camc314) - 5c2fb45 linter/eslint: Validate max-depth config (oxc-project#23430) (camc314) - eafc280 linter/eslint: Validate no-unused-vars config (oxc-project#23433) (camc314) - 25aebb0 linter/typescript: Validate no-empty-object-type config (oxc-project#23432) (camc314) - 7cafe3b linter/unicorn: Validate catch-error-name config (oxc-project#23431) (camc314) - af1b897 linter/unicorn: Validate prefer-object-from-entries config (oxc-project#23429) (camc314) - 68d48fe linter/eslint: Validate max-classes-per-file config (oxc-project#23428) (camc314) - 02932b6 linter/eslint: Validate `complexity` config (oxc-project#23427) (camc314) - 375e574 linter/eslint: Use shared id-length regex config (oxc-project#23426) (camc314) - ba3e2e0 linter/eslint: Preserve used imports in no-unused-vars fixer (oxc-project#23425) (camc314) - 26ddac6 linter: Avoid config schema generation for `jsx_a11y/no-noninteractive-element-interactions` (oxc-project#23385) (Sysix) - 40556ad linter: Parse `jsx-a11y/control-has-associated-label` config with `DefaultRuleConfig` (oxc-project#23373) (Sysix) - dacbda8 linter/unicorn/prefer-string-starts-ends-with: Mark rule as deprecated (oxc-project#23342) (camc314) - 956309a lsp: Use protocol line breaks for positions (oxc-project#23329) (konh) - 71e9648 linter: Expose no-noninteractive-element-interactions schema (oxc-project#23283) (camc314) - 4c4c19c linter: `no-noninteractive-element-interactions` fix default values (oxc-project#23288) (Sysix) - e63a139 linter/jsx-a11y: Restore control label defaults (oxc-project#22737) (konh) - 0e4e59f linter/jsx-a11y: No-redundant-roles attribute-aware implicit roles for `<input>`, skip ancestor-conditional elements (oxc-project#23015) (Gaurav Dubey) - 06e215e linter/vitest: Validate `consistent-each-for` config (oxc-project#23278) (camc314) - cd278e1 linter/promise: Validate param-names config (oxc-project#23277) (camc314) - 7f46013 linter/react/display-name: Handle default export function correctly (oxc-project#23271) (camc314) - 22ff6a6 linter/unicorn: Deserialize filename-case config with serde (oxc-project#23266) (camc314) - b644da0 linter/eslint: Add fixer for `sort_vars` (oxc-project#23262) (Cason Kervis) - 778af4d linter/unicorn: Support array of patterns for `unicorn/filename-case` `ignore` option (oxc-project#23260) (kapobajza) - 127fb2c linter: Deserialize rule config with serde for `unicorn/prefer-object-from-entries` (oxc-project#23253) (Sysix) - f89b909 linter/react/jsx-no-target-blank: Handle compound conditions (oxc-project#23245) (camc314) - c30419a linter/typescript: Deserialize rule config with serde for `consistent-generic-constructors` (oxc-project#23238) (camc314) - 7d17d37 linter/react: Report invalid exhaustive-deps config (oxc-project#23239) (camc314) - 1060186 linter/eslint: Add `deny_unknown_fields` to `prefer-destructuring` (oxc-project#23237) (camc314) - fd2e4eb linter/react: Add `deny_unknown_fields` to `exhaustive-deps` (oxc-project#23236) (camc314) - 6c3c904 linter/react/jsx-curly-brace-presence: Avoid false positive with comment within braces (oxc-project#23234) (camc314) - 6c86d1c linter/react-perf: Correct nativeAllowList all schema (oxc-project#23229) (camc314) - c393760 linter/react/rules-of-hooks: Align try/catch semantics (oxc-project#23221) (camc314) - 4dd52de linter/react-perf: Re-generate stale snapshots (oxc-project#23228) (camc314) - de2d23b linter/unicorn/prefer-dom-node-dataset: Preserve optional chaining in fixer (oxc-project#23148) (Bruno Carvalho) - d7038de linter/react/exhaustive-deps: Ignore non `React` namespace hooks (oxc-project#23175) (camc314) - 7111903 linter/react/exhaustive-deps: FP with wrapped literal expressions (oxc-project#23172) (camc314) - 93326e7 linter/react: Align hook errors with anonomous async callbacks (oxc-project#23158) (camc314) - 8f3db61 linter: Allow options for `eslint/capitalized-comments` (oxc-project#23139) (Sysix) - f533565 linter: Support nofunc string option in no-use-before-define (oxc-project#23115) (bab) ### ⚡ Performance - f09707e linter: `jest/no-deprecated-functions` store config version as `usize` (oxc-project#23138) (Sysix) - da1a6c6 diagnostics: Migrate to allocation-optimized oxc-miette (oxc-project#23094) (Boshen) ### 📚 Documentation - f682e25 linter: Remove manually written options doc for `eslint/prefer-arrow-callback` (oxc-project#23438) (Mikhail Baev) - 64c942c linter: Remove manually written options doc for `eslint/no-sequences` (oxc-project#23420) (Mikhail Baev) - d6d1189 linter: Add `short_descriptions` to more rules (oxc-project#23417) (Connor Shea) - b979722 linter: Clarify valid-define-emits description (oxc-project#23408) (camc314) - ccd0a69 linter: Clarify only-used-in-recursion description (oxc-project#23407) (camc314) - b0fd30b linter: Clarify no-sync-scripts description (oxc-project#23406) (camc314) - c23290d linter: Clarify no-cycle description (oxc-project#23405) (camc314) - 3612e0b linter: Clarify no-nodejs-modules description (oxc-project#23403) (camc314) - c67c5b1 linter: Clarify no-misused-new description (oxc-project#23402) (camc314) - 88bf0bc linter: Clarify require-render-return description (oxc-project#23401) (camc314) - 9fff263 linter: Add short descriptions to more rules that lacked them (oxc-project#23389) (Connor Shea) - ac69042 linter: Add short_description fields to more lint rules (oxc-project#23391) (Connor Shea) - 99a3c78 linter: Add info for more skipped rule schemas (oxc-project#23380) (Sysix) - c966384 linter: Fix the example of `unicorn/prefer-string-replace-all` (oxc-project#23367) (Liang) - 2120ecf linter: Describe problems on not verified rules schema (oxc-project#23351) (Sysix) - 14abf32 linter/react-perf: Use autogenerated docs (oxc-project#23227) (camc314) # Oxfmt ### 🚀 Features - 9a2788b linter/unicorn: Implement `prefer-export-from` rule (oxc-project#22935) (AliceLanniste) - 0c6fb23 oxfmt: Format `parser:json-stringify` files by `oxc_formatter_json` (oxc-project#23194) (leaysgur) - 8cc82c4 formatter_json: Implement json-stringify variant (oxc-project#23192) (leaysgur) ### 🐛 Bug Fixes - 956309a lsp: Use protocol line breaks for positions (oxc-project#23329) (konh) - 769de65 oxfmt: Handle compound json extensions (oxc-project#23198) (leaysgur) - b0b5d39 formatter_json: Support JSON5/JSON6 value in json/jsonc/json5 (oxc-project#23193) (leaysgur) ### 📚 Documentation - 4986613 formatter_json: Update AGENTS.md (oxc-project#23199) (leaysgur) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
release(apps): oxlint v1.70.0 && oxfmt v0.55.0 (oxc-project#23442) # Oxlint ### 🚀 Features - 5e1627d linter/unicorn: Flag all Error() calls without new in `throw-new-error` (oxc-project#23363) (Cason Kervis) - 2e8bda4 linter/vue: Implement no-dupe-keys rule (oxc-project#23350) (bab) - 1490a0a linter/react: Implement react-compiler rule (oxc-project#23202) (Boshen) - dd560ae linter/unicorn: Implement `no-array-fill-with-reference-type` rule (oxc-project#23397) (Mikhail Baev) - af36c2f linter: Add schema for `react/jsx-curly-brace-presence` (oxc-project#23400) (WaterWhisperer) - 47d34a3 linter: Add schema for `react/jsx-handler-names` (oxc-project#23393) (WaterWhisperer) - f4250d0 linter: Add schema for `unicorn/import-style` (oxc-project#23386) (WaterWhisperer) - 30c74ce linter: Add schema for `jsx_a11y/no-noninteractive-element-to-interactive-role` (oxc-project#23384) (Sysix) - cfbe8dc linter: Add schema for `jsx_a11y/no-interactive-element-to-noninteractive-role` (oxc-project#23382) (WaterWhisperer) - d15b7ff linter: Add schema for `typescript/no-restricted-types` (oxc-project#23381) (WaterWhisperer) - 028a811 linter: Add schema for `jsx-a11y/media-has-caption` (oxc-project#23377) (Sysix) - b3b1038 linter: Add schema for `jsx-a11y/label-has-associated-control` (oxc-project#23376) (Sysix) - 7ada6b2 linter: Add schema for `jsx_a11y/no-distracting-elements` (oxc-project#23379) (WaterWhisperer) - ee3dd49 linter: Add schema for `jsx-a11y/img-redundant-alt` (oxc-project#23374) (Sysix) - df5f8dd linter: Add short descriptions to most lint rules. (oxc-project#23365) (Connor Shea) - e3fd735 linter: Add schema for `jsx_a11y/alt-text` (oxc-project#23369) (Sysix) - 0f2fff4 linter: Add schema for `react/exhaustive-deps` (oxc-project#23372) (Mikhail Baev) - e3e4e10 linter: Add schema for `react_perf/jsx-no-new-object-as-prop` (oxc-project#23368) (Mikhail Baev) - 9366d44 linter: Add schema for `unicorn/prefer-at` (oxc-project#23366) (WaterWhisperer) - f57b55d linter: Add schema for `typescript/array-type` (oxc-project#23355) (Sysix) - 0dcf912 linter: Add schema for `typescript/ban-ts-comment` (oxc-project#23354) (Sysix) - 51fa83e linter: Add schema for `react/no-did-update-set-state` (oxc-project#23357) (Mikhail Baev) - 59db0bd linter: Add schema for `consistent-generic-constructors` (oxc-project#23353) (Sysix) - c4775c0 linter: Add schema for `typescript/consistent-type-assertions` (oxc-project#23349) (Sysix) - 6e516f7 linter: Add schema for `typescript/consistent-type-imports` (oxc-project#23348) (Sysix) - 012134d linter: Add schema for `react/jsx-no-target-blank` (oxc-project#23345) (WaterWhisperer) - 0806aae linter: Add schema for `jsx_a11y/no-noninteractive-tabindex` (oxc-project#23337) (Mikhail Baev) - 0708b5a linter: Add schema for `react/jsx-filename-extension` (oxc-project#23315) (Mikhail Baev) - 150bce1 linter: Add schema for `typescript/no-empty-object-type` (oxc-project#23309) (Sysix) - f9e36f1 linter: Add schema for `typescript/no-duplicate-type-constituents` (oxc-project#23308) (Sysix) - 937accf linter: Add schema for `typescript/no-invalid-void-type` (oxc-project#23307) (Sysix) - 3e042b9 linter: Add schema for `typescript/no-misused-promises` (oxc-project#23306) (Sysix) - da212d1 linter: Add schema for `typescript/no-unnecessary-condition` (oxc-project#23305) (Sysix) - f8f0d38 linter: Add schema for `typescript/parameter-properties` (oxc-project#23304) (Sysix) - 2275fc7 linter: Add schema for `typescript/prefer-nullish-coalescing` (oxc-project#23302) (Sysix) - d353858 linter: Add schema for `typescript/prefer-string-starts-ends-with` (oxc-project#23301) (Sysix) - 03060f5 linter: Add schema for `typescript/triple-slash-reference` (oxc-project#23300) (Sysix) - 6619cee linter: Add schema for `promise/param-names` (oxc-project#23298) (Sysix) - 8bf108e linter: Add schema for `promise/catch-or-return` (oxc-project#23297) (Sysix) - 48158d0 linter: Add schema for `vitest/consistent-each-for` (oxc-project#23294) (Sysix) - 7e74c98 linter: Add schema for `vitest/consistent-test-filename` (oxc-project#23293) (Sysix) - ff94d4a linter: Add schema for `vitest/consistent-vitest-vi` (oxc-project#23292) (Sysix) - 2409a10 linter: Add schema for `vitest/prefer-import-in-mock` (oxc-project#23291) (Sysix) - 3d782b7 linter: Add schema for `react/no-unstable-nested-components` (oxc-project#23287) (Mikhail Baev) - 0a0bc2f linter/jsx-a11y: Add `allowedRedundantRoles` option to `no-redundant-roles` (oxc-project#22820) (bab) - 80758a5 linter/vue: Implement no-side-effects-in-computed-properties rule (oxc-project#23282) (bab) - e3869ac linter: Add schema for `react/no-object-type-as-default-prop` (oxc-project#23279) (Mikhail Baev) - 4480609 linter: Add schema for `react/jsx-props-no-spreading` (oxc-project#23276) (Mikhail Baev) - 08d68a5 linter/react: Implement `jsx-no-literals` rule (oxc-project#23145) (kapobajza) - 9a2788b linter/unicorn: Implement `prefer-export-from` rule (oxc-project#22935) (AliceLanniste) - bdb723c linter/unicorn: Implement prefer-single-call rule (oxc-project#23235) (Yuzhe Shi) - 31543ed linter: Add schema for `vue/define-props-destructuring` (oxc-project#23252) (Sysix) - 21b6c3d linter: Add schema for `oxc/no-async-endpoint-handlers` (oxc-project#23251) (Sysix) - e77ff81 linter: Add schema for `unicorn/prefer-object-from-entries` (oxc-project#23249) (Mikhail Baev) - bcac2d6 linter: Add schema for `jest/vitest/no-restricted-matchers` (oxc-project#23247) (Sysix) - 539f036 linter: Add schema for `jest/vitest/no-restricted-*-methods` (oxc-project#23246) (Sysix) - dd1b927 linter/vue: Implement require-default-prop rule (oxc-project#22951) (bab) - 3f018e7 linter: Add schema for `unicorn/no-instanceof-builtins` (oxc-project#23225) (Mikhail Baev) - 5b9a793 linter/react-perf: Support `nativeAllowList` config (oxc-project#22996) (Cole Ellison) - b4e19d4 linter: Improve promise/catch-or-return termination diagnostics (oxc-project#23218) (camc314) - 9b72a41 linter/promise/catch-or-return: Add support for `allowThenStrict` option (oxc-project#23206) (camc314) - e0d0f78 linter: Verify promise/no-callback-in-promise schema (oxc-project#23141) (beanscg) - 123d4f4 linter: Add schema for `jest/vitest/valid-expect` (oxc-project#23185) (Sysix) - 46c8a21 linter: Add schema for `jest/vitest/require-top-level-describe` (oxc-project#23184) (Sysix) - 41465cf linter: Add schema for `jest/vitest/prefer-snapshot-hint` (oxc-project#23183) (Sysix) - d068b9b linter: Add schema for `jest/vitest/prefer-expect-assertions` (oxc-project#23181) (Sysix) - 064a1ee linter: Add schema for `jest/prefer-ending-with-an-expect` (oxc-project#23180) (Sysix) - d046797 linter: Add schema for `jest/vitest/no-standalone-expect` (oxc-project#23179) (Sysix) - 137b9a6 linter: Add schema for `jest/vitest/no-large-snapshots` (oxc-project#23178) (Sysix) - 0f3e4a5 linter: Add schema for `jest/vitest/no-hooks` (oxc-project#23177) (Sysix) - 00244d8 parser: Report definite property initializer errors (oxc-project#23160) (camc314) - cd0b384 linter: Add schema for `unicorn/explicit-length-check` (oxc-project#23155) (Mikhail Baev) - 01b74c4 linter: Add schema for `jest/no-deprecated-functions` (oxc-project#23136) (Sysix) - 9d6a387 linter: Add schema for `unicorn/catch-error-name` (oxc-project#23137) (Mikhail Baev) - 0da8efa linter: Add schema for `jest/vitest/max-nested-describe` (oxc-project#23131) (Sysix) - d71c9fd linter: Add schema for `eslint/no-use-before-define` (oxc-project#23129) (Sysix) ### 🐛 Bug Fixes - 019be2e linter/unicorn: Align throw-new-error parity (oxc-project#23437) (camc314) - b9e5e51 linter/jest: Validate no-restricted-jest-methods config (oxc-project#23436) (camc314) - f302f41 linter: Normalize oxlint jsPlugin prefixes (oxc-project#23335) (konh) - 2bdf8ce linter/jest: Validate no-restricted-matchers config (oxc-project#23434) (camc314) - 5c2fb45 linter/eslint: Validate max-depth config (oxc-project#23430) (camc314) - eafc280 linter/eslint: Validate no-unused-vars config (oxc-project#23433) (camc314) - 25aebb0 linter/typescript: Validate no-empty-object-type config (oxc-project#23432) (camc314) - 7cafe3b linter/unicorn: Validate catch-error-name config (oxc-project#23431) (camc314) - af1b897 linter/unicorn: Validate prefer-object-from-entries config (oxc-project#23429) (camc314) - 68d48fe linter/eslint: Validate max-classes-per-file config (oxc-project#23428) (camc314) - 02932b6 linter/eslint: Validate `complexity` config (oxc-project#23427) (camc314) - 375e574 linter/eslint: Use shared id-length regex config (oxc-project#23426) (camc314) - ba3e2e0 linter/eslint: Preserve used imports in no-unused-vars fixer (oxc-project#23425) (camc314) - 26ddac6 linter: Avoid config schema generation for `jsx_a11y/no-noninteractive-element-interactions` (oxc-project#23385) (Sysix) - 40556ad linter: Parse `jsx-a11y/control-has-associated-label` config with `DefaultRuleConfig` (oxc-project#23373) (Sysix) - dacbda8 linter/unicorn/prefer-string-starts-ends-with: Mark rule as deprecated (oxc-project#23342) (camc314) - 956309a lsp: Use protocol line breaks for positions (oxc-project#23329) (konh) - 71e9648 linter: Expose no-noninteractive-element-interactions schema (oxc-project#23283) (camc314) - 4c4c19c linter: `no-noninteractive-element-interactions` fix default values (oxc-project#23288) (Sysix) - e63a139 linter/jsx-a11y: Restore control label defaults (oxc-project#22737) (konh) - 0e4e59f linter/jsx-a11y: No-redundant-roles attribute-aware implicit roles for `<input>`, skip ancestor-conditional elements (oxc-project#23015) (Gaurav Dubey) - 06e215e linter/vitest: Validate `consistent-each-for` config (oxc-project#23278) (camc314) - cd278e1 linter/promise: Validate param-names config (oxc-project#23277) (camc314) - 7f46013 linter/react/display-name: Handle default export function correctly (oxc-project#23271) (camc314) - 22ff6a6 linter/unicorn: Deserialize filename-case config with serde (oxc-project#23266) (camc314) - b644da0 linter/eslint: Add fixer for `sort_vars` (oxc-project#23262) (Cason Kervis) - 778af4d linter/unicorn: Support array of patterns for `unicorn/filename-case` `ignore` option (oxc-project#23260) (kapobajza) - 127fb2c linter: Deserialize rule config with serde for `unicorn/prefer-object-from-entries` (oxc-project#23253) (Sysix) - f89b909 linter/react/jsx-no-target-blank: Handle compound conditions (oxc-project#23245) (camc314) - c30419a linter/typescript: Deserialize rule config with serde for `consistent-generic-constructors` (oxc-project#23238) (camc314) - 7d17d37 linter/react: Report invalid exhaustive-deps config (oxc-project#23239) (camc314) - 1060186 linter/eslint: Add `deny_unknown_fields` to `prefer-destructuring` (oxc-project#23237) (camc314) - fd2e4eb linter/react: Add `deny_unknown_fields` to `exhaustive-deps` (oxc-project#23236) (camc314) - 6c3c904 linter/react/jsx-curly-brace-presence: Avoid false positive with comment within braces (oxc-project#23234) (camc314) - 6c86d1c linter/react-perf: Correct nativeAllowList all schema (oxc-project#23229) (camc314) - c393760 linter/react/rules-of-hooks: Align try/catch semantics (oxc-project#23221) (camc314) - 4dd52de linter/react-perf: Re-generate stale snapshots (oxc-project#23228) (camc314) - de2d23b linter/unicorn/prefer-dom-node-dataset: Preserve optional chaining in fixer (oxc-project#23148) (Bruno Carvalho) - d7038de linter/react/exhaustive-deps: Ignore non `React` namespace hooks (oxc-project#23175) (camc314) - 7111903 linter/react/exhaustive-deps: FP with wrapped literal expressions (oxc-project#23172) (camc314) - 93326e7 linter/react: Align hook errors with anonomous async callbacks (oxc-project#23158) (camc314) - 8f3db61 linter: Allow options for `eslint/capitalized-comments` (oxc-project#23139) (Sysix) - f533565 linter: Support nofunc string option in no-use-before-define (oxc-project#23115) (bab) ### ⚡ Performance - f09707e linter: `jest/no-deprecated-functions` store config version as `usize` (oxc-project#23138) (Sysix) - da1a6c6 diagnostics: Migrate to allocation-optimized oxc-miette (oxc-project#23094) (Boshen) ### 📚 Documentation - f682e25 linter: Remove manually written options doc for `eslint/prefer-arrow-callback` (oxc-project#23438) (Mikhail Baev) - 64c942c linter: Remove manually written options doc for `eslint/no-sequences` (oxc-project#23420) (Mikhail Baev) - d6d1189 linter: Add `short_descriptions` to more rules (oxc-project#23417) (Connor Shea) - b979722 linter: Clarify valid-define-emits description (oxc-project#23408) (camc314) - ccd0a69 linter: Clarify only-used-in-recursion description (oxc-project#23407) (camc314) - b0fd30b linter: Clarify no-sync-scripts description (oxc-project#23406) (camc314) - c23290d linter: Clarify no-cycle description (oxc-project#23405) (camc314) - 3612e0b linter: Clarify no-nodejs-modules description (oxc-project#23403) (camc314) - c67c5b1 linter: Clarify no-misused-new description (oxc-project#23402) (camc314) - 88bf0bc linter: Clarify require-render-return description (oxc-project#23401) (camc314) - 9fff263 linter: Add short descriptions to more rules that lacked them (oxc-project#23389) (Connor Shea) - ac69042 linter: Add short_description fields to more lint rules (oxc-project#23391) (Connor Shea) - 99a3c78 linter: Add info for more skipped rule schemas (oxc-project#23380) (Sysix) - c966384 linter: Fix the example of `unicorn/prefer-string-replace-all` (oxc-project#23367) (Liang) - 2120ecf linter: Describe problems on not verified rules schema (oxc-project#23351) (Sysix) - 14abf32 linter/react-perf: Use autogenerated docs (oxc-project#23227) (camc314) # Oxfmt ### 🚀 Features - 9a2788b linter/unicorn: Implement `prefer-export-from` rule (oxc-project#22935) (AliceLanniste) - 0c6fb23 oxfmt: Format `parser:json-stringify` files by `oxc_formatter_json` (oxc-project#23194) (leaysgur) - 8cc82c4 formatter_json: Implement json-stringify variant (oxc-project#23192) (leaysgur) ### 🐛 Bug Fixes - 956309a lsp: Use protocol line breaks for positions (oxc-project#23329) (konh) - 769de65 oxfmt: Handle compound json extensions (oxc-project#23198) (leaysgur) - b0b5d39 formatter_json: Support JSON5/JSON6 value in json/jsonc/json5 (oxc-project#23193) (leaysgur) ### 📚 Documentation - 4986613 formatter_json: Update AGENTS.md (oxc-project#23199) (leaysgur) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
release(crates): oxc v0.136.0 (oxc-project#23443) ### 💥 BREAKING CHANGES - 7a24911 codegen: [**BREAKING**] Borrow sourcemaps from codegen (oxc-project#23422) (Boshen) - bb0ed44 transformer: [**BREAKING**] Disable styled-components transpileTemplateLiterals by default (oxc-project#23171) (Boshen) ### 🚀 Features - 1490a0a linter/react: Implement react-compiler rule (oxc-project#23202) (Boshen) - 6c0bdf0 transformer/react-refresh: Support `module.property.useHook()` (oxc-project#23190) (Dunqing) - 47991bd semantic: Report TS1228 for invalid type predicates (oxc-project#23174) (camc314) - 1d3af58 parser: Add TS2398 parameter property diagnostic (oxc-project#23216) (camc314) - 44313da semantic: Add `scope_is_descendant_of` api (oxc-project#22313) (camc314) - e5050c0 parser: Improve diagnostic for rest initializer (oxc-project#23205) (camc314) - ec266bb transformer: Run React Compiler as a feature-gated transform pass (oxc-project#23201) (Boshen) - e7374fe parser: Report error for `const` modifier on interface type parameter (oxc-project#23173) (camc314) - a7c1c9b parser: Report ambient definite variable assertions (oxc-project#23165) (camc314) - d169fcd parser: Report invalid class definite assertions (oxc-project#23164) (camc314) - 00244d8 parser: Report definite property initializer errors (oxc-project#23160) (camc314) ### 🐛 Bug Fixes - 52d0c31 transformer: Replace ambient dot defines (oxc-project#23231) (camc314) - 2c28748 transformer/class: Parent generated constructors to class scope (oxc-project#23222) (camc314) - 8edd234 parser: Report accessor definite assertion on token (oxc-project#23203) (camc314) - de38a3f react_compiler: Keep imports referenced only by a local re-export (oxc-project#23176) (Boshen) - f5721c2 codegen: Preserve parentheses around `intrinsic` type reference (oxc-project#23156) (Boshen) - e89f81d parser: Don't emit TS1477 for parenthesized instantiation expression (oxc-project#23147) (Boshen) - 8a04149 parser: Reject module-referencing imports/exports in a namespace body (oxc-project#22829) (Boshen) ### ⚡ Performance - 2783295 parser: Table-driven operator precedence lookup (oxc-project#23346) (Boshen) - 231d5de parser: Single-match member expression dispatch (oxc-project#23347) (Boshen) - e89729b codegen: Accept one-shot wrap closures (oxc-project#23265) (camc314) - a6c11fa parser: Force-inline read_non_decimal to fold per-digit number dispatch (oxc-project#23157) (Boshen) - d74964c parser: Store class definite assertion offset (oxc-project#23170) (camc314) - f0fda4d parser: Shrink-wrap cold diagnostic tails out of hot frames (oxc-project#23159) (Boshen) - a082180 parser: Store definite assertion offset (oxc-project#23167) (camc314) - 534f9c6 oxc: Conditionally rebuild semantic in compiler pipeline (oxc-project#23153) (Boshen) - b435c6a parser: Skip checkpoint for `infer T extends U` constraint in disallow context (oxc-project#23128) (Boshen) - 7464dce parser: Peek instead of checkpoint/rewind for `export default` modifier (oxc-project#23124) (Boshen) - 80a9a32 parser: Fast-path single-keyword TS declarations (oxc-project#23083) (Boshen) - da1a6c6 diagnostics: Migrate to allocation-optimized oxc-miette (oxc-project#23094) (Boshen) - b7b08ce parser: Peek once for the static modifier disambiguation (oxc-project#23079) (Boshen) - e7e07a3 parser: Fold unary dispatch into a single match (oxc-project#23076) (Boshen) ### 📚 Documentation - d241add semantic: Add `AGENTS.md` test guidance for agents (oxc-project#23441) (camc314) - 026f1ae parser: Add `AGENTS.md` test guidance for agents (oxc-project#23440) (camc314) - 09755ac transformer: Add `AGENTS.md` test guidance for agents (oxc-project#23439) (camc314) - e6bdfd4 lexer: Correct reference link for `byte_handlers!` (oxc-project#23313) (Dunqing) - 65b6d7a allocator: Fix memory leaks in `Arena` examples (oxc-project#23257) (overlookmotel) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
release(apps): oxlint v1.70.0 && oxfmt v0.55.0 (oxc-project#23442) # Oxlint ### 🚀 Features - 5e1627d linter/unicorn: Flag all Error() calls without new in `throw-new-error` (oxc-project#23363) (Cason Kervis) - 2e8bda4 linter/vue: Implement no-dupe-keys rule (oxc-project#23350) (bab) - 1490a0a linter/react: Implement react-compiler rule (oxc-project#23202) (Boshen) - dd560ae linter/unicorn: Implement `no-array-fill-with-reference-type` rule (oxc-project#23397) (Mikhail Baev) - af36c2f linter: Add schema for `react/jsx-curly-brace-presence` (oxc-project#23400) (WaterWhisperer) - 47d34a3 linter: Add schema for `react/jsx-handler-names` (oxc-project#23393) (WaterWhisperer) - f4250d0 linter: Add schema for `unicorn/import-style` (oxc-project#23386) (WaterWhisperer) - 30c74ce linter: Add schema for `jsx_a11y/no-noninteractive-element-to-interactive-role` (oxc-project#23384) (Sysix) - cfbe8dc linter: Add schema for `jsx_a11y/no-interactive-element-to-noninteractive-role` (oxc-project#23382) (WaterWhisperer) - d15b7ff linter: Add schema for `typescript/no-restricted-types` (oxc-project#23381) (WaterWhisperer) - 028a811 linter: Add schema for `jsx-a11y/media-has-caption` (oxc-project#23377) (Sysix) - b3b1038 linter: Add schema for `jsx-a11y/label-has-associated-control` (oxc-project#23376) (Sysix) - 7ada6b2 linter: Add schema for `jsx_a11y/no-distracting-elements` (oxc-project#23379) (WaterWhisperer) - ee3dd49 linter: Add schema for `jsx-a11y/img-redundant-alt` (oxc-project#23374) (Sysix) - df5f8dd linter: Add short descriptions to most lint rules. (oxc-project#23365) (Connor Shea) - e3fd735 linter: Add schema for `jsx_a11y/alt-text` (oxc-project#23369) (Sysix) - 0f2fff4 linter: Add schema for `react/exhaustive-deps` (oxc-project#23372) (Mikhail Baev) - e3e4e10 linter: Add schema for `react_perf/jsx-no-new-object-as-prop` (oxc-project#23368) (Mikhail Baev) - 9366d44 linter: Add schema for `unicorn/prefer-at` (oxc-project#23366) (WaterWhisperer) - f57b55d linter: Add schema for `typescript/array-type` (oxc-project#23355) (Sysix) - 0dcf912 linter: Add schema for `typescript/ban-ts-comment` (oxc-project#23354) (Sysix) - 51fa83e linter: Add schema for `react/no-did-update-set-state` (oxc-project#23357) (Mikhail Baev) - 59db0bd linter: Add schema for `consistent-generic-constructors` (oxc-project#23353) (Sysix) - c4775c0 linter: Add schema for `typescript/consistent-type-assertions` (oxc-project#23349) (Sysix) - 6e516f7 linter: Add schema for `typescript/consistent-type-imports` (oxc-project#23348) (Sysix) - 012134d linter: Add schema for `react/jsx-no-target-blank` (oxc-project#23345) (WaterWhisperer) - 0806aae linter: Add schema for `jsx_a11y/no-noninteractive-tabindex` (oxc-project#23337) (Mikhail Baev) - 0708b5a linter: Add schema for `react/jsx-filename-extension` (oxc-project#23315) (Mikhail Baev) - 150bce1 linter: Add schema for `typescript/no-empty-object-type` (oxc-project#23309) (Sysix) - f9e36f1 linter: Add schema for `typescript/no-duplicate-type-constituents` (oxc-project#23308) (Sysix) - 937accf linter: Add schema for `typescript/no-invalid-void-type` (oxc-project#23307) (Sysix) - 3e042b9 linter: Add schema for `typescript/no-misused-promises` (oxc-project#23306) (Sysix) - da212d1 linter: Add schema for `typescript/no-unnecessary-condition` (oxc-project#23305) (Sysix) - f8f0d38 linter: Add schema for `typescript/parameter-properties` (oxc-project#23304) (Sysix) - 2275fc7 linter: Add schema for `typescript/prefer-nullish-coalescing` (oxc-project#23302) (Sysix) - d353858 linter: Add schema for `typescript/prefer-string-starts-ends-with` (oxc-project#23301) (Sysix) - 03060f5 linter: Add schema for `typescript/triple-slash-reference` (oxc-project#23300) (Sysix) - 6619cee linter: Add schema for `promise/param-names` (oxc-project#23298) (Sysix) - 8bf108e linter: Add schema for `promise/catch-or-return` (oxc-project#23297) (Sysix) - 48158d0 linter: Add schema for `vitest/consistent-each-for` (oxc-project#23294) (Sysix) - 7e74c98 linter: Add schema for `vitest/consistent-test-filename` (oxc-project#23293) (Sysix) - ff94d4a linter: Add schema for `vitest/consistent-vitest-vi` (oxc-project#23292) (Sysix) - 2409a10 linter: Add schema for `vitest/prefer-import-in-mock` (oxc-project#23291) (Sysix) - 3d782b7 linter: Add schema for `react/no-unstable-nested-components` (oxc-project#23287) (Mikhail Baev) - 0a0bc2f linter/jsx-a11y: Add `allowedRedundantRoles` option to `no-redundant-roles` (oxc-project#22820) (bab) - 80758a5 linter/vue: Implement no-side-effects-in-computed-properties rule (oxc-project#23282) (bab) - e3869ac linter: Add schema for `react/no-object-type-as-default-prop` (oxc-project#23279) (Mikhail Baev) - 4480609 linter: Add schema for `react/jsx-props-no-spreading` (oxc-project#23276) (Mikhail Baev) - 08d68a5 linter/react: Implement `jsx-no-literals` rule (oxc-project#23145) (kapobajza) - 9a2788b linter/unicorn: Implement `prefer-export-from` rule (oxc-project#22935) (AliceLanniste) - bdb723c linter/unicorn: Implement prefer-single-call rule (oxc-project#23235) (Yuzhe Shi) - 31543ed linter: Add schema for `vue/define-props-destructuring` (oxc-project#23252) (Sysix) - 21b6c3d linter: Add schema for `oxc/no-async-endpoint-handlers` (oxc-project#23251) (Sysix) - e77ff81 linter: Add schema for `unicorn/prefer-object-from-entries` (oxc-project#23249) (Mikhail Baev) - bcac2d6 linter: Add schema for `jest/vitest/no-restricted-matchers` (oxc-project#23247) (Sysix) - 539f036 linter: Add schema for `jest/vitest/no-restricted-*-methods` (oxc-project#23246) (Sysix) - dd1b927 linter/vue: Implement require-default-prop rule (oxc-project#22951) (bab) - 3f018e7 linter: Add schema for `unicorn/no-instanceof-builtins` (oxc-project#23225) (Mikhail Baev) - 5b9a793 linter/react-perf: Support `nativeAllowList` config (oxc-project#22996) (Cole Ellison) - b4e19d4 linter: Improve promise/catch-or-return termination diagnostics (oxc-project#23218) (camc314) - 9b72a41 linter/promise/catch-or-return: Add support for `allowThenStrict` option (oxc-project#23206) (camc314) - e0d0f78 linter: Verify promise/no-callback-in-promise schema (oxc-project#23141) (beanscg) - 123d4f4 linter: Add schema for `jest/vitest/valid-expect` (oxc-project#23185) (Sysix) - 46c8a21 linter: Add schema for `jest/vitest/require-top-level-describe` (oxc-project#23184) (Sysix) - 41465cf linter: Add schema for `jest/vitest/prefer-snapshot-hint` (oxc-project#23183) (Sysix) - d068b9b linter: Add schema for `jest/vitest/prefer-expect-assertions` (oxc-project#23181) (Sysix) - 064a1ee linter: Add schema for `jest/prefer-ending-with-an-expect` (oxc-project#23180) (Sysix) - d046797 linter: Add schema for `jest/vitest/no-standalone-expect` (oxc-project#23179) (Sysix) - 137b9a6 linter: Add schema for `jest/vitest/no-large-snapshots` (oxc-project#23178) (Sysix) - 0f3e4a5 linter: Add schema for `jest/vitest/no-hooks` (oxc-project#23177) (Sysix) - 00244d8 parser: Report definite property initializer errors (oxc-project#23160) (camc314) - cd0b384 linter: Add schema for `unicorn/explicit-length-check` (oxc-project#23155) (Mikhail Baev) - 01b74c4 linter: Add schema for `jest/no-deprecated-functions` (oxc-project#23136) (Sysix) - 9d6a387 linter: Add schema for `unicorn/catch-error-name` (oxc-project#23137) (Mikhail Baev) - 0da8efa linter: Add schema for `jest/vitest/max-nested-describe` (oxc-project#23131) (Sysix) - d71c9fd linter: Add schema for `eslint/no-use-before-define` (oxc-project#23129) (Sysix) ### 🐛 Bug Fixes - 019be2e linter/unicorn: Align throw-new-error parity (oxc-project#23437) (camc314) - b9e5e51 linter/jest: Validate no-restricted-jest-methods config (oxc-project#23436) (camc314) - f302f41 linter: Normalize oxlint jsPlugin prefixes (oxc-project#23335) (konh) - 2bdf8ce linter/jest: Validate no-restricted-matchers config (oxc-project#23434) (camc314) - 5c2fb45 linter/eslint: Validate max-depth config (oxc-project#23430) (camc314) - eafc280 linter/eslint: Validate no-unused-vars config (oxc-project#23433) (camc314) - 25aebb0 linter/typescript: Validate no-empty-object-type config (oxc-project#23432) (camc314) - 7cafe3b linter/unicorn: Validate catch-error-name config (oxc-project#23431) (camc314) - af1b897 linter/unicorn: Validate prefer-object-from-entries config (oxc-project#23429) (camc314) - 68d48fe linter/eslint: Validate max-classes-per-file config (oxc-project#23428) (camc314) - 02932b6 linter/eslint: Validate `complexity` config (oxc-project#23427) (camc314) - 375e574 linter/eslint: Use shared id-length regex config (oxc-project#23426) (camc314) - ba3e2e0 linter/eslint: Preserve used imports in no-unused-vars fixer (oxc-project#23425) (camc314) - 26ddac6 linter: Avoid config schema generation for `jsx_a11y/no-noninteractive-element-interactions` (oxc-project#23385) (Sysix) - 40556ad linter: Parse `jsx-a11y/control-has-associated-label` config with `DefaultRuleConfig` (oxc-project#23373) (Sysix) - dacbda8 linter/unicorn/prefer-string-starts-ends-with: Mark rule as deprecated (oxc-project#23342) (camc314) - 956309a lsp: Use protocol line breaks for positions (oxc-project#23329) (konh) - 71e9648 linter: Expose no-noninteractive-element-interactions schema (oxc-project#23283) (camc314) - 4c4c19c linter: `no-noninteractive-element-interactions` fix default values (oxc-project#23288) (Sysix) - e63a139 linter/jsx-a11y: Restore control label defaults (oxc-project#22737) (konh) - 0e4e59f linter/jsx-a11y: No-redundant-roles attribute-aware implicit roles for `<input>`, skip ancestor-conditional elements (oxc-project#23015) (Gaurav Dubey) - 06e215e linter/vitest: Validate `consistent-each-for` config (oxc-project#23278) (camc314) - cd278e1 linter/promise: Validate param-names config (oxc-project#23277) (camc314) - 7f46013 linter/react/display-name: Handle default export function correctly (oxc-project#23271) (camc314) - 22ff6a6 linter/unicorn: Deserialize filename-case config with serde (oxc-project#23266) (camc314) - b644da0 linter/eslint: Add fixer for `sort_vars` (oxc-project#23262) (Cason Kervis) - 778af4d linter/unicorn: Support array of patterns for `unicorn/filename-case` `ignore` option (oxc-project#23260) (kapobajza) - 127fb2c linter: Deserialize rule config with serde for `unicorn/prefer-object-from-entries` (oxc-project#23253) (Sysix) - f89b909 linter/react/jsx-no-target-blank: Handle compound conditions (oxc-project#23245) (camc314) - c30419a linter/typescript: Deserialize rule config with serde for `consistent-generic-constructors` (oxc-project#23238) (camc314) - 7d17d37 linter/react: Report invalid exhaustive-deps config (oxc-project#23239) (camc314) - 1060186 linter/eslint: Add `deny_unknown_fields` to `prefer-destructuring` (oxc-project#23237) (camc314) - fd2e4eb linter/react: Add `deny_unknown_fields` to `exhaustive-deps` (oxc-project#23236) (camc314) - 6c3c904 linter/react/jsx-curly-brace-presence: Avoid false positive with comment within braces (oxc-project#23234) (camc314) - 6c86d1c linter/react-perf: Correct nativeAllowList all schema (oxc-project#23229) (camc314) - c393760 linter/react/rules-of-hooks: Align try/catch semantics (oxc-project#23221) (camc314) - 4dd52de linter/react-perf: Re-generate stale snapshots (oxc-project#23228) (camc314) - de2d23b linter/unicorn/prefer-dom-node-dataset: Preserve optional chaining in fixer (oxc-project#23148) (Bruno Carvalho) - d7038de linter/react/exhaustive-deps: Ignore non `React` namespace hooks (oxc-project#23175) (camc314) - 7111903 linter/react/exhaustive-deps: FP with wrapped literal expressions (oxc-project#23172) (camc314) - 93326e7 linter/react: Align hook errors with anonomous async callbacks (oxc-project#23158) (camc314) - 8f3db61 linter: Allow options for `eslint/capitalized-comments` (oxc-project#23139) (Sysix) - f533565 linter: Support nofunc string option in no-use-before-define (oxc-project#23115) (bab) ### ⚡ Performance - f09707e linter: `jest/no-deprecated-functions` store config version as `usize` (oxc-project#23138) (Sysix) - da1a6c6 diagnostics: Migrate to allocation-optimized oxc-miette (oxc-project#23094) (Boshen) ### 📚 Documentation - f682e25 linter: Remove manually written options doc for `eslint/prefer-arrow-callback` (oxc-project#23438) (Mikhail Baev) - 64c942c linter: Remove manually written options doc for `eslint/no-sequences` (oxc-project#23420) (Mikhail Baev) - d6d1189 linter: Add `short_descriptions` to more rules (oxc-project#23417) (Connor Shea) - b979722 linter: Clarify valid-define-emits description (oxc-project#23408) (camc314) - ccd0a69 linter: Clarify only-used-in-recursion description (oxc-project#23407) (camc314) - b0fd30b linter: Clarify no-sync-scripts description (oxc-project#23406) (camc314) - c23290d linter: Clarify no-cycle description (oxc-project#23405) (camc314) - 3612e0b linter: Clarify no-nodejs-modules description (oxc-project#23403) (camc314) - c67c5b1 linter: Clarify no-misused-new description (oxc-project#23402) (camc314) - 88bf0bc linter: Clarify require-render-return description (oxc-project#23401) (camc314) - 9fff263 linter: Add short descriptions to more rules that lacked them (oxc-project#23389) (Connor Shea) - ac69042 linter: Add short_description fields to more lint rules (oxc-project#23391) (Connor Shea) - 99a3c78 linter: Add info for more skipped rule schemas (oxc-project#23380) (Sysix) - c966384 linter: Fix the example of `unicorn/prefer-string-replace-all` (oxc-project#23367) (Liang) - 2120ecf linter: Describe problems on not verified rules schema (oxc-project#23351) (Sysix) - 14abf32 linter/react-perf: Use autogenerated docs (oxc-project#23227) (camc314) # Oxfmt ### 🚀 Features - 9a2788b linter/unicorn: Implement `prefer-export-from` rule (oxc-project#22935) (AliceLanniste) - 0c6fb23 oxfmt: Format `parser:json-stringify` files by `oxc_formatter_json` (oxc-project#23194) (leaysgur) - 8cc82c4 formatter_json: Implement json-stringify variant (oxc-project#23192) (leaysgur) ### 🐛 Bug Fixes - 956309a lsp: Use protocol line breaks for positions (oxc-project#23329) (konh) - 769de65 oxfmt: Handle compound json extensions (oxc-project#23198) (leaysgur) - b0b5d39 formatter_json: Support JSON5/JSON6 value in json/jsonc/json5 (oxc-project#23193) (leaysgur) ### 📚 Documentation - 4986613 formatter_json: Update AGENTS.md (oxc-project#23199) (leaysgur) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
release(apps): oxlint v1.69.0 && oxfmt v0.54.0 (oxc-project#23116) # Oxlint ### 🚀 Features - e805174 linter: Add schema for `jest/vitest/max-expects` (oxc-project#23105) (Sysix) - 7850577 linter: Add schema for `jest/vitest/expect-expect` (oxc-project#23104) (Sysix) - 75f641a linter: Add schema for `jest/vitest/consistent-test-it` (oxc-project#23103) (Sysix) - 5125f89 linter/unicorn: Support no-null `checkArguments` option (oxc-project#23098) (camc314) - b8b9797 linter: Add schema for `import-max-dependencies` (oxc-project#23096) (Sysix) - 65cb47a linter/eslint: Support no-unused-expressions `ignoreDirectives` option (oxc-project#23097) (camc314) - f6c36d5 linter: Add schema for `import/prefer-default-export` (oxc-project#23091) (Sysix) - 0d4a5d1 linter: Add schema for `eslint/sort-vars` (oxc-project#23090) (Sysix) - fdb5bf5 linter: Add schema for `eslint/radix` (oxc-project#23082) (Sysix) - 05b4dcf linter: Add schema for `eslint/prefer-const` (oxc-project#23081) (Sysix) - 5a06c4d linter/vue: Implement next-tick-style rule (oxc-project#23041) (Alex Peshkov) - e38a36a linter: Add schema for `eslint/operator-assignment` (oxc-project#23080) (Sysix) - 907cee7 linter: Add schema for `eslint/no-warning-comments` (oxc-project#23075) (Sysix) - 9470bb2 linter: Add schema for `eslint/no-unused-vars` (oxc-project#23073) (Sysix) - 234b5cf linter: Add schema for `eslint/no-shadow` (oxc-project#23072) (Sysix) - de0dd8b linter: Add schema for `eslint/no-restricted-exports` (oxc-project#23020) (Sysix) - faa3e0d linter: Add schema for `eslint/no-param-reassign` (oxc-project#23018) (Sysix) - dbc9c27 linter: Add schema for `eslint/no-magic-numbers` (oxc-project#23017) (Sysix) - 38d3569 linter: Add schema for `eslint/no-inner-declarations` (oxc-project#23016) (Sysix) - 008fa41 linter: Add schema for `eslint/no-constant-condition` (oxc-project#22991) (Sysix) - ca44623 linter: Add schema for `eslint/no-empty-function` (oxc-project#22988) (Sysix) - 43eb04d linter: Add schema for `eslint/id-match` (oxc-project#22987) (Sysix) - a800f27 linter: Add schema for `eslint/capitalized-comments` (oxc-project#22984) (Sysix) - 96e2d32 linter: Add schema for `eslint/id-length` (oxc-project#22963) (Sysix) - 545493f linter: Add schema for `eslint/complexity` (oxc-project#22960) (Sysix) - 5f0b558 linter: Add schema for `eslint/class-methods-use-this` (oxc-project#22959) (Sysix) - 719b720 linter: Add schema for simple rule configurations (oxc-project#22948) (Sysix) - fd00966 linter: Add right schema for `eslint/max-*` rules (oxc-project#22923) (Sysix) - 1226d78 linter: Fill schema with rule configurations (oxc-project#22907) (Sysix) - 8f423c1 linter/vue: Implement `require-direct-export` rule (oxc-project#17623) (yefan) - 78e915b linter/vue: Implement no-reserved-props rule (oxc-project#22914) (bab) - 0f200a9 linter/vue: Implement require-prop-types rule (oxc-project#22083) (Alex Peshkov) - 5da9da9 linter/vue: Implement no-reserved-keys rule (oxc-project#21780) (bab) - 75e14a8 linter/vue: Implement prop-name-casing rule (oxc-project#22892) (bab) - 85efabf semantic: Make building the class table optional, off by default (oxc-project#22862) (Boshen) ### 🐛 Bug Fixes - a49b0cf linter/no-map-spread: Remove ineffective autofix (oxc-project#22956) (camc314) - cf53285 parser: Report reserved type-declaration names in the parser (oxc-project#23035) (Boshen) - 0383e61 linter: Fix schema for rules without a config (oxc-project#22946) (Sysix) - 4d722e0 parser: Report duplicate switch `default` clause in the parser (oxc-project#23012) (Boshen) - 6cb34b8 linter/plugins: Make spreading `Token` instances keep `loc` property (oxc-project#22947) (Nicolas Le Cam) - 27de044 linter/plugins: Make spreading `Comment` instances keep `loc` property (oxc-project#22238) (Nicolas Le Cam) - 742fd0b linter/double-comparisons: Make fixer a suggestion (oxc-project#22968) (camc314) - 93f4494 linter: Respect default child config plugin when extending parent config (oxc-project#22903) (Sysix) - 594ed86 linter: Deny unknown options for some rules (oxc-project#22924) (Sysix) - 3253038 linter/expect-expect: Align default rule options (oxc-project#22890) (camc314) - bbe44ea linter: Respect default plugins from extended config (oxc-project#22896) (Sysix) ### ⚡ Performance - 0b7ce7e linter/plugins: Create global prop vars at top level of modules (oxc-project#22928) (overlookmotel) - 0f7c319 linter/plugins: Define class `#loc` setter functions as `const`s (oxc-project#22919) (overlookmotel) ### 📚 Documentation - 7b0380d linter: Remove preserve-caught-error note (oxc-project#22994) (camc314) - dadafe3 oxlint, oxfmt: Mention migrate skills in npm READMEs (oxc-project#22965) (Boshen) # Oxfmt ### 🚀 Features - 3da77e0 oxfmt: Format `parser:json5` files by `oxc_formatter_json` (oxc-project#22990) (leaysgur) - c786f0d oxfmt: Format `parser:jsonc` files by `oxc_formatter_json` (oxc-project#22913) (leaysgur) - 27a6db8 formatter_json: Implement jsonc variant (oxc-project#22912) (leaysgur) ### 🐛 Bug Fixes - 2aedd52 oxfmt: Avoid JS promise rejects for all TSFN call sites (oxc-project#23107) (leaysgur) - 01e0871 formatter,formatter_json: Handle PS/LS as line terminator (oxc-project#22978) (leaysgur) - 23902d9 formatter_json: Handle CR only line breaks (oxc-project#22977) (leaysgur) - 136b72b formatter_json: Use line_suffix for line comment outside array (oxc-project#22931) (leaysgur) - 44e40fa formatter_json: Expand line comment inside array (oxc-project#22911) (leaysgur) - 2c86896 formatter_json: Avoid example binary name collision (oxc-project#22904) (camc314) ### 📚 Documentation - cc69d8d formatter_json: Update AGENTS.md (oxc-project#22981) (leaysgur) - 0490721 formatter_json: Update AGENTS.md (oxc-project#22976) (leaysgur) - dadafe3 oxlint, oxfmt: Mention migrate skills in npm READMEs (oxc-project#22965) (Boshen) - f88961a oxfmt: Annotate each config option with supported languages (oxc-project#22953) (leaysgur) - 7e514bf formatter_json: Update AGENTS.md (oxc-project#22930) (leaysgur) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
release(apps): oxlint v1.69.0 && oxfmt v0.54.0 (oxc-project#23116) # Oxlint ### 🚀 Features - e805174 linter: Add schema for `jest/vitest/max-expects` (oxc-project#23105) (Sysix) - 7850577 linter: Add schema for `jest/vitest/expect-expect` (oxc-project#23104) (Sysix) - 75f641a linter: Add schema for `jest/vitest/consistent-test-it` (oxc-project#23103) (Sysix) - 5125f89 linter/unicorn: Support no-null `checkArguments` option (oxc-project#23098) (camc314) - b8b9797 linter: Add schema for `import-max-dependencies` (oxc-project#23096) (Sysix) - 65cb47a linter/eslint: Support no-unused-expressions `ignoreDirectives` option (oxc-project#23097) (camc314) - f6c36d5 linter: Add schema for `import/prefer-default-export` (oxc-project#23091) (Sysix) - 0d4a5d1 linter: Add schema for `eslint/sort-vars` (oxc-project#23090) (Sysix) - fdb5bf5 linter: Add schema for `eslint/radix` (oxc-project#23082) (Sysix) - 05b4dcf linter: Add schema for `eslint/prefer-const` (oxc-project#23081) (Sysix) - 5a06c4d linter/vue: Implement next-tick-style rule (oxc-project#23041) (Alex Peshkov) - e38a36a linter: Add schema for `eslint/operator-assignment` (oxc-project#23080) (Sysix) - 907cee7 linter: Add schema for `eslint/no-warning-comments` (oxc-project#23075) (Sysix) - 9470bb2 linter: Add schema for `eslint/no-unused-vars` (oxc-project#23073) (Sysix) - 234b5cf linter: Add schema for `eslint/no-shadow` (oxc-project#23072) (Sysix) - de0dd8b linter: Add schema for `eslint/no-restricted-exports` (oxc-project#23020) (Sysix) - faa3e0d linter: Add schema for `eslint/no-param-reassign` (oxc-project#23018) (Sysix) - dbc9c27 linter: Add schema for `eslint/no-magic-numbers` (oxc-project#23017) (Sysix) - 38d3569 linter: Add schema for `eslint/no-inner-declarations` (oxc-project#23016) (Sysix) - 008fa41 linter: Add schema for `eslint/no-constant-condition` (oxc-project#22991) (Sysix) - ca44623 linter: Add schema for `eslint/no-empty-function` (oxc-project#22988) (Sysix) - 43eb04d linter: Add schema for `eslint/id-match` (oxc-project#22987) (Sysix) - a800f27 linter: Add schema for `eslint/capitalized-comments` (oxc-project#22984) (Sysix) - 96e2d32 linter: Add schema for `eslint/id-length` (oxc-project#22963) (Sysix) - 545493f linter: Add schema for `eslint/complexity` (oxc-project#22960) (Sysix) - 5f0b558 linter: Add schema for `eslint/class-methods-use-this` (oxc-project#22959) (Sysix) - 719b720 linter: Add schema for simple rule configurations (oxc-project#22948) (Sysix) - fd00966 linter: Add right schema for `eslint/max-*` rules (oxc-project#22923) (Sysix) - 1226d78 linter: Fill schema with rule configurations (oxc-project#22907) (Sysix) - 8f423c1 linter/vue: Implement `require-direct-export` rule (oxc-project#17623) (yefan) - 78e915b linter/vue: Implement no-reserved-props rule (oxc-project#22914) (bab) - 0f200a9 linter/vue: Implement require-prop-types rule (oxc-project#22083) (Alex Peshkov) - 5da9da9 linter/vue: Implement no-reserved-keys rule (oxc-project#21780) (bab) - 75e14a8 linter/vue: Implement prop-name-casing rule (oxc-project#22892) (bab) - 85efabf semantic: Make building the class table optional, off by default (oxc-project#22862) (Boshen) ### 🐛 Bug Fixes - a49b0cf linter/no-map-spread: Remove ineffective autofix (oxc-project#22956) (camc314) - cf53285 parser: Report reserved type-declaration names in the parser (oxc-project#23035) (Boshen) - 0383e61 linter: Fix schema for rules without a config (oxc-project#22946) (Sysix) - 4d722e0 parser: Report duplicate switch `default` clause in the parser (oxc-project#23012) (Boshen) - 6cb34b8 linter/plugins: Make spreading `Token` instances keep `loc` property (oxc-project#22947) (Nicolas Le Cam) - 27de044 linter/plugins: Make spreading `Comment` instances keep `loc` property (oxc-project#22238) (Nicolas Le Cam) - 742fd0b linter/double-comparisons: Make fixer a suggestion (oxc-project#22968) (camc314) - 93f4494 linter: Respect default child config plugin when extending parent config (oxc-project#22903) (Sysix) - 594ed86 linter: Deny unknown options for some rules (oxc-project#22924) (Sysix) - 3253038 linter/expect-expect: Align default rule options (oxc-project#22890) (camc314) - bbe44ea linter: Respect default plugins from extended config (oxc-project#22896) (Sysix) ### ⚡ Performance - 0b7ce7e linter/plugins: Create global prop vars at top level of modules (oxc-project#22928) (overlookmotel) - 0f7c319 linter/plugins: Define class `#loc` setter functions as `const`s (oxc-project#22919) (overlookmotel) ### 📚 Documentation - 7b0380d linter: Remove preserve-caught-error note (oxc-project#22994) (camc314) - dadafe3 oxlint, oxfmt: Mention migrate skills in npm READMEs (oxc-project#22965) (Boshen) # Oxfmt ### 🚀 Features - 3da77e0 oxfmt: Format `parser:json5` files by `oxc_formatter_json` (oxc-project#22990) (leaysgur) - c786f0d oxfmt: Format `parser:jsonc` files by `oxc_formatter_json` (oxc-project#22913) (leaysgur) - 27a6db8 formatter_json: Implement jsonc variant (oxc-project#22912) (leaysgur) ### 🐛 Bug Fixes - 2aedd52 oxfmt: Avoid JS promise rejects for all TSFN call sites (oxc-project#23107) (leaysgur) - 01e0871 formatter,formatter_json: Handle PS/LS as line terminator (oxc-project#22978) (leaysgur) - 23902d9 formatter_json: Handle CR only line breaks (oxc-project#22977) (leaysgur) - 136b72b formatter_json: Use line_suffix for line comment outside array (oxc-project#22931) (leaysgur) - 44e40fa formatter_json: Expand line comment inside array (oxc-project#22911) (leaysgur) - 2c86896 formatter_json: Avoid example binary name collision (oxc-project#22904) (camc314) ### 📚 Documentation - cc69d8d formatter_json: Update AGENTS.md (oxc-project#22981) (leaysgur) - 0490721 formatter_json: Update AGENTS.md (oxc-project#22976) (leaysgur) - dadafe3 oxlint, oxfmt: Mention migrate skills in npm READMEs (oxc-project#22965) (Boshen) - f88961a oxfmt: Annotate each config option with supported languages (oxc-project#22953) (leaysgur) - 7e514bf formatter_json: Update AGENTS.md (oxc-project#22930) (leaysgur) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
PreviousNext