RFC: ESLint 9 Migration – Transitioning from JSON Config to config.js
- 主要语言
- JavaScript
- 星标
- 6k
- 派生
- 1.3k
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 611
描述
### Description
**Summary**
This RFC proposes migrating the ESLint configuration from the deprecated .eslintrc.* format to the new eslint.config.js format introduced in ESLint 9. Additionally, it outlines handling the removal of .eslintignore in favor of the ignores property inside the configuration file.
**Expected Outcomes**
- Successful Migration to eslint.config.js – Ensures compatibility with ESLint 9.
- Removal of Deprecated Configurations – .eslintrc.* and .eslintignore are replaced with eslint.config.js.
- Consistent and Maintainable Linting Rules – The same linting standards are preserved.
### Related Issues
_No response_
### Questions
No.
### Other
No.
### Checklist
- [x] I have read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [x] Searched for existing issues and pull requests.
- [x] The issue name begins with `RFC:`.
贡献指南
调研方向
Start by locating the repository's .eslintrc.* files and .eslintignore, then review the existing linting rules and how ESLint is invoked. Done means replacing the deprecated configuration with eslint.config.js, moving ignore patterns into its ignores property, preserving the current standards, and confirming ESLint 9 compatibility.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- eslint, javascript
- 领域
- tooling
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100