Skip to content

Commit

Permalink
Fix @typescript-eslint/no-restricted-imports and `@typescript-eslin…
Browse files Browse the repository at this point in the history
…t/restrict-plus-operands` rules for `@typescript-eslint/eslint-plugin` 6 (#77)
  • Loading branch information
jamesacarr committed Jul 14, 2023
1 parent 631c7b8 commit cc69c7b
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,16 +473,18 @@ module.exports = {
'no-restricted-imports': 'off',
'@typescript-eslint/no-restricted-imports': [
'error',
[
'error',
'domain',
'freelist',
'smalloc',
'punycode',
'sys',
'querystring',
'colors'
]
{
paths: [
'error',
'domain',
'freelist',
'smalloc',
'punycode',
'sys',
'querystring',
'colors'
],
},
],
'@typescript-eslint/no-redundant-type-constituents': 'error',
'@typescript-eslint/no-require-imports': 'error',
Expand Down Expand Up @@ -608,7 +610,6 @@ module.exports = {
'@typescript-eslint/restrict-plus-operands': [
'error',
{
checkCompoundAssignments: true,
allowAny: false
}
],
Expand Down

0 comments on commit cc69c7b

Please sign in to comment.