]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/tests/lib/rules/no-restricted-exports.js
import eslint 7.28.0
[pve-eslint.git] / eslint / tests / lib / rules / no-restricted-exports.js
index 31458f15fc1c877fce091cdaab45dc6179f42219..ac0602a25b29f43215eaec3b932e04cd9edbe24b 100644 (file)
@@ -58,7 +58,7 @@ ruleTester.run("no-restricted-exports", rule, {
         { code: "export { a } from 'foo';", options: [{ restrictedNamedExports: ["x"] }] },
         { code: "export { b as a } from 'foo';", options: [{ restrictedNamedExports: ["x"] }] },
 
-        // does not mistakenly disallow non-exported identifers that appear in named export declarations
+        // does not mistakenly disallow non-exported identifiers that appear in named export declarations
         { code: "export var b = a;", options: [{ restrictedNamedExports: ["a"] }] },
         { code: "export let [b = a] = [];", options: [{ restrictedNamedExports: ["a"] }] },
         { code: "export const [b] = [a];", options: [{ restrictedNamedExports: ["a"] }] },