We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 305b41e + 8ce3cb2 commit 40134afCopy full SHA for 40134af
packages/eslint-plugin-solid/src/rules/reactivity.ts
@@ -575,7 +575,7 @@ export default createRule<Options, MessageIds>({
575
});
576
} else if (
577
parent.property.type === "Identifier" &&
578
- /^(?:initial|default|static)[A-Z]/.test(parent.property.name)
+ /^(?:initial|default|static[A-Z])/.test(parent.property.name)
579
) {
580
// We're using a prop with a name that starts with `initial` or
581
// `default`, like `props.initialCount`. We'll refrain from warning
0 commit comments