Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,20 @@
- `no-undeclared-dependencies`: imported packages are declared in the nearest `package.json`. `devDependencies` are only allowed with the `allowDevDependencies` option, for example in tests. Type-only imports are skipped.
- `organize-imports`: imports are grouped by builtin, external, parent, sibling and index modules, then other paths like tsconfig aliases, and sorted alphabetically within each group. Side-effect imports stay in place. Fixable.
- `test-root-describe`: the root `describe` of a spec file is named after its path, without `src/`, `lib/` or `test/` and the `.spec.ts` suffix. Fixable.

## Development

Node.js, pnpm and jactionlint are pinned in [`mise.toml`](./mise.toml), so [`mise`](https://mise.jdx.dev) installs them and the dependencies with `mise install`.
Without mise, install the dependencies with `pnpm install`.

```bash
mise install
pnpm lint
pnpm test
pnpm build
jactionlint
```

- `pnpm lint-fix` fixes the formatting and the fixable lint findings.
- `pnpm build` compiles the plugin to `dist/`, which is what the package ships.
- `jactionlint` checks the GitHub workflows.
7 changes: 7 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@
jactionlint = "1.8.2"
node = "24.21.0"
pnpm = "12.11.0"

[hooks]
postinstall = "pnpm install"

[settings]
# needed for hooks
experimental = true
Loading