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. 11
      .eslintrc.json

11
.eslintrc.json

@ -16,6 +16,7 @@
"@typescript-eslint/ban-ts-comment": 0, "@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/ban-types": 1, "@typescript-eslint/ban-types": 1,
"@typescript-eslint/no-empty-function": 1, "@typescript-eslint/no-empty-function": 1,
"@typescript-eslint/member-ordering": 1,
// disable the rule for all files // disable the rule for all files
"@typescript-eslint/explicit-member-accessibility": "off" "@typescript-eslint/explicit-member-accessibility": "off"
}, },
@ -25,7 +26,8 @@
"files": ["*.ts", "*.tsx"], "files": ["*.ts", "*.tsx"],
"rules": { "rules": {
"@typescript-eslint/explicit-member-accessibility": [ "@typescript-eslint/explicit-member-accessibility": [
1, { 1,
{
"accessibility": "explicit", "accessibility": "explicit",
"overrides": { "overrides": {
"accessors": "explicit", "accessors": "explicit",
@ -33,9 +35,12 @@
"methods": "explicit", "methods": "explicit",
"properties": "explicit", "properties": "explicit",
"parameterProperties": "explicit" "parameterProperties": "explicit"
}}]
} }
}], }
]
}
}
],
"env": { "env": {
"browser": true, "browser": true,
"node": true, "node": true,

Loading…
Cancel
Save