Skip to content

Commit 53ea87a

Browse files
committed
Update devcontainer test
1 parent 427469d commit 53ea87a

10 files changed

+16051
-2113
lines changed

Diff for: .devcontainer.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"name": "Swiss Army Knife Development",
3+
4+
// Open the sub-folder with the source code
5+
"workspaceFolder": "/workspaces/swiss-army-knife-card",
6+
7+
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
8+
"remoteUser": "vscode",
9+
"appPort": ["6000:6000", "9123:8123"],
10+
// "postCreateCommand": "yarn install && sudo container install",
11+
// "runArgs": ["-v", "${localWorkspaceFolder}/.devcontainer/www:/config/www"],
12+
"customizations/vscode/extensions": [
13+
"github.vscode-pull-request-github",
14+
"eamodio.gitlens",
15+
"dbaeumer.vscode-eslint",
16+
"esbenp.prettier-vscode",
17+
"bierner.lit-html",
18+
"runem.lit-plugin",
19+
"davidanson.vscode-markdownlint",
20+
"redhat.vscode-yaml",
21+
"msjsdiag.debugger-for-chrome",
22+
"yzhang.markdown-all-in-one"
23+
],
24+
"customizations/vscode/settings": {
25+
"files.eol": "\n",
26+
"editor.tabSize": 2,
27+
"terminal.integrated.shell.linux": "/bin/bash",
28+
"editor.formatOnPaste": false,
29+
"editor.formatOnSave": true,
30+
"editor.formatOnType": true,
31+
"files.trimTrailingWhitespace": true,
32+
"editor.defaultFormatter": "esbenp.prettier-vscode",
33+
"markdown.extension.toc.githubCompatibility": true,
34+
"files.watcherExclude": {
35+
"**/.git/objects/**": true,
36+
"**/.git/subtree-cache/**": true,
37+
"**/node_modules/**": true,
38+
"**/.hg/store/**": true,
39+
"**/.rpt2_cache/**": true
40+
}
41+
}
42+
}

Diff for: .eslintrc.yaml

+45
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
extends: airbnb-base
2+
parserOptions:
3+
ecmaVersion: 2020
4+
sourceType: module
25
rules:
36
no-else-return: 0
47
no-underscore-dangle: 0
@@ -10,6 +13,48 @@ rules:
1013
class-methods-use-this: 0
1114
no-nested-ternary: 0
1215
camelcase: 0
16+
# Added for convenience to check eslint...
17+
max-len: 0
18+
no-console: 0
19+
no-plusplus: 0
20+
eqeqeq: 0
21+
no-irregular-whitespace: 0
22+
no-restricted-globals: 0
23+
no-undef: 0
24+
no-unused-vars: 0
25+
no-use-before-define: 0
26+
no-multi-assign: 0
27+
no-case-declarations: 0
28+
no-inner-declarations: 0
29+
array-callback-return: 0
30+
block-scoped-var: 0
31+
max-classes-per-file: 0
32+
no-new-func: 0
33+
no-bitwise: 0
34+
no-prototype-builtins: 0
35+
no-var: 0
36+
vars-on-top: 0
37+
no-constant-condition: 0
38+
no-empty: 0
39+
default-case: 0
40+
default-case-last: 0
41+
prefer-const: 0
42+
no-redeclare: 0
43+
no-setter-return: 0
44+
brace-style: 0
45+
no-lonely-if: 0
46+
operator-assignment: 0
47+
no-shadow: 0
48+
func-names: 0
49+
no-sequences: 0
50+
prefer-destructuring: 0
51+
no-restricted-syntax: 0
52+
no-unused-expressions: 0
53+
no-loop-func: 0
54+
no-useless-escape: 0
55+
import/no-unresolved: 0
56+
no-template-curly-in-string: 0
57+
import/extensions: 0
1358
globals:
1459
window: true
1560
Event: true

0 commit comments

Comments
 (0)