Skip to content

Commit

Permalink
Adjust some new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
osmestad committed Dec 17, 2024
1 parent 5a04210 commit 38f2732
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions rule-sets/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,28 @@ export const baseRuleSet = {
],
},
],
'perfectionist/sort-modules': 'off',
'perfectionist/sort-union-types': [
'error',
{
groups: [
[
'conditional',
'function',
'import',
'intersection',
'keyword',
'literal',
'named',
'operator',
'tuple',
'union',
],
['object'],
['nullish'],
],
},
],
'prettier/prettier': [
'error',
{
Expand Down

0 comments on commit 38f2732

Please sign in to comment.