Skip to content

Commit 553ff26

Browse files
authored
Remove unused files (#146)
* Remove unused files * update * update * update
1 parent 38a22e8 commit 553ff26

32 files changed

+32
-1462
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/typescript-node/.devcontainer/base.Dockerfile
22

33
# [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
4-
ARG VARIANT="14"
4+
ARG VARIANT="16"
55
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
66

77
# [Optional] Uncomment this section to install additional OS packages.

.devcontainer/devcontainer.json

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,29 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
22
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/typescript-node
33
{
4-
"name": "Node.js & TypeScript",
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 on arm64/Apple Silicon.
10-
"args": {
11-
"VARIANT": "14"
12-
}
13-
},
4+
"name": "Node.js & TypeScript",
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 on arm64/Apple Silicon.
10+
"args": {
11+
"VARIANT": "16"
12+
}
13+
},
1414

15-
// Set *default* container specific settings.json values on container create.
16-
"settings": {},
15+
// Set *default* container specific settings.json values on container create.
16+
"settings": {},
1717

18+
// Add the IDs of extensions you want installed when the container is created.
19+
"extensions": ["dbaeumer.vscode-eslint"],
1820

19-
// Add the IDs of extensions you want installed when the container is created.
20-
"extensions": [
21-
"dbaeumer.vscode-eslint"
22-
],
21+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
22+
// "forwardPorts": [],
2323

24-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
25-
// "forwardPorts": [],
24+
// Use 'postCreateCommand' to run commands after the container is created.
25+
"postCreateCommand": "npm install",
2626

27-
// Use 'postCreateCommand' to run commands after the container is created.
28-
// "postCreateCommand": "yarn install",
29-
30-
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
31-
"remoteUser": "node"
32-
}
27+
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
28+
"remoteUser": "node"
29+
}

.eslintignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/.nyc_output
22
/coverage
33
/lib
4-
!/docs/.vuepress
5-
/docs/.vuepress/dist
64
/node_modules
75
!/.vscode
86
!/.github

.eslintrc.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module.exports = {
1313
"plugin:@ota-meshi/+node",
1414
"plugin:@ota-meshi/+typescript",
1515
"plugin:@ota-meshi/+eslint-plugin",
16-
"plugin:@ota-meshi/+vue2",
1716
"plugin:@ota-meshi/+package-json",
1817
"plugin:@ota-meshi/+json",
1918
"plugin:@ota-meshi/+yaml",
@@ -112,27 +111,5 @@ module.exports = {
112111
"no-console": "off",
113112
},
114113
},
115-
{
116-
files: ["*.vue"],
117-
parserOptions: {
118-
sourceType: "module",
119-
},
120-
globals: {
121-
require: true,
122-
},
123-
},
124-
{
125-
files: ["docs/.vuepress/**"],
126-
parserOptions: {
127-
sourceType: "module",
128-
ecmaVersion: 2020,
129-
},
130-
globals: {
131-
window: true,
132-
},
133-
rules: {
134-
"require-jsdoc": "off",
135-
},
136-
},
137114
],
138115
}

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ dist
8888
# https://nextjs.org/blog/next-9-1#public-directory-support
8989
# public
9090

91-
# vuepress build output
92-
.vuepress/dist
93-
9491
# Serverless directories
9592
.serverless/
9693

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"eslint.validate": [
33
"javascript",
44
"typescript",
5-
"vue",
65
"markdown",
76
"svelte",
87
"json",

docs-svelte-kit/.eslintrc.cjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// eslint-disable-next-line no-undef -- ignore
22
module.exports = {
33
extends: ["plugin:@ota-meshi/svelte/recommended"],
4+
env: {
5+
browser: true,
6+
es2022: true,
7+
},
48
parserOptions: {
59
sourceType: "module",
610
},

docs-svelte-kit/build-system/build.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const fs = require("fs")
77
build(
88
require.resolve("./src/eslint.mjs"),
99
path.join(__dirname, "../shim/eslint.mjs"),
10-
["assert"],
10+
["assert", "util"],
1111
)
1212
build(
1313
require.resolve("../../node_modules/assert"),
@@ -16,6 +16,7 @@ build(
1616

1717
/** build */
1818
function build(input, out, injects = []) {
19+
// eslint-disable-next-line no-console -- ignore
1920
console.log(`build@ ${input}`)
2021
let code = bundle(input, ["path", ...injects])
2122
code = transform(code, ["path", ...injects])

docs/.vuepress/.eslintrc.js

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

docs/.vuepress/components/ESLintCodeBlock.vue

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

0 commit comments

Comments
 (0)