Skip to content

Commit

Permalink
feat(eslint-config-angular): support dot-notation (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Dec 6, 2022
1 parent cb3d42c commit 5d76da2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/eslint-config-angular/experimental/index.js
Expand Up @@ -5,6 +5,15 @@ module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
rules: {
'dot-notation': 'off',
'@typescript-eslint/dot-notation': [
'error',
{
allowPrivateClassPropertyAccess: true,
allowProtectedClassPropertyAccess: true,
allowIndexSignaturePropertyAccess: true,
},
],
'@typescript-eslint/ban-types': 'error',
'@typescript-eslint/no-base-to-string': 'error',
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
Expand Down

0 comments on commit 5d76da2

Please sign in to comment.