Skip to content

Commit

Permalink
Moved deno fmt args into config
Browse files Browse the repository at this point in the history
  • Loading branch information
CatChen committed Nov 24, 2024
1 parent 2c9cea8 commit ff32a4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- run: deno install

- run: deno fmt --check --single-quote src
- run: deno fmt --check

- run: deno lint

Expand Down
7 changes: 7 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
"compilerOptions": {
"lib": ["deno.window"]
},
"lint": {
"exclude": ["flow-typed/"]
},
"fmt": {
"singleQuote": true,
"include": ["src/"]
},
"publish": {
"include": ["package.json", "src", "README.md", "LICENSE"],
"exclude": ["src/**/__tests__"]
Expand Down

0 comments on commit ff32a4e

Please sign in to comment.