Skip to content

Commit

Permalink
fix(compiler@json): now really remove JSONC error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
TBroz15 committed Nov 3, 2024
1 parent c55b625 commit c10ad7d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
8 changes: 0 additions & 8 deletions src/cli/commands/initConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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?",
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/config/defaultSuitcaseConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
1 change: 0 additions & 1 deletion src/compiler/config/types/JSONOptions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export interface JSONOptions {
minify?: boolean;
errorChecking?: boolean;
}

0 comments on commit c10ad7d

Please sign in to comment.