Add ESLint config and update code style
Introduced a new eslint.config.js using neostandard and added related devDependencies. Updated codebase for consistent formatting, spacing, and function declarations. Minor refactoring and cleanup across multiple files to improve readability and maintain code style compliance.
This commit is contained in:
1 parent
1990761ad6
commit
fa80441e36
42 files changed
+628
-580
No files matched your search
@@ -10,5 +10,5 @@ const NAPCAT_MJS_PATH = path.join(BASE_DIR, 'napcat', 'napcat.mjs');
|
||||
process.env.NAPCAT_WRAPPER_PATH = WRAPPER_NODE_PATH;
|
||||
process.env.NAPCAT_QQ_PACKAGE_INFO_PATH = PACKAGE_JSON_PATH;
|
||||
process.env.NAPCAT_QQ_VERSION_CONFIG_PATH = CONFIG_JSON_PATH;
|
||||
process.env.NAPCAT_DISABLE_PIPE = '1';
|
||||
import(pathToFileURL(NAPCAT_MJS_PATH).href);
|
||||
process.env.NAPCAT_DISABLE_PIPE = '1';
|
||||
import(pathToFileURL(NAPCAT_MJS_PATH).href);
|
||||
Reference in new issue
Block a user