Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit 8ef77c9

Browse files
authored
feat: support @typescript-eslint to v6 (#325)
1 parent 91fd090 commit 8ef77c9

File tree

4 files changed

+2293
-1265
lines changed

4 files changed

+2293
-1265
lines changed

DEVELOPING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Introduction
44

5-
### How do I setup the the project?
5+
### How do I setup the project?
66

77
1. Fork the repo
88
1. Install dependencies: `npm install`

README.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ Make sure you have the regular Airbnb config setup. If you are using React, use
1212

1313
### 2) Install dependencies (and peer dependencies)
1414

15+
```bash
16+
npm install eslint-config-airbnb-typescript \
17+
@typescript-eslint/eslint-plugin@^6.0.0 \
18+
@typescript-eslint/parser@^6.0.0 \
19+
--save-dev
20+
```
21+
22+
or
23+
1524
```bash
1625
npm install eslint-config-airbnb-typescript \
1726
@typescript-eslint/eslint-plugin@^5.13.0 \
@@ -108,8 +117,10 @@ module.exports = {
108117
'airbnb',
109118
'airbnb-typescript',
110119
'airbnb/hooks',
111-
'plugin:@typescript-eslint/recommended',
112-
'plugin:@typescript-eslint/recommended-requiring-type-checking',
120+
'plugin:@typescript-eslint/recommended-type-checked', // @typescript-eslint @v6
121+
'plugin:@typescript-eslint/stylistic-type-checked', // @typescript-eslint @v6
122+
// 'plugin:@typescript-eslint/recommended', // @typescript-eslint @v5
123+
// 'plugin:@typescript-eslint/recommended-requiring-type-checking', // @typescript-eslint @v5
113124
],
114125
};
115126
```

0 commit comments

Comments
 (0)