Skip to content

Commit 8df9276

Browse files
authored
docs: add backtick in -0 in description of no-compare-neg-zero (#19186)
* docs: add backtick in `description` of `no-compare-neg-zero` * wip: update `rules_meta.json`
1 parent 7e16e3f commit 8df9276

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/_data/rules_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@
950950
"no-compare-neg-zero": {
951951
"type": "problem",
952952
"docs": {
953-
"description": "Disallow comparing against -0",
953+
"description": "Disallow comparing against `-0`",
954954
"recommended": true,
955955
"url": "https://eslint.org/docs/latest/rules/no-compare-neg-zero"
956956
},

lib/rules/no-compare-neg-zero.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
type: "problem",
1515

1616
docs: {
17-
description: "Disallow comparing against -0",
17+
description: "Disallow comparing against `-0`",
1818
recommended: true,
1919
url: "https://eslint.org/docs/latest/rules/no-compare-neg-zero"
2020
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy