Skip to content

Commit cd3eb2f

Browse files
committed
[shellcheck] publish to jsr
1 parent 28605ab commit cd3eb2f

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

β€Ž.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: validate modules
1+
name: ci
22
on:
33
push:
44
branches:
@@ -62,6 +62,7 @@ jobs:
6262
- jsonlint
6363
- r2-sync
6464
- scorecard
65+
- shellcheck
6566
- terraform-docs
6667
- yamllint
6768
steps:

β€Žshellcheck/README.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,26 @@
22

33
![dagger-min-version](https://img.shields.io/badge/dagger-v0.10.0-blue?color=3D66FF)
44
![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)
56

67
This module can be used to perform lint check on Shell Script files using [shellcheck](https://github.com/koalaman/shellcheck/)
78

8-
## Usage
9+
## πŸš€ Usage
910

1011
```sh
1112
dagger -m github.com/tsirysndr/daggerverse/shellcheck call lint --src <source>
1213
```
1314

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

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

β€Žshellcheck/deno.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"name": "@daggerverse/shellcheck",
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)