Skip to content

Commit d55c21e

Browse files
chore: eslint no duplicates import
1 parent e405de5 commit d55c21e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
project: './tsconfig.json',
2020
},
2121
rules: {
22+
'import/no-duplicates': 'error',
2223
'@typescript-eslint/no-explicit-any': 'error',
2324
'unicorn/filename-case': [
2425
'error',

src/components/inputs.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { useState } from 'react';
22

33
import type { OptionType } from '@/ui';
4-
import { Input, Select, View } from '@/ui';
5-
import { Checkbox, Radio, Switch } from '@/ui';
4+
import { Checkbox, Input, Radio, Select, Switch, View } from '@/ui';
65

76
import { Title } from './title';
87

src/ui/select.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ import colors from '@/ui/colors';
1818
import { CaretDown } from '@/ui/icons';
1919

2020
import type { InputControllerType } from './input';
21-
import { useModal } from './modal';
22-
import { Modal } from './modal';
21+
import { Modal, useModal } from './modal';
2322
import { Text } from './text';
2423

2524
const selectTv = tv({

0 commit comments

Comments
 (0)