Browse Source

chore: Synced local '.eslintrc.json' with remote 'sync-files/js/.eslintrc.json' (#312)

main
Justin Poehnelt 3 years ago committed by GitHub
parent
commit
af81844251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 27
      .eslintrc.json

27
.eslintrc.json

@ -16,16 +16,18 @@ @@ -16,16 +16,18 @@
"@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",
@ -33,9 +35,12 @@ @@ -33,9 +35,12 @@
"methods": "explicit",
"properties": "explicit",
"parameterProperties": "explicit"
}}]
}
}],
}
}
]
}
}
],
"env": {
"browser": true,
"node": true,

Loading…
Cancel
Save