routie dev init since i didn't adhere to any proper guidance up until now

This commit is contained in:
2026-04-29 22:27:29 -06:00
commit e1dabb71e2
15301 changed files with 3562618 additions and 0 deletions
@@ -0,0 +1,45 @@
'use strict';
const require_runtime = require('../_virtual/_rolldown/runtime.js');
const require_index = require('../utils/index.js');
//#region lib/rules/no-v-for-template-key.js
/**
* @author Yosuke Ota
*/
var require_no_v_for_template_key = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, module) => {
const utils = require_index.default;
module.exports = {
meta: {
type: "problem",
docs: {
description: "disallow `key` attribute on `<template v-for>`",
categories: ["vue2-essential"],
url: "https://eslint.vuejs.org/rules/no-v-for-template-key.html"
},
fixable: null,
deprecated: true,
schema: [],
messages: { disallow: "'<template v-for>' cannot be keyed. Place the key on real elements instead." }
},
create(context) {
return utils.defineTemplateBodyVisitor(context, { "VElement[name='template'] > VStartTag > VAttribute[directive=true][key.name.name='for']"(node) {
const element = node.parent.parent;
const keyNode = utils.getAttribute(element, "key") || utils.getDirective(element, "bind", "key");
if (keyNode) context.report({
node: keyNode,
loc: keyNode.loc,
messageId: "disallow"
});
} });
}
};
}));
//#endregion
Object.defineProperty(exports, 'default', {
enumerable: true,
get: function () {
return require_no_v_for_template_key();
}
});