Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
22
Frontend-Learner/node_modules/eslint-plugin-vue/lib/rules/syntaxes/define-slots.js
generated
vendored
Normal file
22
Frontend-Learner/node_modules/eslint-plugin-vue/lib/rules/syntaxes/define-slots.js
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* @author Yosuke Ota
|
||||
* See LICENSE file in root directory for full license.
|
||||
*/
|
||||
'use strict'
|
||||
|
||||
const utils = require('../../utils/index')
|
||||
|
||||
module.exports = {
|
||||
supported: '>=3.3.0',
|
||||
/** @param {RuleContext} context @returns {RuleListener} */
|
||||
createScriptVisitor(context) {
|
||||
return utils.defineScriptSetupVisitor(context, {
|
||||
onDefineSlotsEnter(node) {
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'forbiddenDefineSlots'
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue