Skip to content

Commit

Permalink
feat: add pkg version , fmt, lint and compiler opts on deno json config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ando committed Jun 7, 2024
1 parent c4e1f85 commit a41d5c8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions deno.json
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
}
}

0 comments on commit a41d5c8

Please sign in to comment.