Skip to content

Commit d74c7b3

Browse files
committed
Initial commit
0 parents  commit d74c7b3

35 files changed

+28274
-0
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
trim_trailing_whitespace = true
6+
indent_size = 2

.eslintrc.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
7+
},
8+
"plugins": [
9+
"@typescript-eslint",
10+
"prettier"
11+
],
12+
"extends": [
13+
"eslint:recommended",
14+
"plugin:@typescript-eslint/recommended",
15+
"plugin:import/recommended",
16+
"plugin:import/typescript",
17+
"plugin:md/prettier",
18+
"prettier"
19+
],
20+
"overrides": [{
21+
"files": ["*.md"],
22+
"parser": "markdown-eslint-parser"
23+
}],
24+
"rules": {
25+
"curly": "error",
26+
"eqeqeq": "error",
27+
"no-throw-literal": "error",
28+
"no-console": "error",
29+
"prettier/prettier": "error",
30+
"import/order": ["error", {
31+
"alphabetize": {
32+
"order": "asc"
33+
},
34+
"groups": [["builtin", "external", "internal"], "parent", "sibling"]
35+
}],
36+
"import/no-unresolved": ["error", {
37+
"ignore": ["vscode"]
38+
}]
39+
},
40+
"ignorePatterns": [
41+
"out",
42+
"dist",
43+
"**/*.d.ts"
44+
]
45+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/ci.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
pull_request:
9+
10+
workflow_dispatch:
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-22.04
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- uses: actions/setup-node@v2
20+
with:
21+
node-version: '16'
22+
23+
- run: yarn
24+
25+
- run: yarn lint

.github/workflows/release.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
on:
2+
push:
3+
tags:
4+
- "v*"
5+
6+
name: release
7+
8+
permissions:
9+
# Required to publish a release
10+
contents: write
11+
12+
jobs:
13+
package:
14+
runs-on: ubuntu-22.04
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- uses: actions/setup-node@v2
19+
with:
20+
node-version: '16'
21+
22+
- run: yarn
23+
24+
- run: npx vsce package
25+
26+
- uses: "marvinpinto/action-automatic-releases@latest"
27+
with:
28+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
29+
prerelease: false
30+
files: |
31+
*.vsix

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/dist/
2+
/node_modules/
3+
/out/
4+
/.vscode-test/
5+
/.nyc_output/
6+
/coverage/
7+
*.vsix

.prettierrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"printWidth": 120,
3+
"semi": false,
4+
"trailingComma": "all",
5+
"overrides": [
6+
{
7+
"files": [
8+
"./README.md"
9+
],
10+
"options": {
11+
"printWidth": 80,
12+
"proseWrap": "always"
13+
}
14+
}
15+
]
16+
}

.vscode/launch.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run Extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"args": [
9+
"--extensionDevelopmentPath=${workspaceFolder}"
10+
],
11+
"outFiles": [
12+
"${workspaceFolder}/dist/**/*.js"
13+
]
14+
},
15+
{
16+
"name": "Extension Tests",
17+
"type": "extensionHost",
18+
"request": "launch",
19+
"args": [
20+
"--disable-extensions",
21+
"--extensionDevelopmentPath=${workspaceFolder}",
22+
"--extensionTestsPath=${workspaceFolder}/out/test/runner"
23+
],
24+
"outFiles": [
25+
"${workspaceFolder}/out/**/*.test.js"
26+
],
27+
"preLaunchTask": "tsc: build"
28+
}
29+
]
30+
}

.vscode/tasks.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "typescript",
6+
"tsconfig": "tsconfig.json",
7+
"problemMatcher": [
8+
"$tsc"
9+
],
10+
"group": "build",
11+
"label": "tsc: build"
12+
}
13+
]
14+
}

.vscodeignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.vscode/**
2+
.vscode-test/**
3+
.nyc_output/**
4+
coverage/**
5+
out/**
6+
src/**
7+
.gitignore
8+
node_modules/**
9+
**/tsconfig.json
10+
**/.eslintrc.json
11+
**/.editorconfig
12+
**/*.map
13+
**/*.ts

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy