Files
2026-01-12 09:12:41 +00:00

7 lines
292 B
JavaScript

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;