Skip to content

Commit db11f7c

Browse files
authored
chore: fix no-empty lint rule (#2051)
1 parent d0a5248 commit db11f7c

File tree

13 files changed

+45
-24
lines changed

13 files changed

+45
-24
lines changed

appengine/storage/flexible/system-test/.eslintrc.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

appengine/storage/flexible/system-test/app.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ after(async () => {
4646
try {
4747
await bucket.deleteFiles();
4848
await bucket.delete();
49-
} catch (err) {} // ignore error
49+
} catch (err) {
50+
// ignore error
51+
}
5052
});
5153

5254
describe('gae_flex_storage_app', () => {

appengine/storage/standard/system-test/.eslintrc.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

appengine/storage/standard/system-test/app.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ after(async () => {
4242
try {
4343
await bucket.deleteFiles();
4444
await bucket.delete();
45-
} catch (err) {} // ignore error
45+
} catch (err) {
46+
// ignore error
47+
}
4648
});
4749

4850
describe('gae_storage_app', () => {

healthcare/.eslintrc.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
22
rules:
33
node/no-unsupported-features/es-syntax: off
4-
no-empty: off
54

healthcare/datasets/system-test/datasets.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ after(() => {
3939
execSync(
4040
`node deleteDataset.js ${projectId} ${cloudRegion} ${destinationDatasetId}`
4141
);
42-
// eslint-disable-next-line no-empty
43-
} catch (err) {} // Ignore error
42+
} catch (err) {
43+
// Ignore error
44+
}
4445
});
4546

4647
it('should create a dataset', () => {

healthcare/dicom/system-test/dicom_stores.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ after(async () => {
8383
execSync(`node deleteDataset.js ${projectId} ${cloudRegion} ${datasetId}`, {
8484
cwd: cwdDatasets,
8585
});
86-
} catch (err) {} // Ignore error
86+
} catch (err) {
87+
// ignore error
88+
}
8789
});
8890

8991
it('should create a DICOM store', () => {

healthcare/dicom/system-test/dicomweb.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ after(() => {
7474
execSync(`node deleteDataset.js ${projectId} ${cloudRegion} ${datasetId}`, {
7575
cwd: cwdDatasets,
7676
});
77-
} catch (err) {} // Ignore error
77+
} catch (err) {
78+
// ignore error
79+
}
7880
});
7981

8082
it('should store a DICOM instance', () => {

healthcare/fhir/system-test/fhir_resources.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ after(() => {
6060
execSync(`node deleteDataset.js ${projectId} ${cloudRegion} ${datasetId}`, {
6161
cwd: cwdDatasets,
6262
});
63-
} catch (err) {} // Ignore error
63+
} catch (err) {
64+
// ignore error
65+
}
6466
});
6567

6668
it('should create a FHIR resource', () => {

healthcare/fhir/system-test/fhir_stores.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ after(async () => {
8787
execSync(`node deleteDataset.js ${projectId} ${cloudRegion} ${datasetId}`, {
8888
cwd: cwdDatasets,
8989
});
90-
} catch (err) {} // Ignore error
90+
} catch (err) {
91+
// ignore error
92+
}
9193
});
9294

9395
it('should create a FHIR store', () => {

0 commit comments

Comments
 (0)