Skip to content

Commit 72303b8

Browse files
committed
[yamllint] update README
1 parent 1bf6f4b commit 72303b8

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

β€Žyamllint/README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,22 @@
55

66
Daggerized version of [yamllint](https://github.com/adrienverge/yamllint).
77

8-
## Usage
8+
## πŸš€ Usage
99

1010
```sh
1111
dagger -m github.com/tsirysndr/daggerverse/yamllint call lint --src <source>
1212
```
1313

14-
## Example
14+
## πŸ§‘β€πŸ”¬ Example
1515

1616
```sh
1717
dagger -m github.com/tsirysndr/daggerverse/yamllint call lint --src .
1818
```
19+
20+
## πŸ§‘β€πŸ’» Programmatic usage
21+
22+
```typescript
23+
import { lint } from 'jsr:@daggerverse/yamllint';
24+
25+
await lint(".");
26+
```

β€Žyamllint/deno.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"name": "@daggerverse/yamllint",
3+
"version": "0.1.0",
4+
"exports": "./mod.ts",
25
"importMap": "import_map.json",
36
"tasks": {
47
"esm:add": "deno run -A https://esm.sh/v128 add",

0 commit comments

Comments
Β (0)