Skip to content

Commit

Permalink
Merge pull request #64 from Boehringer-Ingelheim/fix-flat-config
Browse files Browse the repository at this point in the history
fix(base): switch some perfectionist references to flatconfig
  • Loading branch information
SimonGolms authored Dec 20, 2024
2 parents bdb87bb + a6697cc commit 6f6ca05
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions configs/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,36 +95,36 @@ module.exports = tseslint.config(
'perfectionist/sort-classes': [
'error',
{
...perfectionist.configs['recommended-natural-legacy'].rules['perfectionist/sort-classes'][1],
...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-classes'][1],
groups: SORT_CLASSES_GROUPS,
},
],
'perfectionist/sort-imports': [
'error',
{
...perfectionist.configs['recommended-natural-legacy'].rules['perfectionist/sort-imports'][1],
...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-imports'][1],
groups: SORT_IMPORTS_GROUPS,
newlinesBetween: 'ignore',
},
],
'perfectionist/sort-intersection-types': [
'error',
{
...perfectionist.configs['recommended-natural-legacy'].rules['perfectionist/sort-intersection-types'][1],
...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-intersection-types'][1],
groups: SORT_INTERSECTION_TYPES_GROUPS,
},
],
'perfectionist/sort-named-imports': [
'error',
{
...perfectionist.configs['recommended-natural-legacy'].rules['perfectionist/sort-named-imports'][1],
...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-named-imports'][1],
ignoreAlias: true,
},
],
'perfectionist/sort-objects': [
'error',
{
...perfectionist.configs['recommended-natural-legacy'].rules['perfectionist/sort-objects'][1],
...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-objects'][1],
partitionByComment: true,
},
],
Expand Down

0 comments on commit 6f6ca05

Please sign in to comment.