Files
radicle-explorer/desktop/eslint.config.js
T
Rūdolfs Ošiņš f79b23dde7 Share UI code through an npm workspace
Extracts the avatar components and the style tokens into shared/ui, which
both apps consume as a workspace package, to try out ADR 2. Nix and the
Docker setups are not updated yet.
2026-10-29 16:27:03 +01:00

25 lines
656 B
JavaScript

import { radicleConfig } from "@radicle-gui/ui/eslint";
export default radicleConfig({
rootDir: import.meta.dirname,
importGroups: [
// Files under @app and @lib without an extension
["^(@app\/lib).*(\.svelte$|\.ts$|\.js$){0}"],
// Files under @app and @lib ending in .svelte or svelte.ts
["^(@app\/lib).*(\.svelte$)"],
// Svelte components imported through @app
["^(@app).*(\.svelte$)"],
],
ignores: [
"build/*",
"tests/tmp/**/*",
"isolation/*",
"node_modules/**/*",
"target/*",
"target-release/*",
"crates/radicle-tauri/**/*",
"crates/radicle-types/**/*",
"eslint.config.js",
],
});