|
|
@ -16,16 +16,18 @@ |
|
|
|
"@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, |
|
|
|
// disable the rule for all files |
|
|
|
"@typescript-eslint/member-ordering": 1, |
|
|
|
"@typescript-eslint/explicit-member-accessibility": "off" |
|
|
|
// disable the rule for all files |
|
|
|
}, |
|
|
|
"@typescript-eslint/explicit-member-accessibility": "off" |
|
|
|
|
|
|
|
}, |
|
|
|
"overrides": [ |
|
|
|
"overrides": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
// enable the rule specifically for TypeScript files |
|
|
|
// enable the rule specifically for TypeScript files |
|
|
|
"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, |
|
|
|