Initial implementation

This commit is contained in:
Atharva Sawant
2024-02-15 16:47:23 +05:30
commit 4e1e2054a6
8439 changed files with 2230738 additions and 0 deletions

View 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'
})
}
})
}
}