mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-25 11:39:54 +00:00
chore: update frontend build for v1.1.81 [skip ci]
This commit is contained in:
28
web/admin-spa/node_modules/eslint-plugin-vue/lib/rules/syntaxes/script-setup.js
generated
vendored
Normal file
28
web/admin-spa/node_modules/eslint-plugin-vue/lib/rules/syntaxes/script-setup.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* @author Yosuke Ota
|
||||
* See LICENSE file in root directory for full license.
|
||||
*/
|
||||
'use strict'
|
||||
|
||||
const utils = require('../../utils')
|
||||
|
||||
module.exports = {
|
||||
supported: '>=2.7.0',
|
||||
/** @param {RuleContext} context @returns {TemplateListener} */
|
||||
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'
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user