addresses lint warnings
This commit is contained in:
parent
6a94aada19
commit
690f1a6ae6
|
@ -16,7 +16,7 @@ export async function jsonFromCsvString(csvString: string) {
|
||||||
ignoreEmpty: false,
|
ignoreEmpty: false,
|
||||||
delimiter: possibleDelimeters[i],
|
delimiter: possibleDelimeters[i],
|
||||||
}).fromString(csvString)
|
}).fromString(csvString)
|
||||||
for (const [i, r] of result.entries()) {
|
for (const [, r] of result.entries()) {
|
||||||
// The purpose of this is to find rows that have been split
|
// The purpose of this is to find rows that have been split
|
||||||
// into the wrong number of columns - Any valid .CSV file will have
|
// into the wrong number of columns - Any valid .CSV file will have
|
||||||
// the same number of colums in each row
|
// the same number of colums in each row
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import { delimiter } from "path"
|
|
||||||
import { jsonFromCsvString } from "../csv"
|
import { jsonFromCsvString } from "../csv"
|
||||||
|
|
||||||
describe("csv", () => {
|
describe("csv", () => {
|
||||||
|
|
Loading…
Reference in New Issue