Skip to content

Commit 341178d

Browse files
intellixljharb
authored andcommitted
[readme] Update flatConfig example to include typescript config
1 parent fa36d49 commit 341178d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
1818
- [Docs] [`extensions`], [`order`]: improve documentation ([#3106], thanks [@Xunnamius])
1919
- [Docs] add flat config guide for using `tseslint.config()` ([#3125], thanks [@lnuvy])
2020
- [Docs] add missing comma ([#3122], thanks [@RyanGst])
21+
- [readme] Update flatConfig example to include typescript config ([#3138], thanks [@intellix])
2122

2223
## [2.31.0] - 2024-10-03
2324

@@ -1167,6 +1168,7 @@ for info on changes for earlier releases.
11671168

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

1171+
[#3138]: https://github.com/import-js/eslint-plugin-import/pull/3138
11701172
[#3125]: https://github.com/import-js/eslint-plugin-import/pull/3125
11711173
[#3122]: https://github.com/import-js/eslint-plugin-import/pull/3122
11721174
[#3116]: https://github.com/import-js/eslint-plugin-import/pull/3116
@@ -1873,6 +1875,7 @@ for info on changes for earlier releases.
18731875
[@hulkish]: https://github.com/hulkish
18741876
[@hyperupcall]: https://github.com/hyperupcall
18751877
[@Hypnosphi]: https://github.com/Hypnosphi
1878+
[@intellix]: https://github.com/intellix
18761879
[@isiahmeadows]: https://github.com/isiahmeadows
18771880
[@IvanGoncharov]: https://github.com/IvanGoncharov
18781881
[@ivo-stefchev]: https://github.com/ivo-stefchev

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export default tseslint.config(
205205
// other configs...
206206
{
207207
files: ['**/*.{ts,tsx}'],
208-
extends: [importPlugin.flatConfigs.recommended],
208+
extends: [importPlugin.flatConfigs.recommended, importPlugin.flatConfigs.typescript],
209209
// other configs...
210210
}
211211
);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy