Skip to content

Commit 8046684

Browse files
committed
fix: eslint
1 parent 1a70060 commit 8046684

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ function load() {
55
try {
66
return require('../build/Release/mongocrypt.node');
77
} catch {
8-
console.error('Could not load the native module mongocrypt.node');
8+
// eslint-disable-next-line no-console
9+
console.log('Could not load the native module mongocrypt.node');
910
}
1011
}
1112

test/bundling/webpack/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
import { MongoCrypt } from 'mongodb-client-encryption';
22

3+
// eslint-disable-next-line no-console
34
console.log(new MongoCrypt({}));

test/bundling/webpack/webpack.config.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Generated using webpack-cli https://github.com/webpack/webpack-cli
2-
'use strict';
3-
41
const path = require('path');
52

63
const isProduction = process.env.NODE_ENV === 'production';
@@ -10,10 +7,6 @@ const config = {
107
output: {
118
path: path.resolve(__dirname, 'dist')
129
},
13-
plugins: [
14-
// Add your plugins here
15-
// Learn more about plugins from https://webpack.js.org/configuration/plugins/
16-
],
1710
experiments: { topLevelAwait: true },
1811
target: 'node',
1912
module: {
@@ -27,8 +20,6 @@ const config = {
2720
test: /\.node$/i,
2821
loader: 'node-loader'
2922
}
30-
// Add your rules for custom modules here
31-
// Learn more about loaders from https://webpack.js.org/loaders/
3223
]
3324
},
3425
resolve: {

0 commit comments

Comments
 (0)