This repository has been archived on 2025-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
LoredMarkdown/eslint.config.js
Guz013 42f4091087 feat(banners-lib): read svg files without node:fs
Added to the SVG converting script a line to create .svg.js files.
These files are normal JS files that exports just a single string,
the SVG file content. This way the library doesn't need a build
step to embed these files and/or node:fs to read them.
2023-11-29 16:33:24 -03:00

12 lines
266 B
JavaScript

import { configs, defineConfig, presets } from '@eslegant/js';
export default defineConfig([
{
ignores: ['**/*.svg.js'],
},
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
...presets.strict,
configs.environments.node.strict.default,
]);