Skip to content

Commit

Permalink
refactor: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Sep 9, 2024
1 parent b76e081 commit 39183bf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/lint/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,7 @@ export class LintFile {

// pre-parse package.json
if ( path.basename( this.#absPath ) === "package.json" ) {
res = this.#runJson( "lint", {
"indent": editorConfig.indent_size,
} );
res = this.#runJson( "compress" );

if ( !res.ok ) return res;
}
Expand Down

0 comments on commit 39183bf

Please sign in to comment.