Skip to content

Commit 26f9ca6

Browse files
committed
more lint fixes
1 parent fe35045 commit 26f9ca6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ module.exports = {
2626
extends: ['eslint:recommended', 'plugin:import/recommended'],
2727
env: {
2828
browser: true,
29-
node: true
29+
node: true,
30+
es6: true
3031
},
3132
rules: {
3233
'@labset-eslint/license-notice': [

cli/bin/sftp-client

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env node
22

3+
const { Command } = require('commander');
34
const SftpClient = require('ssh2-sftp-client');
4-
const Command = require('commander').Command;
55

66
const { envConfig } = require('../lib/env-config');
77

cli/lib/axios-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
const Command = require('commander').Command;
1716
const axios = require('axios');
17+
const { Command } = require('commander');
1818

1919
const paramRegex = /(?<key>[a-zA-Z)_]+)=(?<value>.*)/;
2020

0 commit comments

Comments
 (0)