| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 0 | 0 | — |
| Commands | 0 | 0 | 0 | — |
| Section tags | 1 | 0 | 0 | 100% |
What each file covers
Sections
neither file has anyCommands
neither file has anySection tags
1 shared · 0 only in A · 0 only in B- code-style
Line diff
aviemet/inventory · .cursor/rules/styles.mdc
@@ −1 @@
1---
2description:
3globs: *.tsx,*.css.ts
4alwaysApply: false
5---
6- DO NOT USE TAILWIND.
7- I repeat: DO NOT USE TAILWIND!
8- This project uses Mantine as a component library.
9- CSS is written using CSS modules with Linaria. CSS is written in separate files with a `css.ts` extension.
10- CSS is imported into React components using `import * as classes from (filename).css`. It should always be accompanied by `import cx from clsx` and referencing classes should always use `cx`.
11- Mantine CSS variables are exported using Mantine's `themeToVars` which converts the base Mantine theme object into CSS variables. This list of mantine css vars is available at `app/frontent/lib`, which is aliased as `@/lib`.
12- Each css.ts file starts with the following imports:
13 `import { css } from "@linaria/core"`
14 `import { vars } from "@/lib"`
15- Styles in css.ts files are built using the `css` function from linaria with string template literals.
16
aviemet/inventory · .cursor/rules/rspec.mdc
@@ +1 @@
1---
2description:
3globs: *_spec.rb
4alwaysApply: false
5---
6Avoid using `let` when setting up tests. Prefer setting up state and context in each test rather than introducing indirection by using `let`.
7
8In request specs, when testing inertia related responses and props, use the inertia rspec helpers.
9
@@ −1 +1 @@
11 ---
22 description:
3−globs: *.tsx,*.css.ts
3+globs: *_spec.rb
44 alwaysApply: false
55 ---
6−- DO NOT USE TAILWIND.
7−- I repeat: DO NOT USE TAILWIND!
8−- This project uses Mantine as a component library.
9−- CSS is written using CSS modules with Linaria. CSS is written in separate files with a `css.ts` extension.
10−- CSS is imported into React components using `import * as classes from (filename).css`. It should always be accompanied by `import cx from clsx` and referencing classes should always use `cx`.
11−- Mantine CSS variables are exported using Mantine's `themeToVars` which converts the base Mantine theme object into CSS variables. This list of mantine css vars is available at `app/frontent/lib`, which is aliased as `@/lib`.
12−- Each css.ts file starts with the following imports:
13− `import { css } from "@linaria/core"`
14− `import { vars } from "@/lib"`
15−- Styles in css.ts files are built using the `css` function from linaria with string template literals.
6+Avoid using `let` when setting up tests. Prefer setting up state and context in each test rather than introducing indirection by using `let`.
7+
8+In request specs, when testing inertia related responses and props, use the inertia rspec helpers.
169
