Skip to content

Commit af05b43

Browse files
committed
feat(eslint-config): extend styles patterns
1 parent 3366048 commit af05b43

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/eslint-config/src/react/config.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,17 @@ export const config = [
3939
},
4040
},
4141
{
42-
files: ['**/styles.ts', '**/styles.tsx', '**/*.styles.ts', '**/*.styles.tsx', '**/styles/*.ts', '**/styles/*.tsx'],
42+
files: [
43+
'**/*.style.ts',
44+
'**/*.style.tsx',
45+
'**/*.styles.ts',
46+
'**/*.styles.tsx',
47+
'**/style.ts',
48+
'**/styles.ts',
49+
'**/styles.tsx',
50+
'**/styles/*.ts',
51+
'**/styles/*.tsx',
52+
],
4353
rules: rules.styles,
4454
},
4555
{

0 commit comments

Comments
 (0)