Skip to content

Commit

Permalink
add foofinder
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmarinacci committed Oct 24, 2023
1 parent 9068011 commit c2fefec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ runtimes:
- [email protected]
- [email protected]
lint:
definitions:
- name: foofinder
files: [ALL]
runtime: node
commands:
- output: pass_fail
success_codes: [0, 1]
run: node ${workspace}/../trunk_plugin_tutorial/findfoo.js ${target}
read_output_from: stdout

enabled:
- [email protected]
- [email protected]
Expand All @@ -24,6 +34,7 @@ lint:
- [email protected]
- [email protected]
- [email protected]
- foofinder@SYSTEM
actions:
enabled:
- trunk-announce
Expand Down
1 change: 1 addition & 0 deletions src/foo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("this is the foo file");

0 comments on commit c2fefec

Please sign in to comment.