]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/lib/rules/no-ternary.js
import 8.41.0 source
[pve-eslint.git] / eslint / lib / rules / no-ternary.js
index 8b2e10a34a4e5c40b1c538d0eefd90091c636bb5..4d43c7e022d91a19959dc41fa44190ecee48c13a 100644 (file)
@@ -9,14 +9,15 @@
 // Rule Definition
 //------------------------------------------------------------------------------
 
+/** @type {import('../shared/types').Rule} */
 module.exports = {
     meta: {
         type: "suggestion",
 
         docs: {
-            description: "disallow ternary operators",
+            description: "Disallow ternary operators",
             recommended: false,
-            url: "https://eslint.org/docs/rules/no-ternary"
+            url: "https://eslint.org/docs/latest/rules/no-ternary"
         },
 
         schema: [],