Skip to content

Commit

Permalink
chore: configure ban-types
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Jul 7, 2023
1 parent 6d57500 commit 16d16e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/eslint-config-ts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ module.exports = {
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/triple-slash-reference': 'off',
'@typescript-eslint/ban-types': [
'error', {
'types': {

Check failure on line 179 in packages/eslint-config-ts/index.js

View workflow job for this annotation

GitHub Actions / lint (16.x, ubuntu-latest)

Properties shouldn't be quoted as all quotes are redundant

Check failure on line 179 in packages/eslint-config-ts/index.js

View workflow job for this annotation

GitHub Actions / lint (18.x, ubuntu-latest)

Properties shouldn't be quoted as all quotes are redundant
'Function': false, // Stacks uses Functions

Check failure on line 180 in packages/eslint-config-ts/index.js

View workflow job for this annotation

GitHub Actions / lint (16.x, ubuntu-latest)

Properties shouldn't be quoted as all quotes are redundant

Check failure on line 180 in packages/eslint-config-ts/index.js

View workflow job for this annotation

GitHub Actions / lint (18.x, ubuntu-latest)

Properties shouldn't be quoted as all quotes are redundant
},
'extendDefaults': true

Check failure on line 182 in packages/eslint-config-ts/index.js

View workflow job for this annotation

GitHub Actions / lint (16.x, ubuntu-latest)

Properties shouldn't be quoted as all quotes are redundant

Check failure on line 182 in packages/eslint-config-ts/index.js

View workflow job for this annotation

GitHub Actions / lint (16.x, ubuntu-latest)

Missing trailing comma

Check failure on line 182 in packages/eslint-config-ts/index.js

View workflow job for this annotation

GitHub Actions / lint (18.x, ubuntu-latest)

Properties shouldn't be quoted as all quotes are redundant

Check failure on line 182 in packages/eslint-config-ts/index.js

View workflow job for this annotation

GitHub Actions / lint (18.x, ubuntu-latest)

Missing trailing comma
}

Check failure on line 183 in packages/eslint-config-ts/index.js

View workflow job for this annotation

GitHub Actions / lint (16.x, ubuntu-latest)

Missing trailing comma

Check failure on line 183 in packages/eslint-config-ts/index.js

View workflow job for this annotation

GitHub Actions / lint (18.x, ubuntu-latest)

Missing trailing comma
],
// handled by unused-imports/no-unused-imports
'@typescript-eslint/no-unused-vars': 'off',
},
Expand Down

0 comments on commit 16d16e9

Please sign in to comment.