File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
crates/oxc_linter/src/rules/eslint Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,17 @@ pub struct NoProto;
1616declare_oxc_lint ! (
1717 /// ### What it does
1818 ///
19- /// Disallow the use of the `__proto__` property
19+ /// Disallow the use of the `__proto__` property.
2020 ///
2121 /// ### Why is this bad?
2222 ///
2323 /// The `__proto__` property has been deprecated as of ECMAScript 3.1 and
2424 /// shouldn’t be used in new code. Use `Object.getPrototypeOf` and
2525 /// `Object.setPrototypeOf` instead.
2626 ///
27+ /// For more information, see
28+ /// [the MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/proto).
29+ ///
2730 /// ### Examples
2831 ///
2932 /// Examples of **incorrect** code for this rule:
You can’t perform that action at this time.
0 commit comments