Beautiful
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor(scripts): Fix linting errors

+17 -3
+6 -1
scripts/addMissingIconJsonFiles.mjs
··· 1 1 import path from 'path'; 2 - import { getCurrentDirPath, readAllMetadata, readSvgDirectory, writeFile } from '../tools/build-helpers/helpers.mjs'; 2 + import { 3 + getCurrentDirPath, 4 + readAllMetadata, 5 + readSvgDirectory, 6 + writeFile, 7 + } from '../tools/build-helpers/helpers.mjs'; 3 8 4 9 const currentDir = getCurrentDirPath(import.meta.url); 5 10 const ICONS_DIR = path.resolve(currentDir, '../icons');
+5 -1
scripts/checkIconsAndCategories.mjs
··· 1 1 import path from 'path'; 2 - import { readSvgDirectory, getCurrentDirPath, readAllMetadata } from '../tools/build-helpers/helpers.mjs'; 2 + import { 3 + readSvgDirectory, 4 + getCurrentDirPath, 5 + readAllMetadata, 6 + } from '../tools/build-helpers/helpers.mjs'; 3 7 4 8 const currentDir = getCurrentDirPath(import.meta.url); 5 9 const ICONS_DIR = path.resolve(currentDir, '../icons');
+6 -1
scripts/migrateCategoriesToIcons.mjs
··· 1 1 import path from 'path'; 2 2 import categories from '../categories.json' assert { type: 'json' }; 3 - import { mergeArrays, writeFile, readAllMetadata, getCurrentDirPath } from '../tools/build-helpers/helpers.mjs'; 3 + import { 4 + mergeArrays, 5 + writeFile, 6 + readAllMetadata, 7 + getCurrentDirPath, 8 + } from '../tools/build-helpers/helpers.mjs'; 4 9 5 10 const currentDir = getCurrentDirPath(import.meta.url); 6 11 const ICONS_DIR = path.resolve(currentDir, '../icons');