-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add pkg version , fmt, lint and compiler opts on deno json config
- Loading branch information
Ando
committed
Jun 7, 2024
1 parent
c4e1f85
commit a41d5c8
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,39 @@ | ||
{ | ||
"name": "@andostronaut/cocli", | ||
"version": "0.1.7", | ||
"importMap": "./import_map.json", | ||
"tasks": { | ||
"start": "deno run -A cli.ts", | ||
"dev": "deno run -A --watch cli.ts" | ||
}, | ||
"publish": { | ||
"include": ["dist/", "README.md", "deno.json"] | ||
}, | ||
"lint": { | ||
"include": ["/"], | ||
"exclude": ["tests/"], | ||
"rules": { | ||
"tags": ["recommended"], | ||
"include": ["ban-untagged-todo"], | ||
"exclude": ["no-unused-vars"] | ||
} | ||
}, | ||
"fmt": { | ||
"useTabs": true, | ||
"lineWidth": 80, | ||
"indentWidth": 2, | ||
"semiColons": false, | ||
"singleQuote": true, | ||
"proseWrap": "preserve", | ||
"include": ["/"], | ||
"exclude": ["tests/"] | ||
}, | ||
"compilerOptions": { | ||
"strict": true, | ||
"noImplicitAny": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true | ||
} | ||
} |