Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ts-lint): allow use of private and protected syntax for classes in .ts files #458

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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