]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/lib/linter/code-path-analysis/id-generator.js
import 8.23.1 source
[pve-eslint.git] / eslint / lib / linter / code-path-analysis / id-generator.js
index 4cb2e0e3d87cc1767d04541849a6a5474bbbf17c..b580104e1ac263af324b7329c0ff737aeea399fb 100644 (file)
@@ -18,7 +18,6 @@
  */
 class IdGenerator {
 
-    // eslint-disable-next-line jsdoc/require-description
     /**
      * @param {string} prefix Optional. A prefix of generated ids.
      */
@@ -34,10 +33,10 @@ class IdGenerator {
     next() {
         this.n = 1 + this.n | 0;
 
-        /* istanbul ignore if */
+        /* c8 ignore start */
         if (this.n < 0) {
             this.n = 1;
-        }
+        }/* c8 ignore stop */
 
         return this.prefix + this.n;
     }