Skip to content

Commit

Permalink
[shellcheck] publish to jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Mar 3, 2024
1 parent 28605ab commit cd3eb2f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: validate modules
name: ci
on:
push:
branches:
Expand Down Expand Up @@ -62,6 +62,7 @@ jobs:
- jsonlint
- r2-sync
- scorecard
- shellcheck
- terraform-docs
- yamllint
steps:
Expand Down
13 changes: 11 additions & 2 deletions shellcheck/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,26 @@

![dagger-min-version](https://img.shields.io/badge/dagger-v0.10.0-blue?color=3D66FF)
![deno compatibility](https://shield.deno.dev/deno/^1.41)
[![validate modules](https://github.com/tsirysndr/daggerverse/actions/workflows/ci.yml/badge.svg)](https://github.com/tsirysndr/daggerverse/actions/workflows/ci.yml)

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

## Usage
## πŸš€ Usage

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

## Example
## πŸ§‘β€πŸ”¬ Example

```sh
dagger -m github.com/tsirysndr/daggerverse/shellcheck call lint --src .
```

## πŸ§‘β€πŸ’» Programmatic usage

```typescript
import { lint } from 'jsr:@daggerverse/shellcheck';

await lint(".");
```
3 changes: 3 additions & 0 deletions shellcheck/deno.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"name": "@daggerverse/shellcheck",
"version": "0.1.0",
"exports": "./mod.ts",
"importMap": "import_map.json",
"tasks": {
"esm:add": "deno run -A https://esm.sh/v128 add",
Expand Down

0 comments on commit cd3eb2f

Please sign in to comment.