Update Gemini.md to use the curent year on creating new files (#18460)

This commit is contained in:
Sehoon Shon
2026-02-10 14:06:17 -05:00
committed by GitHub
parent 55571de066
commit 9813531f81
2 changed files with 6 additions and 2 deletions
+3 -2
View File
@@ -23,6 +23,7 @@ const __dirname = path.dirname(__filename);
// Determine the monorepo root (assuming eslint.config.js is at the root)
const projectRoot = __dirname;
const currentYear = new Date().getFullYear();
export default tseslint.config(
{
@@ -267,8 +268,8 @@ export default tseslint.config(
].join('\n'),
patterns: {
year: {
pattern: '202[5-6]',
defaultValue: '2026',
pattern: `202[5-${currentYear.toString().slice(-1)}]`,
defaultValue: currentYear.toString(),
},
},
},