Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.
Merged
2 changes: 1 addition & 1 deletion types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export interface VerdaccioOptions {
url_prefix: string;
base: string;
language?: string;
darkMode?: boolean;
dark_mode?: boolean;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer cammelCase, hopefully we can remove some day all the _ ...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

me too, but then I noticed that we have url_prefix and I decided to do like this

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

url_prefix is from the sinopia era, the previous author was quite all over the place using that, it took me few years to get rid of those, but some configurations are still using _ due backward compatibility unfortunately.

}

declare global {
Expand Down