Skip to content
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.

Commit

Permalink
chore: Synced local '.eslintrc.json' with remote 'sync-files/js/.esli…
Browse files Browse the repository at this point in the history
…ntrc.json' (#299)
  • Loading branch information
jpoehnelt committed Sep 30, 2021
1 parent 8c19dbf commit 634bb0f
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,31 @@
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/ban-types": 1,
"@typescript-eslint/no-empty-function": 1,
// disable the rule for all files
"@typescript-eslint/explicit-member-accessibility": "off"
},
"@typescript-eslint/member-ordering": 1,
// disable the rule for all files
"@typescript-eslint/explicit-member-accessibility": "off"
},
"overrides": [
{
// enable the rule specifically for TypeScript files
"files": ["*.ts", "*.tsx"],
"rules": {
"@typescript-eslint/explicit-member-accessibility": [
1, {
// enable the rule specifically for TypeScript files
"files": ["*.ts", "*.tsx"],
"rules": {
"@typescript-eslint/explicit-member-accessibility": [
1,
{
"accessibility": "explicit",
"overrides": {
"accessors": "explicit",
"constructors": "no-public",
"methods": "explicit",
"properties": "explicit",
"parameterProperties": "explicit"
}}]
}
}],
}
}
]
}
}
],
"env": {
"browser": true,
"node": true,
Expand Down

0 comments on commit 634bb0f

Please sign in to comment.