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:
@@ -447,7 +447,7 @@ export function Cron() {
|
||||
try {
|
||||
await toggleJob(id, enabled);
|
||||
toast.success(enabled ? 'Task enabled' : 'Task paused');
|
||||
} catch (err) {
|
||||
} catch {
|
||||
toast.error('Failed to update task');
|
||||
}
|
||||
}, [toggleJob]);
|
||||
@@ -456,7 +456,7 @@ export function Cron() {
|
||||
try {
|
||||
await deleteJob(id);
|
||||
toast.success('Task deleted');
|
||||
} catch (err) {
|
||||
} catch {
|
||||
toast.error('Failed to delete task');
|
||||
}
|
||||
}, [deleteJob]);
|
||||
|
||||
@@ -322,7 +322,7 @@ export function Skills() {
|
||||
}
|
||||
}
|
||||
toast.success(allEnabled ? 'Bundle disabled' : 'Bundle enabled');
|
||||
} catch (err) {
|
||||
} catch {
|
||||
toast.error('Failed to apply bundle');
|
||||
}
|
||||
}, [skills, enableSkill, disableSkill]);
|
||||
|
||||
Reference in New Issue
Block a user