Skip to content

Commit

Permalink
Removed deprecated rule
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed Aug 16, 2023
1 parent 6cb6fa5 commit 543ffb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@
- add tests
- TS declaration for config
- run `tsc` on precommit


## dd
- add tests for config keys
- fix moduleResolution and .d.ts
5 changes: 2 additions & 3 deletions configs/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ export function prepareConfig() {
},
{
files: tsFiles,
plugins: { '@typescript-eslint': /** @type {any} */(ts) },
languageOptions: { parser: /** @type {any} */(tsParser) },
plugins: { '@typescript-eslint': ts },
languageOptions: { parser: tsParser },
rules: {
// @ts-ignore
...ts.configs['eslint-recommended'].overrides[0].rules,
Expand Down Expand Up @@ -363,7 +363,6 @@ export function prepareConfig() {
'@typescript-eslint/no-extra-non-null-assertion': 'error',
'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/no-implicit-any-catch': 'error',
// import/consistent-type-specifier-style makes sure we don't inline `type` modifier
'@typescript-eslint/no-import-type-side-effects': 'off',
'@typescript-eslint/no-invalid-void-type': 'error',
Expand Down

0 comments on commit 543ffb9

Please sign in to comment.