Skip to content

Commit b996254

Browse files
committed
feat(linter): added support for data stores
1 parent c78af45 commit b996254

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scanner/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const RESOURCE_PATTERNS: Record<ResourceType, string[]> = {
3333
entity: ['**/entities/*/index.{md,mdx}', '**/entities/*/versioned/*/index.{md,mdx}'],
3434
user: ['users/*.{md,mdx}'],
3535
team: ['teams/*.{md,mdx}'],
36+
dataStore: ['**/containers/*/index.{md,mdx}', '**/containers/*/versioned/*/index.{md,mdx}'],
3637
};
3738

3839
export const extractResourceInfo = (filePath: string, resourceType: ResourceType): { id: string; version?: string } => {

0 commit comments

Comments
 (0)