refactor(scripts): Fix linting errors

This commit is contained in:
Eric Fennis
2024-07-07 21:32:32 +02:00
parent 2539470978
commit 0d2c6c457e
3 changed files with 17 additions and 3 deletions
+6 -1
View File
@@ -1,5 +1,10 @@
import path from 'path';
import { getCurrentDirPath, readAllMetadata, readSvgDirectory, writeFile } from '../tools/build-helpers/helpers.mjs';
import {
getCurrentDirPath,
readAllMetadata,
readSvgDirectory,
writeFile,
} from '../tools/build-helpers/helpers.mjs';
const currentDir = getCurrentDirPath(import.meta.url);
const ICONS_DIR = path.resolve(currentDir, '../icons');
+5 -1
View File
@@ -1,5 +1,9 @@
import path from 'path';
import { readSvgDirectory, getCurrentDirPath, readAllMetadata } from '../tools/build-helpers/helpers.mjs';
import {
readSvgDirectory,
getCurrentDirPath,
readAllMetadata,
} from '../tools/build-helpers/helpers.mjs';
const currentDir = getCurrentDirPath(import.meta.url);
const ICONS_DIR = path.resolve(currentDir, '../icons');
+6 -1
View File
@@ -1,6 +1,11 @@
import path from 'path';
import categories from '../categories.json' assert { type: 'json' };
import { mergeArrays, writeFile, readAllMetadata, getCurrentDirPath } from '../tools/build-helpers/helpers.mjs';
import {
mergeArrays,
writeFile,
readAllMetadata,
getCurrentDirPath,
} from '../tools/build-helpers/helpers.mjs';
const currentDir = getCurrentDirPath(import.meta.url);
const ICONS_DIR = path.resolve(currentDir, '../icons');