]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/tests/fixtures/rules/wrong/custom-rule.js
import 8.3.0 source
[pve-eslint.git] / eslint / tests / fixtures / rules / wrong / custom-rule.js
index 9a64230cf7e6430be5692bcdb2cf3bebed137814..9cc26c9ecf26366f8eb1ed73c3786eb602b13e79 100644 (file)
@@ -1,5 +1,3 @@
 module.exports = function() {
-
-    "use strict";
-    return (null).something;
+    throw new Error("Boom!");
 };