Skip to content

Commit

Permalink
chore: use default perfectionist/sort-imports rule settings
Browse files Browse the repository at this point in the history
  • Loading branch information
lozinsky committed Dec 6, 2024
1 parent 4926edc commit e7c683a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
} from 'react-router';

import '~/globals';

import { RootLayout } from '~/components/ui/root-layout';
import { RootLayoutContent } from '~/components/ui/root-layout-content';
import { RootLayoutHeader } from '~/components/ui/root-layout-header';
Expand Down
1 change: 0 additions & 1 deletion app/services/game-worker.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import '~/globals';

import * as BoardGenerator from '~/lib/board-generator';
import { Random } from '~/shared/random';

Expand Down
16 changes: 0 additions & 16 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,22 +74,6 @@ export default ts.config(
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-import-type-side-effects': 'error',
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }],
'perfectionist/sort-imports': [
'error',
{
groups: [
'type',
['builtin', 'external'],
'side-effect',
'internal-type',
'internal',
['parent-type', 'sibling-type', 'index-type'],
['parent', 'sibling', 'index'],
'object',
'unknown',
],
},
],
'react-hooks/exhaustive-deps': 'error',
'react-hooks/rules-of-hooks': 'error',
},
Expand Down
1 change: 0 additions & 1 deletion test/setup.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { expect } from 'vitest';

import '~/globals';

import { Board, BoardCell, BoardCellState, BoardLine } from '~/lib/board';
import { MatrixSelection } from '~/lib/matrix';

Expand Down

0 comments on commit e7c683a

Please sign in to comment.