mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-03-13 10:30:18 +08:00
style: update eslint rules (#21207)
* style: update eslint rules * style: fix prefer-object-spread * style: fix no-lonely-if * fix: typescript-eslint/no-unnecessary-template-expression * fix: sort import * style: apply file filtering to config presets * revert: changes on pkg * style: revert * style: use defineConfig * style: reorder js plugin in eslint config * chore: remove obsolete override * style: fix CodeQL initialization to ensure language matrix is used
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
/* eslint-disable no-console */
|
||||
import fs from 'fs-extra';
|
||||
import path from 'node:path';
|
||||
|
||||
import { nodeFileTrace } from '@vercel/nft';
|
||||
import fs from 'fs-extra';
|
||||
|
||||
const __dirname = import.meta.dirname;
|
||||
// !!! if any new dependencies are added, update the Dockerfile !!!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user