From b44c56f94047b1e095daf188e2fc38f95f9f122e Mon Sep 17 00:00:00 2001 From: Vincent Scavinner Date: Fri, 20 Oct 2023 15:11:07 +0200 Subject: [PATCH] feat(ts-lint): allow use of private and protected syntax in .ts files --- ember-phone-input/.eslintrc.cjs | 13 ------------- test-app/.eslintrc.js | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/ember-phone-input/.eslintrc.cjs b/ember-phone-input/.eslintrc.cjs index a061294c..6dda5326 100644 --- a/ember-phone-input/.eslintrc.cjs +++ b/ember-phone-input/.eslintrc.cjs @@ -79,19 +79,6 @@ module.exports = { accessibility: 'no-public' } ], - 'no-restricted-syntax': [ - 'error', - { - selector: - ':matches(PropertyDefinition, MethodDefinition)[accessibility="private"]', - message: 'Use #private instead' - }, - { - selector: - ':matches(PropertyDefinition, MethodDefinition)[accessibility="protected"]', - message: 'Use #private instead' - } - ], '@typescript-eslint/explicit-module-boundary-types': 'error', '@typescript-eslint/member-delimiter-style': 'error', '@typescript-eslint/member-ordering': 'error', diff --git a/test-app/.eslintrc.js b/test-app/.eslintrc.js index b0043df2..369536a1 100644 --- a/test-app/.eslintrc.js +++ b/test-app/.eslintrc.js @@ -85,19 +85,6 @@ module.exports = { accessibility: 'no-public' } ], - 'no-restricted-syntax': [ - 'error', - { - selector: - ':matches(PropertyDefinition, MethodDefinition)[accessibility="private"]', - message: 'Use #private instead' - }, - { - selector: - ':matches(PropertyDefinition, MethodDefinition)[accessibility="protected"]', - message: 'Use #private instead' - } - ], '@typescript-eslint/explicit-module-boundary-types': 'error', '@typescript-eslint/member-delimiter-style': 'error', '@typescript-eslint/member-ordering': 'error',