Base UI
NPM Installation / build (16.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (16.x, windows-latest) (push) Has been cancelled
NPM Installation / build (17.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (17.x, windows-latest) (push) Has been cancelled
NPM Installation / build (18.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (18.x, windows-latest) (push) Has been cancelled

This commit is contained in:
2026-06-25 11:15:13 +07:00
parent c539fe47af
commit cc038a7372
20561 changed files with 1811255 additions and 41 deletions
+35
View File
@@ -0,0 +1,35 @@
'use strict';
const require_runtime = require('../../_virtual/_rolldown/runtime.js');
const require_index = require('../../utils/index.js');
//#region lib/rules/syntaxes/script-setup.js
/**
* @author Yosuke Ota
* See LICENSE file in root directory for full license.
*/
var require_script_setup = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, module) => {
const utils = require_index.default;
module.exports = {
supported: ">=2.7.0",
createScriptVisitor(context) {
const scriptSetup = utils.getScriptSetupElement(context);
if (!scriptSetup) return {};
const reportNode = utils.getAttribute(scriptSetup, "setup") || scriptSetup.startTag;
return { Program() {
context.report({
node: reportNode,
messageId: "forbiddenScriptSetup"
});
} };
}
};
}));
//#endregion
Object.defineProperty(exports, 'default', {
enumerable: true,
get: function () {
return require_script_setup();
}
});