diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2dd4c5645f348..98d16407358e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,7 +147,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1 - - uses: crate-ci/typos@d1c850b2b5d502763520c25fb4a6a1128ad99bd9 # v1.28.3 + - uses: crate-ci/typos@685eb3d55be2f85191e8c84acb9f44d7756f84ab # v1.29.4 with: files: . diff --git a/crates/oxc_linter/src/rules/jsdoc/require_returns.rs b/crates/oxc_linter/src/rules/jsdoc/require_returns.rs index fd8079cf53613..366071c323cf4 100644 --- a/crates/oxc_linter/src/rules/jsdoc/require_returns.rs +++ b/crates/oxc_linter/src/rules/jsdoc/require_returns.rs @@ -26,7 +26,7 @@ fn missing_returns_diagnostic(span: Span) -> OxcDiagnostic { } fn duplicate_returns_diagnostic(span: Span) -> OxcDiagnostic { OxcDiagnostic::warn("Duplicate `@returns` tags.") - .with_help("Remove redundunt `@returns` tag.") + .with_help("Remove redundant `@returns` tag.") .with_label(span) } diff --git a/crates/oxc_linter/src/rules/jsdoc/require_yields.rs b/crates/oxc_linter/src/rules/jsdoc/require_yields.rs index 8382bc3409030..95707e09bc0aa 100644 --- a/crates/oxc_linter/src/rules/jsdoc/require_yields.rs +++ b/crates/oxc_linter/src/rules/jsdoc/require_yields.rs @@ -24,7 +24,7 @@ fn missing_yields(span: Span) -> OxcDiagnostic { fn duplicate_yields(span: Span) -> OxcDiagnostic { OxcDiagnostic::warn("Duplicate `@yields` tags.") - .with_help("Remove redundunt `@yields` tag.") + .with_help("Remove redundant `@yields` tag.") .with_label(span) } diff --git a/crates/oxc_linter/src/snapshots/jsdoc_require_returns.snap b/crates/oxc_linter/src/snapshots/jsdoc_require_returns.snap index 5ad5631b6c1f5..7b5cdb2d332a8 100644 --- a/crates/oxc_linter/src/snapshots/jsdoc_require_returns.snap +++ b/crates/oxc_linter/src/snapshots/jsdoc_require_returns.snap @@ -1,6 +1,5 @@ --- source: crates/oxc_linter/src/tester.rs -snapshot_kind: text --- ⚠ eslint-plugin-jsdoc(require-returns): Missing JSDoc `@returns` declaration for function. ╭─[require_returns.tsx:5:14] @@ -135,7 +134,7 @@ snapshot_kind: text · ──────── 5 │ */ ╰──── - help: Remove redundunt `@returns` tag. + help: Remove redundant `@returns` tag. ⚠ eslint-plugin-jsdoc(require-returns): Missing JSDoc `@returns` declaration for function. ╭─[require_returns.tsx:5:14] diff --git a/crates/oxc_linter/src/snapshots/jsdoc_require_yields.snap b/crates/oxc_linter/src/snapshots/jsdoc_require_yields.snap index 4ca7c25d2cda2..bdf0bea33f75c 100644 --- a/crates/oxc_linter/src/snapshots/jsdoc_require_yields.snap +++ b/crates/oxc_linter/src/snapshots/jsdoc_require_yields.snap @@ -1,6 +1,5 @@ --- source: crates/oxc_linter/src/tester.rs -snapshot_kind: text --- ⚠ eslint-plugin-jsdoc(require-yields): Missing JSDoc `@yields` declaration for generator function. ╭─[require_yields.tsx:5:20] @@ -110,7 +109,7 @@ snapshot_kind: text · ─────── 5 │ */ ╰──── - help: Remove redundunt `@yields` tag. + help: Remove redundant `@yields` tag. ⚠ eslint-plugin-jsdoc(require-yields): Missing JSDoc `@yields` declaration for generator function. ╭─[require_yields.tsx:5:20] diff --git a/crates/oxc_semantic/tests/integration/symbols.rs b/crates/oxc_semantic/tests/integration/symbols.rs index d7d5e95465e20..dc6247df6287f 100644 --- a/crates/oxc_semantic/tests/integration/symbols.rs +++ b/crates/oxc_semantic/tests/integration/symbols.rs @@ -278,7 +278,7 @@ fn test_value_used_as_type() { .test(); // T is a value that gets shadowed by a type. When `T` is referenced within - // a value context, the root `const T` should be the symbol recoreded in the + // a value context, the root `const T` should be the symbol recorded in the // reference. let tester = SemanticTester::ts( "