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

@@ -69,7 +69,7 @@ export function Sidebar() {
const gatewayStatus = useGatewayStore((state) => state.status);
const [versionClicks, setVersionClicks] = useState(0);
const [appVersion, setAppVersion] = useState('0.1.0');
const [, setAppVersion] = useState('0.1.0');
// Get app version
useEffect(() => {
@@ -79,7 +79,7 @@ export function Sidebar() {
}, []);
// Handle version click for dev mode unlock
const handleVersionClick = () => {
const _handleVersionClick = () => {
const clicks = versionClicks + 1;
setVersionClicks(clicks);