feat: move fixer to rules

This commit is contained in:
Gabe Yuan
2024-03-21 11:40:47 +08:00
parent 3ea14c1687
commit ac921cd5a0
3 changed files with 65 additions and 29 deletions

View File

@@ -5,7 +5,7 @@ import { BUILTIN_RULES } from "./config/rules";
(() => {
// rules
try {
const data = JSON.stringify(BUILTIN_RULES, null, " ");
const data = JSON.stringify(BUILTIN_RULES, null, 2);
const file = path.resolve(
__dirname,
"../build/web/kiss-translator-rules.json"