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

Commit

Permalink
feat: support @typescript-eslint to v6 (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
dartess authored Jul 13, 2023
1 parent 91fd090 commit 8ef77c9
Show file tree
Hide file tree
Showing 4 changed files with 2,293 additions and 1,265 deletions.
2 changes: 1 addition & 1 deletion DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Introduction

### How do I setup the the project?
### How do I setup the project?

1. Fork the repo
1. Install dependencies: `npm install`
Expand Down
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ Make sure you have the regular Airbnb config setup. If you are using React, use

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

```bash
npm install eslint-config-airbnb-typescript \
@typescript-eslint/eslint-plugin@^6.0.0 \
@typescript-eslint/parser@^6.0.0 \
--save-dev
```

or

```bash
npm install eslint-config-airbnb-typescript \
@typescript-eslint/eslint-plugin@^5.13.0 \
Expand Down Expand Up @@ -108,8 +117,10 @@ module.exports = {
'airbnb',
'airbnb-typescript',
'airbnb/hooks',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:@typescript-eslint/recommended-type-checked', // @typescript-eslint @v6
'plugin:@typescript-eslint/stylistic-type-checked', // @typescript-eslint @v6
// 'plugin:@typescript-eslint/recommended', // @typescript-eslint @v5
// 'plugin:@typescript-eslint/recommended-requiring-type-checking', // @typescript-eslint @v5
],
};
```
Expand Down
Loading

0 comments on commit 8ef77c9

Please sign in to comment.