This commit is contained in:
wdvipa
2026-02-09 16:30:59 +08:00
commit 52c6322a24
2780 changed files with 166403 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { lintWarning } from "./utils";
var linter = function linter(key, value, info) {
if (typeof value === 'string' && /NaN/g.test(value) || Number.isNaN(value)) {
lintWarning("Unexpected 'NaN' in property '".concat(key, ": ").concat(value, "'."), info);
}
};
export default linter;