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.
21 lines
520 B
21 lines
520 B
2 months ago
|
/**
|
||
|
* @author Yosuke Ota
|
||
|
*/
|
||
|
'use strict'
|
||
|
|
||
|
const { wrapStylisticOrCoreRule } = require('../utils')
|
||
|
|
||
|
// eslint-disable-next-line internal/no-invalid-meta
|
||
|
module.exports = wrapStylisticOrCoreRule('comma-style', {
|
||
|
create(_context, { baseHandlers }) {
|
||
|
return {
|
||
|
VSlotScopeExpression(node) {
|
||
|
if (baseHandlers.FunctionExpression) {
|
||
|
// @ts-expect-error -- Process params of VSlotScopeExpression as FunctionExpression.
|
||
|
baseHandlers.FunctionExpression(node)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
})
|