mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-14 18:46:34 -05:00
Add back common extension linting rules (#23271)
* Add back common extension linting rules * Fix lint issues
This commit is contained in:
9
extensions/datavirtualization/.eslintrc.json
Normal file
9
extensions/datavirtualization/.eslintrc.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"parserOptions": {
|
||||
"project": "./extensions/datavirtualization/tsconfig.json",
|
||||
"createDefaultProgram": true
|
||||
},
|
||||
"rules": {
|
||||
"@typescript-eslint/explicit-function-return-type": ["off"]
|
||||
}
|
||||
}
|
||||
@@ -187,7 +187,7 @@ export class FileConfigPage extends ImportPage {
|
||||
private async populateDatabaseDropdown(): Promise<boolean> {
|
||||
let idx = -1;
|
||||
let count = -1;
|
||||
let dbNames = await this.model.allDatabases.map(dbName => {
|
||||
let dbNames = this.model.allDatabases.map(dbName => {
|
||||
count++;
|
||||
if (this.model.database && dbName === this.model.database) {
|
||||
idx = count;
|
||||
|
||||
Reference in New Issue
Block a user