Skip to content

Commit

Permalink
fix: set alphabetical sorting as default in sort-svelte-attributes rule
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io committed Jul 21, 2023
1 parent e7d681a commit ec8e78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/sort-svelte-attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default createEslintRule<Options<string[]>, MESSAGE_ID>({
SortType.natural,
SortType['line-length'],
],
default: SortType.natural,
default: SortType.alphabetical,
},
order: {
enum: [SortOrder.asc, SortOrder.desc],
Expand Down

0 comments on commit ec8e78b

Please sign in to comment.