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

Commit

Permalink
chore(deps): update @typescript-eslint/eslint-plugin (#141)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Update `@typescript-eslint/eslint-plugin` to `^4.2.0`
  • Loading branch information
iamturns committed Sep 28, 2020
1 parent fba288e commit 533bdf7
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 124 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ npm install eslint-config-airbnb-typescript \
eslint-plugin-jsx-a11y@^6.3.1 \
eslint-plugin-react@^7.20.3 \
eslint-plugin-react-hooks@^4.0.8 \
@typescript-eslint/eslint-plugin@^4.0.1 \
@typescript-eslint/eslint-plugin@^4.2.0 \
--save-dev
```

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

Expand Down
6 changes: 6 additions & 0 deletions lib/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ module.exports = {
format: ['PascalCase'],
},
],

// Replace Airbnb 'comma-dangle' rule with '@typescript-eslint' version
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-dangle.md
'comma-dangle': 'off',
'@typescript-eslint/comma-dangle': baseStyleRules['comma-dangle'],

// Replace Airbnb 'comma-spacing' rule with '@typescript-eslint' version
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-spacing.md
'comma-spacing': 'off',
Expand Down
Loading

0 comments on commit 533bdf7

Please sign in to comment.