Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 533bdf7

Browse files
authored
chore(deps): update @typescript-eslint/eslint-plugin (#141)
BREAKING CHANGE: Update `@typescript-eslint/eslint-plugin` to `^4.2.0`
1 parent fba288e commit 533bdf7

File tree

4 files changed

+208
-124
lines changed

4 files changed

+208
-124
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ npm install eslint-config-airbnb-typescript \
1414
eslint-plugin-jsx-a11y@^6.3.1 \
1515
eslint-plugin-react@^7.20.3 \
1616
eslint-plugin-react-hooks@^4.0.8 \
17-
@typescript-eslint/eslint-plugin@^4.0.1 \
17+
@typescript-eslint/eslint-plugin@^4.2.0 \
1818
--save-dev
1919
```
2020

@@ -42,7 +42,7 @@ Install dependencies. ESLint plugins [must also be installed](https://github.com
4242
```bash
4343
npm install eslint-config-airbnb-typescript \
4444
eslint-plugin-import@^2.22.0 \
45-
@typescript-eslint/eslint-plugin@^4.0.1 \
45+
@typescript-eslint/eslint-plugin@^4.2.0 \
4646
--save-dev
4747
```
4848

lib/shared.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ module.exports = {
5050
format: ['PascalCase'],
5151
},
5252
],
53+
54+
// Replace Airbnb 'comma-dangle' rule with '@typescript-eslint' version
55+
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-dangle.md
56+
'comma-dangle': 'off',
57+
'@typescript-eslint/comma-dangle': baseStyleRules['comma-dangle'],
58+
5359
// Replace Airbnb 'comma-spacing' rule with '@typescript-eslint' version
5460
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-spacing.md
5561
'comma-spacing': 'off',

0 commit comments

Comments
 (0)