Loading .devcontainer/devcontainer.json 0 → 100644 +46 −0 Original line number Diff line number Diff line // For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node { "name": "Node.js", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18", // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, // Configure tool-specific properties. "customizations": { // Configure properties specific to VS Code. "vscode": { "settings": {}, "extensions": [ "dbaeumer.vscode-eslint" ] } }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'portsAttributes' to set default properties for specific forwarded ports. "portsAttributes": { "3000": { "label": "Hello Remote World", "onAutoForward": "notify" } }, // Use 'otherPortsAttributes' to configure any ports that aren't configured using 'portsAttributes'. // "otherPortsAttributes": { // "onAutoForward": "silent" // }, // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "npm install" // Configure tool-specific properties. // "customizations": {}, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" } .dockerignore 0 → 100644 +7 −0 Original line number Diff line number Diff line # Exclude all... * # ...except essential !.eslintrc.json !index.js !package*.json .eslintrc.json 0 → 100644 +21 −0 Original line number Diff line number Diff line { "root": true, "env": { "node": true, "es6": true }, "rules": { "no-console": 0, "eqeqeq":"warn", "no-cond-assign": 0, "no-unused-vars": 1, "no-extra-semi": "warn", "semi": "warn" }, "extends": "eslint:recommended", "parserOptions": { "ecmaFeatures": { "experimentalObjectRestSpread": true } } } .gitignore 0 → 100644 +1 −0 Original line number Diff line number Diff line /node_modules .hadolint.yaml 0 → 100644 +2 −0 Original line number Diff line number Diff line ignored: - DL3008 Loading
.devcontainer/devcontainer.json 0 → 100644 +46 −0 Original line number Diff line number Diff line // For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node { "name": "Node.js", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18", // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, // Configure tool-specific properties. "customizations": { // Configure properties specific to VS Code. "vscode": { "settings": {}, "extensions": [ "dbaeumer.vscode-eslint" ] } }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'portsAttributes' to set default properties for specific forwarded ports. "portsAttributes": { "3000": { "label": "Hello Remote World", "onAutoForward": "notify" } }, // Use 'otherPortsAttributes' to configure any ports that aren't configured using 'portsAttributes'. // "otherPortsAttributes": { // "onAutoForward": "silent" // }, // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "npm install" // Configure tool-specific properties. // "customizations": {}, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" }
.dockerignore 0 → 100644 +7 −0 Original line number Diff line number Diff line # Exclude all... * # ...except essential !.eslintrc.json !index.js !package*.json
.eslintrc.json 0 → 100644 +21 −0 Original line number Diff line number Diff line { "root": true, "env": { "node": true, "es6": true }, "rules": { "no-console": 0, "eqeqeq":"warn", "no-cond-assign": 0, "no-unused-vars": 1, "no-extra-semi": "warn", "semi": "warn" }, "extends": "eslint:recommended", "parserOptions": { "ecmaFeatures": { "experimentalObjectRestSpread": true } } }