There was an error while loading. Please reload this page.
1 parent b4e550d commit 3a927c3Copy full SHA for 3a927c3
1 file changed
CLAUDE.md
@@ -157,6 +157,7 @@ Rules follow a consistent pattern:
157
5. Export the rule as default
158
159
Example structure:
160
+
161
```typescript
162
import * as core from "@eslint-react/core";
163
import { createRule } from "../utils";
@@ -166,7 +167,7 @@ export const RULE_FEATURES = [] as const satisfies RuleFeature[];
166
167
export type MessageID = "messageId";
168
169
export default createRule<[], MessageID>({
- meta: { /* ... */ },
170
+ meta: {/* ... */},
171
create(context) {
172
// Rule implementation
173
},
0 commit comments