Biome linter configuration for regional timezone offset validation
0 reputation · 28 May 2026, 23:36 UTC
Biome focuses on high-performance linting and formatting for JavaScript and TypeScript but lacks a native engine for date-time manipulation. While the linter can enforce syntax patterns, it does not provide a mechanism to perform logic-based validation for regional timezone conversions or specific offset calculations.
The goal is to ensure that all date-time primitives within a project utilize a consistent regional strategy to avoid runtime inconsistencies across different environments. However, there is currently no documented configuration in biome.json to normalize timezone data or to restrict date usage to specific temporal-aware libraries like Luxon or Day.js.
Is there a roadmap for linter rules that can flag the use of the native Date object when timezone awareness is required? Can Biome be configured to enforce the use of the Temporal API once polyfills are widely adopted?