What's changed?
3.0.2
Released - 31 March, 2025
Minor Bug Fix 🔧🐞
- Update @typescript-eslint/consistent-type-imports rule to add
type
prefix inline, thus preventing conflict with no-duplicate-imports - Update @typescript-eslint/consistent-generic-constructors in eslint-config package
3.0.1
Released - 31 March, 2025
Bug Fixes & Improvements 🔧🐞
- Update @stylistic/plus/curly-newline rule from
always
to{ consistent: true }
- Disable no-inline-comments rule
- Disable linting on
config.json
files - Fix issue with linting failing on
next-ts
file - Shuffle order of imports in
eslint.config.mjs
in Next.js app
3.0.0
Released - 29 March, 2025
Create a dedicated scripts
folder to setup, pack and link eslint-config packages.
Break down both eslint-config
and eslint-flat-config
into the following modules:
js
: Eslint and stylistic rules for javascriptts
: TypeScript-specific rules, including stylistic and typescript-eslintjsx
: Rules for React, React Hooks, JSX A11y, and stylistic JSXnext
: Includes additional JSX rules along with the ones fromeslint-plugin-next
packagenext-ts
: Typescript-eslint and Stylistic-ts rules tailored for Next.js apps.
Add New Rules
New rules have been added and updated to keep up with the recommended code practices.
JS
TS
All rule names start with @typescript-eslint/
prefix.
JSX
Rule Name |
---|
@stylistic/jsx/jsx-pascal-case |
no-alert |
Additional
Rule Name | Comments |
---|---|
@stylistic/plus/curly-newline | |
@stylistic/plus/indent-binary-ops | Rule migrated from stylistic js to plus |
Upgrade Dependencies
Dependency | Version |
---|---|
@typescript-eslint/eslint-plugin | 8.26.1 to 8.28.0 |
@typescript-eslint/parser | 8.26.1 to 8.28.0 |
typescript-eslint | 8.26.1 to 8.28.0 |