Skip to content

Commit 2524283

Browse files
fix: Resolves the linting on storage issues (#7355)
* run linter * Fix remaining linting issues * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a0e6fcb commit 2524283

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

handwritten/storage/system-test/fixtures/index-cjs.js

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

15-
/* eslint-disable node/no-missing-require, no-unused-vars, no-undef */
15+
// eslint-disable-next-line no-undef
1616
const {Storage} = require('@google-cloud/storage');
1717

1818
function main() {
19+
// eslint-disable-next-line no-unused-vars
1920
const storage = new Storage();
2021
}
2122

handwritten/storage/system-test/fixtures/index-esm.js

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

15-
/* eslint-disable node/no-missing-import, no-unused-vars */
16-
import {Storage} from '@google-cloud/storage';
15+
// eslint-disable-next-line no-undef
16+
const {Storage} = require('@google-cloud/storage');
1717

1818
function main() {
19+
// eslint-disable-next-line no-unused-vars
1920
const storage = new Storage();
2021
}
2122

0 commit comments

Comments
 (0)