Skip to content

Commit

Permalink
fix lint issues, move unused commands to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Sep 16, 2024
1 parent ecee164 commit 7cc4031
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ plugins:
runtimes:
enabled:
- [email protected]
- [email protected]
- [email protected]
# - [email protected] <-- there's only a single Node.js file: echo-url-coder.js
actions:
disabled:
- trunk-announce
Expand All @@ -23,7 +23,6 @@ lint:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- git-diff-check@SYSTEM
- [email protected]
Expand All @@ -37,6 +36,7 @@ lint:
- [email protected]
- [email protected]
disabled:
- eslint # it can't find the bevry config extensions for some reason
- trivy
- oxipng # broken for some reason on my mac mini
ignore:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions commands.beta/python-regex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
# @todo make this have parity with echo-regexp.ts then rename it to echo-regexp.py and have it as a fallback if there is deno but there is python

import argparse
import re
Expand Down
1 change: 0 additions & 1 deletion commands/echo-math.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env -S deno run --quiet --no-config --no-lock --no-npm --no-remote --cached-only
// trunk-ignore-all(eslint/no-eval)
const precision = Number(Deno.args[0])
const formula = Deno.args[1]
const result = Number(eval(formula))
Expand Down

0 comments on commit 7cc4031

Please sign in to comment.