Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheraff committed Oct 29, 2024
1 parent 1236580 commit e198e62
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion packages/knip/src/ConfigurationChief.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,14 @@ export class ConfigurationChief {

rawConfig?: any;

constructor({ cwd, isProduction, isStrict, isIncludeEntryExports, isIgnoreExportsUsedInFile, workspace }: ConfigurationManagerOptions) {
constructor({
cwd,
isProduction,
isStrict,
isIncludeEntryExports,
isIgnoreExportsUsedInFile,
workspace,
}: ConfigurationManagerOptions) {
this.cwd = cwd;
this.isProduction = isProduction;
this.isStrict = isStrict;
Expand Down
9 changes: 8 additions & 1 deletion packages/knip/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,14 @@ export const main = async (unresolvedConfiguration: CommandLineOptions) => {

debugLogObject('*', 'Unresolved configuration (from CLI arguments)', unresolvedConfiguration);

const chief = new ConfigurationChief({ cwd, isProduction, isStrict, isIncludeEntryExports, isIgnoreExportsUsedInFile, workspace });
const chief = new ConfigurationChief({
cwd,
isProduction,
isStrict,
isIncludeEntryExports,
isIgnoreExportsUsedInFile,
workspace,
});
const deputy = new DependencyDeputy({ isProduction, isStrict });
const factory = new PrincipalFactory();
const streamer = new ConsoleStreamer({ isEnabled: isShowProgress });
Expand Down

0 comments on commit e198e62

Please sign in to comment.