Skip to content

Commit c026ae7

Browse files
authored
chore: delete no-warning-comments eslint rule (#2044)
See #2030
1 parent ae732d9 commit c026ae7

File tree

66 files changed

+6
-135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+6
-135
lines changed

datacatalog/cloud-client/createEntryGroup.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable no-warning-comments */
2-
31
// Copyright 2019 Google LLC
42
//
53
// Licensed under the Apache License, Version 2.0 (the "License");

datacatalog/cloud-client/createFilesetEntry.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable no-warning-comments */
2-
31
// Copyright 2019 Google LLC
42
//
53
// Licensed under the Apache License, Version 2.0 (the "License");

datacatalog/cloud-client/lookupEntry.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable no-warning-comments */
2-
31
// Copyright 2019 Google LLC
42
//
53
// Licensed under the Apache License, Version 2.0 (the "License");

datacatalog/quickstart/createFilesetEntry.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable no-warning-comments */
2-
31
// Copyright 2019 Google LLC
42
//
53
// Licensed under the Apache License, Version 2.0 (the "License");

datacatalog/quickstart/deleteFilesetEntry.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable no-warning-comments */
2-
31
// Copyright 2019 Google LLC
42
//
53
// Licensed under the Apache License, Version 2.0 (the "License");

datastore/functions/test/.eslintrc.yml

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

functions/billing/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
/* eslint-disable no-warning-comments */
16-
1715
// [START functions_billing_limit]
1816
// [START functions_billing_stop]
1917
const {google} = require('googleapis');

functions/helloworld/.eslintrc.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
22
rules:
3-
no-warning-comments: off
43
no-unused-vars: off
54

functions/http/.eslintrc.yml

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

functions/http/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ exports.uploadFile = (req, res) => {
135135

136136
// This code will process each non-file field in the form.
137137
busboy.on('field', (fieldname, val) => {
138-
// TODO(developer): Process submitted field values here
138+
/**
139+
* TODO(developer): Process submitted field values here
140+
*/
139141
console.log(`Processed field ${fieldname}: ${val}.`);
140142
fields[fieldname] = val;
141143
});
@@ -172,7 +174,9 @@ exports.uploadFile = (req, res) => {
172174
busboy.on('finish', async () => {
173175
await Promise.all(fileWrites);
174176

175-
// TODO(developer): Process saved files here
177+
/**
178+
* TODO(developer): Process saved files here
179+
*/
176180
for (const file in uploads) {
177181
fs.unlinkSync(uploads[file]);
178182
}

0 commit comments

Comments
 (0)