Skip to content

Commit

Permalink
Add shorthand property sorting to recommended ESLint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dddlr committed Oct 25, 2024
1 parent eb3dd41 commit f149c05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/eslint-plugin/src/configs/flat-recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ export const flatRecommended = {
'@compiled/no-keyframes-tagged-template-expression': 'error',
'@compiled/no-styled-tagged-template-expression': 'error',
'@compiled/no-suppress-xcss': 'error',
'@compiled/shorthand-property-sorting': 'error',
},
} as const;
3 changes: 2 additions & 1 deletion packages/eslint-plugin/src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ export const recommended = {
'@compiled/no-keyframes-tagged-template-expression': 'error',
'@compiled/no-styled-tagged-template-expression': 'error',
'@compiled/no-suppress-xcss': 'error',
'@compiled/shorthand-property-sorting': 'error',
},
};
} as const;

0 comments on commit f149c05

Please sign in to comment.