Files
sean d26db06f74
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
all data hide
2026-06-25 09:44:52 +07:00

31 lines
845 B
JavaScript

'use strict';
const require_runtime = require('../../_virtual/_rolldown/runtime.js');
//#region lib/rules/syntaxes/is-attribute-with-vue-prefix.js
/**
* @author Yosuke Ota
* See LICENSE file in root directory for full license.
*/
var require_is_attribute_with_vue_prefix = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, module) => {
module.exports = {
supported: ">=3.1.0",
createTemplateBodyVisitor(context) {
return { "VAttribute[directive=false][key.name='is']"(node) {
if (!node.value) return;
if (node.value.value.startsWith("vue:")) context.report({
node: node.value,
messageId: "forbiddenIsAttributeWithVuePrefix"
});
} };
}
};
}));
//#endregion
Object.defineProperty(exports, 'default', {
enumerable: true,
get: function () {
return require_is_attribute_with_vue_prefix();
}
});