@aleph/eslint-config
Version:
Aleph's ESLint configuration for JavaScript and TypeScript projects - ESLint 9 flat config
78 lines (57 loc) • 2.51 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.0.0] - 2025-08-13
### 🚀 Major Release - ESLint 9 Flat Config Migration
This is a **major version update** that completely migrates to ESLint 9's new flat config format.
### ✨ Added
- **ESLint 9 Flat Config Support**: Complete rewrite using the new `eslint.config.js` format
- **Comprehensive Rule Set**: 248+ explicitly defined rules based on Airbnb style guide
- **Modern Dependencies**: Updated to use `@stylistic/eslint-plugin` for formatting rules
- **TypeScript Support**: Full TypeScript integration with `@typescript-eslint` v8.x
- **React & JSX Support**: Complete React rules with hooks and accessibility checking
- **Import Management**: Comprehensive import/export rules via `eslint-plugin-import`
- **Accessibility Rules**: JSX accessibility rules via `eslint-plugin-jsx-a11y`
- **Zero External Config Dependencies**: No more dependency on `@eslint/eslintrc` or FlatCompat
### 💥 Breaking Changes
- **ESLint Version**: Now requires ESLint 9.0.0 or higher
- **Configuration Format**: Must use `eslint.config.js` instead of `.eslintrc.js`
- **Import Syntax**: Configuration must be imported and spread into an array
- **Node.js Version**: Requires Node.js 16.0.0 or higher
### 🔧 Migration
Replace your old `.eslintrc.js`:
```javascript
// OLD
module.exports = {
extends: ['@aleph/eslint-config']
};
```
With new `eslint.config.js`:
```javascript
// NEW
export { default } from '@aleph/eslint-config';
```
### 📚 Documentation
- Added comprehensive migration guide in README
- Updated all examples to use ESLint 9 flat config syntax
- Added detailed breaking changes documentation
- Enhanced package description and keywords for discoverability
### 🔗 Dependencies
- `@eslint/js`: ^9.0.0
- `@stylistic/eslint-plugin`: ^1.5.0
- `@typescript-eslint/eslint-plugin`: ^8.0.0
- `@typescript-eslint/parser`: ^8.0.0
- `eslint-plugin-import`: ^2.29.0
- `eslint-plugin-jsx-a11y`: ^6.8.0
- `eslint-plugin-react`: ^7.33.0
- `eslint-plugin-react-hooks`: ^4.6.0
- `globals`: ^13.24.0
---
## [1.1.0] - Previous Release
### Changed
- Legacy `.eslintrc` format support (deprecated)
## [1.0.0] - Initial Release
### Added
- Initial ESLint configuration based on Airbnb style guide
- Legacy `.eslintrc` format support (deprecated)