Skip to content

Commit

Permalink
upgrade to node 18 or 20, fix up linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bkendall committed Jan 2, 2024
1 parent 99d6454 commit ea648bb
Show file tree
Hide file tree
Showing 3 changed files with 1,054 additions and 6,025 deletions.
13 changes: 11 additions & 2 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
root: true
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
- plugin:@typescript-eslint/recommended-type-checked
- plugin:@typescript-eslint/stylistic-type-checked
- plugin:jsdoc/recommended
- google
- plugin:prettier/recommended
Expand Down Expand Up @@ -32,13 +32,22 @@ overrides:
- files:
- "*.ts"
rules:
"@typescript-eslint/array-type": warn
"@typescript-eslint/consistent-indexed-object-style": warn
"@typescript-eslint/no-explicit-any": warn
"@typescript-eslint/prefer-for-of": warn
"@typescript-eslint/prefer-nullish-coalescing": warn
"@typescript-eslint/prefer-optional-chain": warn
"@typescript-eslint/no-unsafe-argument": warn # TODO(bkendall): remove allow to error.
"@typescript-eslint/no-unsafe-assignment": warn # TODO(bkendall): remove allow to error.
"@typescript-eslint/no-unsafe-call": warn # TODO(bkendall): remove allow to error.
"@typescript-eslint/no-unsafe-member-access": warn # TODO(bkendall): remove allow to error.
- files:
- "*.js"
rules:
"@typescript-eslint/prefer-for-of": warn
"@typescript-eslint/prefer-nullish-coalescing": warn
"@typescript-eslint/prefer-optional-chain": warn
"@typescript-eslint/no-empty-function": warn # TODO(bkendall): remove allow to error.
"@typescript-eslint/no-this-alias": warn # TODO(bkendall): remove allow to error.
"@typescript-eslint/no-unsafe-argument": warn # TODO(bkendall): remove allow to error.
Expand Down

0 comments on commit ea648bb

Please sign in to comment.