Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit 94832fc

Browse files
author
Will Sabransky
committed
Use @typescript-eslint/recommended
1 parent 27afafe commit 94832fc

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@postmates/eslint-config",
3-
"version": "5.0.0",
3+
"version": "5.1.0",
44
"description": "Postmates' ESLint config, following our styleguide",
55
"main": "index.js",
66
"scripts": {

packages/eslint-config/rules/typescript.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
],
66
overrides: [{
77
parser: '@typescript-eslint/parser',
8+
extends: ['plugin:@typescript-eslint/recommended'],
89
files: ['*.ts', '*.tsx'],
910
rules: {
1011
'no-useless-constructor': 'off',
@@ -23,10 +24,6 @@ module.exports = {
2324
'jsx-a11y/anchor-is-valid': 'off',
2425

2526
'arrow-parens': 'error',
26-
'@typescript-eslint/adjacent-overload-signatures': 'error',
27-
'@typescript-eslint/member-delimiter-style': 'error',
28-
'@typescript-eslint/no-angle-bracket-type-assertion': 'error',
29-
'@typescript-eslint/type-annotation-spacing': 'error',
3027
}
3128
}]
3229
};

0 commit comments

Comments
 (0)