diff --git a/src/cli/commands/initConfig.ts b/src/cli/commands/initConfig.ts index a6eb880..0dc2131 100644 --- a/src/cli/commands/initConfig.ts +++ b/src/cli/commands/initConfig.ts @@ -25,14 +25,6 @@ export const initConfig = async () => { message: "Enable minification?", }); - if (config.compiler.JSON.minify) { - config.compiler.JSON.errorChecking = await confirm({ - message: `Enable JSON error checking? ${italic( - "May improve performance in minification." - )}`, - }); - } - info("LANG Files"); config.compiler.LANG.minify = await confirm({ message: "Enable minification?", diff --git a/src/compiler/config/defaultSuitcaseConfig.ts b/src/compiler/config/defaultSuitcaseConfig.ts index bfcc3c2..fb1ed2c 100644 --- a/src/compiler/config/defaultSuitcaseConfig.ts +++ b/src/compiler/config/defaultSuitcaseConfig.ts @@ -8,7 +8,7 @@ export const defaultSuitcaseConfig: Options = { globs: [], }, compiler: { - JSON: { minify: true, errorChecking: true }, + JSON: { minify: true }, LANG: { minify: true }, PNG: { compress: true, compressionLevel: 9, quality: 100 }, JPG: { compress: true, progressive: true, quality: 100 }, diff --git a/src/compiler/config/types/JSONOptions.ts b/src/compiler/config/types/JSONOptions.ts index 94440ec..818f944 100644 --- a/src/compiler/config/types/JSONOptions.ts +++ b/src/compiler/config/types/JSONOptions.ts @@ -1,4 +1,3 @@ export interface JSONOptions { minify?: boolean; - errorChecking?: boolean; }