Skip to content

Commit ab594f1

Browse files
authoredMar 12, 2025··
fix(linter): turn oxc/no-redundant-constructor-init into typescript/no-unnecessary-parameter-property-assignment (#9618)
Closes #9599 I switched the category to nursery because in a followup PR I will import all tests from typescript-eslint and attempt to fix all of them. This separation into two PRs makes the changes easier to review and preserves the history and original author of the lint rule.
1 parent f437a95 commit ab594f1

File tree

41 files changed

+119
-111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+119
-111
lines changed
 

‎apps/oxlint/src/snapshots/_--ignore-path fixtures__linter__.customignore --no-ignore fixtures__linter__nan.js@oxlint.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ working directory:
1414
help: Use the isNaN function to compare with NaN.
1515
1616
Found 1 warning and 0 errors.
17-
Finished in <variable>ms on 1 file with 100 rules using 1 threads.
17+
Finished in <variable>ms on 1 file with 99 rules using 1 threads.
1818
----------
1919
CLI result: LintSucceeded
2020
----------

‎apps/oxlint/src/snapshots/_--ignore-pattern _____.js --ignore-pattern _____.vue fixtures__linter@oxlint.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ arguments: --ignore-pattern **/*.js --ignore-pattern **/*.vue fixtures/linter
66
working directory:
77
----------
88
Found 0 warnings and 0 errors.
9-
Finished in <variable>ms on 0 files with 100 rules using 1 threads.
9+
Finished in <variable>ms on 0 files with 99 rules using 1 threads.
1010
----------
1111
CLI result: LintSucceeded
1212
----------

0 commit comments

Comments
 (0)
Please sign in to comment.