You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
522 B
20 lines
522 B
/** |
|
* @author Yosuke Ota |
|
*/ |
|
'use strict' |
|
|
|
const { wrapCoreRule } = require('../utils') |
|
|
|
// eslint-disable-next-line no-invalid-meta, no-invalid-meta-docs-categories |
|
module.exports = wrapCoreRule('comma-style', { |
|
create(_context, { coreHandlers }) { |
|
return { |
|
VSlotScopeExpression(node) { |
|
if (coreHandlers.FunctionExpression) { |
|
// @ts-expect-error -- Process params of VSlotScopeExpression as FunctionExpression. |
|
coreHandlers.FunctionExpression(node) |
|
} |
|
} |
|
} |
|
} |
|
})
|
|
|