]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/docs/src/rules/no-new.md
import 8.41.0 source
[pve-eslint.git] / eslint / docs / src / rules / no-new.md
index 15f4b9eaa8dcd7d26b3317ba3872a128058d6ed5..c8cea29cb0ff95eb1d30f193768305cc858732ee 100644 (file)
@@ -1,6 +1,5 @@
 ---
 title: no-new
-layout: doc
 rule_type: suggestion
 ---
 
@@ -44,7 +43,7 @@ Examples of **correct** code for this rule:
 
 var thing = new Thing();
 
-Thing();
+Foo();
 ```
 
 :::