diff --git a/packages/eslint-plugin-solid/src/rules/reactivity.ts b/packages/eslint-plugin-solid/src/rules/reactivity.ts index 063d849..5162afa 100644 --- a/packages/eslint-plugin-solid/src/rules/reactivity.ts +++ b/packages/eslint-plugin-solid/src/rules/reactivity.ts @@ -575,7 +575,7 @@ export default createRule({ }); } else if ( parent.property.type === "Identifier" && - /^(?:initial|default|static)[A-Z]/.test(parent.property.name) + /^(?:initial|default|static[A-Z])/.test(parent.property.name) ) { // We're using a prop with a name that starts with `initial` or // `default`, like `props.initialCount`. We'll refrain from warning