"use strict";
const require_runtime = require("../_virtual/_rolldown/runtime.js");
const require_index = require("../utils/index.js");
//#region lib/rules/no-deprecated-v-on-native-modifier.js
/**
* @author Yosuke Ota
* See LICENSE file in root directory for full license.
*/
var require_no_deprecated_v_on_native_modifier = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, module) => {
	const utils = require_index.default;
	module.exports = {
		meta: {
			type: "problem",
			docs: {
				description: "disallow using deprecated `.native` modifiers (in Vue.js 3.0.0+)",
				categories: ["vue3-essential"],
				url: "https://eslint.vuejs.org/rules/no-deprecated-v-on-native-modifier.html"
			},
			fixable: null,
			schema: [],
			messages: { deprecated: "'.native' modifier on 'v-on' directive is deprecated." }
		},
		/** @param {RuleContext} context */
		create(context) {
			return utils.defineTemplateBodyVisitor(context, { 
			/** @param {VIdentifier & {parent:VDirectiveKey} } node */
"VAttribute[directive=true][key.name.name='on'] > VDirectiveKey > VIdentifier[name='native']"(node) {
				if (!node.parent.modifiers.includes(node)) return;
				context.report({
					node,
					messageId: "deprecated"
				});
			} });
		}
	};
}));
//#endregion
Object.defineProperty(exports, "default", {
	enumerable: true,
	get: function() {
		return require_no_deprecated_v_on_native_modifier();
	}
});
