mirror of https://github.com/espruino/BangleApps
Fix linter
parent
c8200c5067
commit
8367a865c4
|
@ -91,7 +91,7 @@ function checkLocale(locale, {speedUnits, distanceUnits, codePages, CODEPAGE_CON
|
||||||
const speeds = Object.keys(speedUnits);
|
const speeds = Object.keys(speedUnits);
|
||||||
const distances = Object.keys(distanceUnits);
|
const distances = Object.keys(distanceUnits);
|
||||||
|
|
||||||
checkLength("lang", locale.lang, 5, undefined);
|
checkLength("lang", locale.lang, 4, undefined);
|
||||||
checkLength("decimal point", locale.decimal_point, 1, 1);
|
checkLength("decimal point", locale.decimal_point, 1, 1);
|
||||||
checkLength("thousands separator", locale.thousands_sep, 1, 1);
|
checkLength("thousands separator", locale.thousands_sep, 1, 1);
|
||||||
checkLength("speed", locale.speed, 2, 4);
|
checkLength("speed", locale.speed, 2, 4);
|
||||||
|
|
|
@ -109,7 +109,9 @@ var KNOWN_WARNINGS = [
|
||||||
`In locale it_CH, long time format might not work in some apps if it is not "%HH:%MM:%SS"`,
|
`In locale it_CH, long time format might not work in some apps if it is not "%HH:%MM:%SS"`,
|
||||||
`In locale it_IT, long time format might not work in some apps if it is not "%HH:%MM:%SS"`,
|
`In locale it_IT, long time format might not work in some apps if it is not "%HH:%MM:%SS"`,
|
||||||
`In locale wae_CH, long time format might not work in some apps if it is not "%HH:%MM:%SS"`,
|
`In locale wae_CH, long time format might not work in some apps if it is not "%HH:%MM:%SS"`,
|
||||||
|
`In locale test, long time format might not work in some apps if it is not "%HH:%MM:%SS"`,
|
||||||
`In locale wae_CH, short time format might not work in some apps if it is not "%HH:%MM"`,
|
`In locale wae_CH, short time format might not work in some apps if it is not "%HH:%MM"`,
|
||||||
|
`In locale test, short time format might not work in some apps if it is not "%HH:%MM"`,
|
||||||
];
|
];
|
||||||
|
|
||||||
var apps = [];
|
var apps = [];
|
||||||
|
|
Loading…
Reference in New Issue