mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-14 13:58:21 +00:00
refactor(scripts): Fix linting errors
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user