Skip to content

Commit

Permalink
[readme] Update flatConfig example to include typescript config
Browse files Browse the repository at this point in the history
  • Loading branch information
intellix authored and ljharb committed Jan 8, 2025
1 parent fa36d49 commit 341178d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
- [Docs] [`extensions`], [`order`]: improve documentation ([#3106], thanks [@Xunnamius])
- [Docs] add flat config guide for using `tseslint.config()` ([#3125], thanks [@lnuvy])
- [Docs] add missing comma ([#3122], thanks [@RyanGst])
- [readme] Update flatConfig example to include typescript config ([#3138], thanks [@intellix])

## [2.31.0] - 2024-10-03

Expand Down Expand Up @@ -1167,6 +1168,7 @@ for info on changes for earlier releases.

[`memo-parser`]: ./memo-parser/README.md

[#3138]: https://github.com/import-js/eslint-plugin-import/pull/3138
[#3125]: https://github.com/import-js/eslint-plugin-import/pull/3125
[#3122]: https://github.com/import-js/eslint-plugin-import/pull/3122
[#3116]: https://github.com/import-js/eslint-plugin-import/pull/3116
Expand Down Expand Up @@ -1873,6 +1875,7 @@ for info on changes for earlier releases.
[@hulkish]: https://github.com/hulkish
[@hyperupcall]: https://github.com/hyperupcall
[@Hypnosphi]: https://github.com/Hypnosphi
[@intellix]: https://github.com/intellix
[@isiahmeadows]: https://github.com/isiahmeadows
[@IvanGoncharov]: https://github.com/IvanGoncharov
[@ivo-stefchev]: https://github.com/ivo-stefchev
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export default tseslint.config(
// other configs...
{
files: ['**/*.{ts,tsx}'],
extends: [importPlugin.flatConfigs.recommended],
extends: [importPlugin.flatConfigs.recommended, importPlugin.flatConfigs.typescript],
// other configs...
}
);
Expand Down

0 comments on commit 341178d

Please sign in to comment.