refactor: replace deprecated tseslint.config with defineConfig#151
refactor: replace deprecated tseslint.config with defineConfig#151
Conversation
The tseslint.config() function was deprecated in favor of ESLint's native defineConfig() from eslint/config (introduced in ESLint v9.22.0). Co-Authored-By: Claude
Code ReviewSummaryThis PR refactors the ESLint configuration to use the recommended ✅ Positive Observations
🔍 Technical AnalysisCode Quality: ★★★★★
Compatibility:
Functional Equivalence:
|
Summary
tseslint.config()with ESLint's nativedefineConfig()fromeslint/configBackground
The
tseslint.config()function was deprecated in favor of ESLint'sdefineConfig()(introduced in ESLint v9.22.0).Reference: https://typescript-eslint.io/packages/typescript-eslint/#config-deprecated
Test plan
npm run lintpassesnpm run buildpassesCo-Authored-By: Claude