Skip to content

Commit

Permalink
eslint sort imports added
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiHotz committed Dec 3, 2024
1 parent 8ad275e commit 57fc6b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const preview: Preview = {
},
},

tags: ["autodocs", "autodocs"]
tags: ['autodocs']
};

export default preview;
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export default tseslint.config(
aspects: ['invalidHref'],
},
],
'sort-imports': ['error', { 'ignoreCase': true, 'ignoreDeclarationSort': true }],
'import/no-duplicates': 'error',
'import/no-self-import': 'error',
'import/order': [
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tabs/TabsList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createRef, Children, FC, PropsWithChildren, useCallback } from 'react';
import { Children, createRef, FC, PropsWithChildren, useCallback } from 'react';

import { TabContext, useTabList } from './context';
import './TabsList.scss';
Expand Down

0 comments on commit 57fc6b5

Please sign in to comment.