Files
NapCatQQ/.pnpm-store/v3/files/6b/26fd992350a834624c6e37d88aad7419e30adc91a7eb2b0f6987619658bbe42d4d9164351fed09e4613b60018f448f16b92ffc70c7ab5087ece2a97fd03d14
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

30 lines
814 B
Plaintext

/**
* @author Yosuke Ota <https://github.com/ota-meshi>
* See LICENSE file in root directory for full license.
*/
"use strict"
module.exports = {
meta: {
docs: {
description: "disallow `import.meta` meta property.",
category: "ES2020",
recommended: false,
url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-import-meta.html",
},
fixable: null,
messages: {
forbidden: "ES2020 'import.meta' meta property is forbidden.",
},
schema: [],
type: "problem",
},
create(context) {
return {
"MetaProperty[meta.name='import'][property.name='meta']"(node) {
context.report({ node, messageId: "forbidden" })
},
}
},
}