File tree 3 files changed +16
-3
lines changed
3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
- name : validate modules
1
+ name : ci
2
2
on :
3
3
push :
4
4
branches :
62
62
- jsonlint
63
63
- r2-sync
64
64
- scorecard
65
+ - shellcheck
65
66
- terraform-docs
66
67
- yamllint
67
68
steps :
Original file line number Diff line number Diff line change 2
2
3
3
![ dagger-min-version] ( https://img.shields.io/badge/dagger-v0.10.0-blue?color=3D66FF )
4
4
![ deno compatibility] ( https://shield.deno.dev/deno/^1.41 )
5
+ [ ![ validate modules] ( https://github.com/tsirysndr/daggerverse/actions/workflows/ci.yml/badge.svg )] ( https://github.com/tsirysndr/daggerverse/actions/workflows/ci.yml )
5
6
6
7
This module can be used to perform lint check on Shell Script files using [ shellcheck] ( https://github.com/koalaman/shellcheck/ )
7
8
8
- ## Usage
9
+ ## π Usage
9
10
10
11
``` sh
11
12
dagger -m github.com/tsirysndr/daggerverse/shellcheck call lint --src < source>
12
13
```
13
14
14
- ## Example
15
+ ## π§βπ¬ Example
15
16
16
17
``` sh
17
18
dagger -m github.com/tsirysndr/daggerverse/shellcheck call lint --src .
18
19
```
20
+
21
+ ## π§βπ» Programmatic usage
22
+
23
+ ``` typescript
24
+ import { lint } from ' jsr:@daggerverse/shellcheck' ;
25
+
26
+ await lint (" ." );
27
+ ```
Original file line number Diff line number Diff line change 1
1
{
2
+ "name" : " @daggerverse/shellcheck" ,
3
+ "version" : " 0.1.0" ,
4
+ "exports" : " ./mod.ts" ,
2
5
"importMap" : " import_map.json" ,
3
6
"tasks" : {
4
7
"esm:add" : " deno run -A https://esm.sh/v128 add" ,
You canβt perform that action at this time.
0 commit comments