Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(linter): Implement jsdoc/check-access #2642

Merged
merged 17 commits into from
Apr 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update snapshot
  • Loading branch information
leaysgur committed Apr 1, 2024
commit 1e93e27eebf2f5b54f27e8a90b4f7ebd9de8a82e
10 changes: 5 additions & 5 deletions crates/oxc_linter/src/snapshots/check_access.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ expression: check_access
· ───────
4 │ */
╰────
help: Valid access leves are `package`, `private`, `protected`, and `public`.
help: Valid access levels are `package`, `private`, `protected`, and `public`.

⚠ eslint-plugin-jsdoc(check-access): Invalid access level is specified.
╭─[check_access.tsx:3:17]
Expand All @@ -18,7 +18,7 @@ expression: check_access
· ───────
4 │ */
╰────
help: Valid access leves are `package`, `private`, `protected`, and `public`.
help: Valid access levels are `package`, `private`, `protected`, and `public`.

⚠ eslint-plugin-jsdoc(check-access): Invalid access level is specified.
╭─[check_access.tsx:3:25]
Expand All @@ -27,7 +27,7 @@ expression: check_access
· ────────────
4 │ */
╰────
help: Valid access leves are `package`, `private`, `protected`, and `public`.
help: Valid access levels are `package`, `private`, `protected`, and `public`.

⚠ eslint-plugin-jsdoc(check-access): Invalid access level is specified.
╭─[check_access.tsx:3:17]
Expand All @@ -36,7 +36,7 @@ expression: check_access
· ───────
4 │ */
╰────
help: Valid access leves are `package`, `private`, `protected`, and `public`.
help: Valid access levels are `package`, `private`, `protected`, and `public`.

⚠ eslint-plugin-jsdoc(check-access): Invalid access level is specified.
╭─[check_access.tsx:4:15]
Expand All @@ -45,7 +45,7 @@ expression: check_access
· ───────
5 │ */
╰────
help: Valid access leves are `package`, `private`, `protected`, and `public`.
help: Valid access levels are `package`, `private`, `protected`, and `public`.

⚠ eslint-plugin-jsdoc(check-access): Mixing of @access with @public, @private, @protected, or @package on the same doc block.
╭─[check_access.tsx:4:17]
Expand Down
Loading