Skip to content

Commit 41b946d

Browse files
authored
Add eslint/prettier and fix linter warnings (#20)
* Add eslint and prettier * Fix linter warnings * Use node-fetch and streams * Update command description Signed-off-by: Ryan Zegray <[email protected]>
1 parent bb1fbbe commit 41b946d

File tree

13 files changed

+1396
-463
lines changed

13 files changed

+1396
-463
lines changed

.eslintrc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": ["@typescript-eslint", "prettier"],
5+
"extends": [
6+
"eslint:recommended",
7+
"plugin:@typescript-eslint/recommended",
8+
"prettier/@typescript-eslint",
9+
"plugin:prettier/recommended"
10+
],
11+
"rules": {
12+
"@typescript-eslint/semi": "warn",
13+
"eqeqeq": [
14+
"warn",
15+
"always",
16+
{
17+
"null": "ignore"
18+
}
19+
],
20+
"@typescript-eslint/no-use-before-define": 0,
21+
"@typescript-eslint/no-explicit-any": 0,
22+
"quotes": [
23+
"error",
24+
"double",
25+
{
26+
"avoidEscape": true
27+
}
28+
]
29+
},
30+
"env": {
31+
"node": true,
32+
"mocha": true,
33+
"es6": true
34+
},
35+
"ignorePatterns": ["node_modules", "out"]
36+
}

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": false,
3+
"printWidth": 100,
4+
"trailingComma": "es5"
5+
}

.vscode/extensions.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# VS Code MicroProfile Starter Extension
22

3+
[![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/MicroProfile-Community.mp-starter-vscode-ext.svg "Current Release")](https://marketplace.visualstudio.com/items?itemName=MicroProfile-Community.mp-starter-vscode-ext)
4+
35
The MicroProfile Starter extension provides support for generating a MicroProfile Maven project with examples based on the Eclipse MicroProfile Starter project (https://start.microprofile.io/) by the MicroProfile community. You will be able to generate a project by choosing a MicroProfile version, server and specifications, such as CDI, Config, Health Check, Metrics, and more. This extension is hosted under the MicroShed organization.
46

57
## Quick Start

0 commit comments

Comments
 (0)