Skip to content

Commit 8ff957b

Browse files
committed
Eureka
1 parent 0191a3d commit 8ff957b

38 files changed

+2267
-11258
lines changed

.devcontainer/Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM node:16-slim
2+
# WORKDIR /app
3+
# COPY . /app
4+
# RUN npm install
5+
# EXPOSE 3000
6+
# CMD ["node", "index.js"]
7+
8+
# # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.227.0/containers/javascript-node/.devcontainer/base.Dockerfile
9+
10+
# # [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 12, 16-bullseye, 14-bullseye, 12-bullseye, 16-buster, 14-buster, 12-buster
11+
# ARG VARIANT="16-bullseye"
12+
# FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
13+
14+
# # [Optional] Uncomment this section to install additional OS packages.
15+
# # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
16+
# # && apt-get -y install --no-install-recommends <your-package-list-here>
17+
18+
# # [Optional] Uncomment if you want to install an additional version of node using nvm
19+
# # ARG EXTRA_NODE_VERSION=10
20+
# # RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
21+
22+
# # [Optional] Uncomment if you want to install more global node modules
23+
# # RUN su node -c "npm install -g <your-package-list-here>"

.devcontainer/devcontainer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.227.0/containers/javascript-node
3+
{
4+
"name": "Node.js",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
8+
// Append -bullseye or -buster to pin to an OS version.
9+
// Use -bullseye variants on local arm64/Apple Silicon.
10+
// "args": { "VARIANT": "16" }
11+
},
12+
13+
// Set *default* container specific settings.json values on container create.
14+
"settings": {},
15+
16+
// Add the IDs of extensions you want installed when the container is created.
17+
"extensions": [
18+
"dbaeumer.vscode-eslint"
19+
],
20+
21+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
22+
// "forwardPorts": [],
23+
24+
// Use 'postCreateCommand' to run commands after the container is created.
25+
// "postCreateCommand": "yarn install",
26+
27+
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
28+
"remoteUser": "node"
29+
}

.eslintrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"ts-ignore": "allow-with-description"
2323
}
2424
],
25-
"@typescript-eslint/explicit-module-boundary-types": "error",
25+
"consistent-return": "off",
26+
"@typescript-eslint/explicit-module-boundary-types": "off",
2627
"no-bitwise": "off",
2728
"no-dupe-class-members": "off",
2829
"@typescript-eslint/no-dupe-class-members": "error",
@@ -51,7 +52,7 @@
5152
"@typescript-eslint/no-var-requires": "off",
5253

5354
// Other rules
54-
"class-methods-use-this": ["error", {"exceptMethods": ["dispose"]}],
55+
"class-methods-use-this": ["error", { "exceptMethods": ["dispose"] }],
5556
"func-names": "off",
5657
"import/extensions": "off",
5758
"import/namespace": "off",

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"obj": true,
99
"bin": true,
1010
"**/__pycache__": true,
11-
"**/node_modules": true,
11+
"**/node_modules": false,
1212
".vscode-test": false,
1313
".vscode test": false,
1414
"**/.mypy_cache/**": true
@@ -26,7 +26,7 @@
2626
"editor.formatOnSave": true
2727
},
2828
"[typescript]": {
29-
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint",
29+
"editor.defaultFormatter": "vscode.typescript-language-features",
3030
"editor.formatOnSave": true
3131
},
3232
"[javascript]": {

0 commit comments

Comments
 (0)