Skip to content
Merged
Changes from all commits
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
5 changes: 4 additions & 1 deletion crates/oxc_linter/src/rules/eslint/no_proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ pub struct NoProto;
declare_oxc_lint!(
/// ### What it does
///
/// Disallow the use of the `__proto__` property
/// Disallow the use of the `__proto__` property.
///
/// ### Why is this bad?
///
/// The `__proto__` property has been deprecated as of ECMAScript 3.1 and
/// shouldn’t be used in new code. Use `Object.getPrototypeOf` and
/// `Object.setPrototypeOf` instead.
///
/// For more information, see
/// [the MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/proto).
///
/// ### Examples
///
/// Examples of **incorrect** code for this rule:
Expand Down
Loading