mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 03:40:37 +08:00
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.
25 lines
656 B
JavaScript
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",
|
|
],
|
|
});
|