mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-03 04:21:53 +08:00
Chore: introduce eslint to build script
This commit is contained in:
@@ -72,10 +72,10 @@ const validateRuleset = async (filePath) => {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
(async () => {
|
||||
const [domainsetFiles, rulesetFiles] = await Promise.all([
|
||||
const [domainsetFiles, _rulesetFiles] = await Promise.all([
|
||||
listDir(path.resolve(__dirname, '../List/domainset')),
|
||||
listDir(path.resolve(__dirname, '../List/non_ip'))
|
||||
]);
|
||||
@@ -84,4 +84,3 @@ const validateRuleset = async (filePath) => {
|
||||
// rulesetFiles.map(file => validateRuleset(file))
|
||||
);
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user