fix: validate initialLocale
before using it (#217)
#519
Annotations
5 errors and 2 warnings
Lint:
src/runtime/configs.ts#L1
Insert `;`
|
Lint:
src/runtime/configs.ts#L84
Replace `·opts.initialLocale·` with `opts.initialLocale`
|
Lint:
src/runtime/configs.ts#L87
Replace `·canonicalizedLocale.length·>=·1·` with `canonicalizedLocale.length·>=·1`
|
Lint:
src/runtime/configs.ts#L90
Empty block statement
|
Lint
Process completed with exit code 1.
|
Lint:
src/runtime/configs.ts#L84
Expected blank line before this statement
|
Lint:
src/runtime/configs.ts#L87
Expected blank line before this statement
|