False positive trigger for `enforce-store-naming-convention`
Kelin2025 opened this issue · 0 comments
Kelin2025 commented
Sometimes plugin treats factories from effector-factorio
as stores
Minimal reproduction code
import { combine, sample } from 'effector'
import { modelFactory } from 'effector-factorio'
export const factory = modelFactory(() => {
sample({
clock: combine([createStore('')]),
fn: ([fieldType, customFieldId]) => customFieldId || fieldType,
target: createStore(''),
})
return {}
})
Parser: @typescript-eslint/parser (5.53.0)