chore(lint): remove ESLint configuration file and update lint scripts

- Deleted the .eslintrc.cjs file to simplify configuration management.
- Updated lint scripts in package.json to remove unnecessary extensions for linting.
- Added new devDependencies for ESLint and globals to enhance linting capabilities.
This commit is contained in:
Haze
2026-02-06 05:50:20 +08:00
Unverified
parent 4e1f79922b
commit 9fe27e3510
23 changed files with 90 additions and 45 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable react-refresh/only-export-components */
/**
* Badge Component
* Based on shadcn/ui badge

View File

@@ -1,3 +1,4 @@
/* eslint-disable react-refresh/only-export-components */
/**
* Button Component
* Based on shadcn/ui button

View File

@@ -5,8 +5,7 @@
import * as React from 'react';
import { cn } from '@/lib/utils';
export interface InputProps
extends React.InputHTMLAttributes<HTMLInputElement> {}
export type InputProps = React.InputHTMLAttributes<HTMLInputElement>;
const Input = React.forwardRef<HTMLInputElement, InputProps>(
({ className, type, ...props }, ref) => {