- Introduced Skeleton component for loading states. - Added Slider component with customizable properties. - Implemented Sonner for toast notifications. - Created Switch component for toggle functionality. - Developed Table component with header, body, footer, and cell subcomponents. - Added Tabs component with list, trigger, and content subcomponents. - Implemented Tooltip component with provider, trigger, and content. - Created useIsMobile hook for responsive design. - Added global styles in index.css with custom properties. - Implemented utility function for class name merging. - Set up main entry point for the application. - Configured TypeScript settings for the application and node. - Set up Vite configuration with React and Tailwind CSS support.
24 lines
610 B
JavaScript
24 lines
610 B
JavaScript
import js from '@eslint/js'
|
|
import globals from 'globals'
|
|
import reactHooks from 'eslint-plugin-react-hooks'
|
|
import reactRefresh from 'eslint-plugin-react-refresh'
|
|
import tseslint from 'typescript-eslint'
|
|
import { globalIgnores } from 'eslint/config'
|
|
|
|
export default tseslint.config([
|
|
globalIgnores(['dist']),
|
|
{
|
|
files: ['**/*.{ts,tsx}'],
|
|
extends: [
|
|
js.configs.recommended,
|
|
tseslint.configs.recommended,
|
|
reactHooks.configs['recommended-latest'],
|
|
reactRefresh.configs.vite,
|
|
],
|
|
languageOptions: {
|
|
ecmaVersion: 2020,
|
|
globals: globals.browser,
|
|
},
|
|
},
|
|
])
|