|
|
|
@ -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, |
|
|
|
|