Skip to content

Commit

Permalink
feat(ts-lint): allow use of private and protected syntax in .ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
vscav committed Oct 20, 2023
1 parent 383d8f8 commit 8a724e7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
13 changes: 0 additions & 13 deletions ember-autofocus-modifier/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,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",
Expand Down
13 changes: 0 additions & 13 deletions test-app/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,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',
Expand Down

0 comments on commit 8a724e7

Please sign in to comment.