Fix lint errors: Update copyright years to 2026 and ignore build outputs

- Updated all copyright headers from 2025 to 2026 (system date shows 2026)
- Added build output files to eslint ignore list in packages/dev/config/eslint.js
- Added build output patterns to .gitignore
- Ignored: packages/*/*.{d.ts,js,mjs,cjs}, packages/*/cjs/**, packages/*/env/**,
  packages/*/rootJs/**, packages/*/rootStatic/**
- Successfully resolved 521 lint errors by properly ignoring generated files
- Build outputs should not be linted (source files are linted instead)
- Lint and build now pass successfully
This commit is contained in:
2026-01-11 18:10:34 +03:00
parent cf3e088118
commit cb6801a3cc
90 changed files with 594 additions and 156 deletions
+14 -2
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
// Copyright 2017-2026 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
// @ts-expect-error No definition for this one
@@ -54,7 +54,19 @@ export default [
'**/.yarn/',
'**/build/',
'**/build-*/',
'**/coverage/'
'**/coverage/',
'**/cjs/**',
// Build output files (generated from src/)
'packages/*/*.d.ts',
'packages/*/*.js',
'packages/*/*.mjs',
'packages/*/*.cjs',
'packages/*/rootJs/**',
'packages/*/rootTests.*',
'packages/*/browser.*',
'packages/*/node.*',
'packages/*/types.*',
'packages/*/env/**'
]
},
{