Skip to content

Commit 02da762

Browse files
committed
more lint fixes
1 parent 26f9ca6 commit 02da762

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
module.exports = {
1717
root: true,
1818
parserOptions: {
19-
ecmaVersion: 2018,
19+
ecmaVersion: 2020,
2020
sourceType: 'module',
2121
ecmaFeatures: {
2222
modules: true

cli/bin/csvgen

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

3-
const { Command } = require("commander");
43
const Chance = require("chance");
4+
const { Command } = require("commander");
55

66
const program = new Command();
77
const chance = new Chance();
@@ -64,7 +64,7 @@ program
6464

6565
for (let index = 0; index < count; index++) {
6666
const info = [];
67-
headers.forEach((header) => {
67+
headers.forEach(() => {
6868
const data = chance.guid();
6969
info.push(data);
7070
});

0 commit comments

Comments
 (0)