vscode-eslint 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/vscode-eslint +24 -1
- package/client/out/client.d.ts +13 -0
- package/client/out/extension.d.ts +3 -0
- package/client/out/extension.js +2 -0
- package/client/out/extension.js.map +1 -0
- package/client/out/node-utils.d.ts +51 -0
- package/client/out/settings.d.ts +41 -0
- package/client/out/shared/customMessages.d.ts +89 -0
- package/client/out/shared/settings.d.ts +106 -0
- package/client/out/tasks.d.ts +31 -0
- package/client/out/tests/glob.test.d.ts +1 -0
- package/client/out/vscode-utils.d.ts +5 -0
- package/package.json +9 -1
- package/server/out/diff.d.ts +134 -0
- package/server/out/eslint.d.ts +298 -0
- package/server/out/eslintServer.d.ts +1 -0
- package/server/out/eslintServer.js +2 -0
- package/server/out/eslintServer.js.map +1 -0
- package/server/out/is.d.ts +3 -0
- package/server/out/languageDefaults.d.ts +6 -0
- package/server/out/linkedMap.d.ts +53 -0
- package/server/out/paths.d.ts +22 -0
- package/server/out/shared/customMessages.d.ts +89 -0
- package/server/out/shared/settings.d.ts +106 -0
- package/$shared/customMessages.ts +0 -113
- package/$shared/settings.ts +0 -189
- package/.CodeQL.yml +0 -5
- package/.azure-pipelines.yml +0 -27
- package/.gemini/agents/vscode-eslint.md +0 -23
- package/.github/commands.yml +0 -127
- package/.github/locker.yml +0 -6
- package/.github/needs_more_info.yml +0 -6
- package/.github/workflows/npm-publish.yml +0 -53
- package/.github/workflows/release-please.yml +0 -22
- package/.lsifrc.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/settings.json +0 -52
- package/.vscode/spellright.dict +0 -8
- package/.vscode/tasks.json +0 -39
- package/.vscodeignore +0 -23
- package/CHANGELOG.md +0 -524
- package/SECURITY.md +0 -41
- package/agents.md +0 -36
- package/client/.mocharc.json +0 -6
- package/client/agents.md +0 -5
- package/client/package-lock.json +0 -176
- package/client/package.json +0 -29
- package/client/src/client.ts +0 -992
- package/client/src/extension.ts +0 -180
- package/client/src/node-utils.ts +0 -393
- package/client/src/settings.ts +0 -379
- package/client/src/tasks.ts +0 -186
- package/client/src/tests/glob.test.ts +0 -31
- package/client/src/vscode-utils.ts +0 -28
- package/client/test/mocha.opts +0 -3
- package/client/tsconfig.json +0 -20
- package/client/webpack.config.js +0 -25
- package/contributing.md +0 -19
- package/esbuild.js +0 -62
- package/eslint.config.js +0 -129
- package/history/settings_1_9_x.md +0 -110
- package/images/2_1_10/eslint-dialog.png +0 -0
- package/images/2_1_10/eslint-status.png +0 -0
- package/package-json-schema.json +0 -9
- package/playgrounds/7.0/.eslintignore +0 -1
- package/playgrounds/7.0/.eslintrc.json +0 -71
- package/playgrounds/7.0/.vscode/settings.json +0 -85
- package/playgrounds/7.0/app.js +0 -12
- package/playgrounds/7.0/build/.eslintignore +0 -1
- package/playgrounds/7.0/build/.eslintrc.json +0 -30
- package/playgrounds/7.0/build/build.js +0 -11
- package/playgrounds/7.0/jsconfig.json +0 -5
- package/playgrounds/7.0/package-lock.json +0 -2133
- package/playgrounds/7.0/package.json +0 -10
- package/playgrounds/7.0/readme.md +0 -0
- package/playgrounds/7.0/subDir/sub.js +0 -11
- package/playgrounds/7.0/subDir/test.jsx +0 -10
- package/playgrounds/7.0/test.js +0 -11
- package/playgrounds/7.0/test.sh +0 -1
- package/playgrounds/7.0/test.vue +0 -33
- package/playgrounds/7.0/test2.html +0 -8
- package/playgrounds/8.0/.eslintignore +0 -1
- package/playgrounds/8.0/.eslintrc.json +0 -71
- package/playgrounds/8.0/.vscode/settings.json +0 -91
- package/playgrounds/8.0/app.js +0 -12
- package/playgrounds/8.0/build/.eslintignore +0 -1
- package/playgrounds/8.0/build/.eslintrc.json +0 -30
- package/playgrounds/8.0/build/build.js +0 -11
- package/playgrounds/8.0/jsconfig.json +0 -5
- package/playgrounds/8.0/package-lock.json +0 -2321
- package/playgrounds/8.0/package.json +0 -10
- package/playgrounds/8.0/readme.md +0 -17
- package/playgrounds/8.0/subDir/sub.js +0 -11
- package/playgrounds/8.0/subDir/test.jsx +0 -10
- package/playgrounds/8.0/test.ipynb +0 -49
- package/playgrounds/8.0/test.js +0 -3
- package/playgrounds/8.0/test.sh +0 -1
- package/playgrounds/8.0/test.vue +0 -33
- package/playgrounds/8.0/test2.html +0 -8
- package/playgrounds/9.0/flat/.vscode/settings.json +0 -3
- package/playgrounds/9.0/flat/app.js +0 -12
- package/playgrounds/9.0/flat/dist/ignore.js +0 -12
- package/playgrounds/9.0/flat/eslint.config.js +0 -61
- package/playgrounds/9.0/flat/package-lock.json +0 -1053
- package/playgrounds/9.0/flat/package.json +0 -9
- package/playgrounds/9.0/rc/.eslintrc.json +0 -57
- package/playgrounds/9.0/rc/.vscode/settings.json +0 -3
- package/playgrounds/9.0/rc/app.js +0 -12
- package/playgrounds/9.0/rc/package-lock.json +0 -1345
- package/playgrounds/9.0/rc/package.json +0 -9
- package/playgrounds/flat-config/.vscode/settings.json +0 -22
- package/playgrounds/flat-config/app.js +0 -12
- package/playgrounds/flat-config/eslint.config.js +0 -51
- package/playgrounds/flat-config/package-lock.json +0 -2733
- package/playgrounds/flat-config/package.json +0 -12
- package/playgrounds/flat-config/sub/sub.js +0 -2
- package/playgrounds/flat-config/test.ts +0 -7
- package/playgrounds/flat-config/tsconfig.json +0 -11
- package/playgrounds/flat-config-fail/f1/app.js +0 -12
- package/playgrounds/flat-config-fail/f1/eslint.config.js +0 -51
- package/playgrounds/flat-config-fail/package-lock.json +0 -1683
- package/playgrounds/flat-config-fail/package.json +0 -11
- package/playgrounds/flat-config-mjs/.vscode/settings.json +0 -21
- package/playgrounds/flat-config-mjs/app.js +0 -12
- package/playgrounds/flat-config-mjs/eslint.config.mjs +0 -53
- package/playgrounds/flat-config-mjs/package-lock.json +0 -2860
- package/playgrounds/flat-config-mjs/package.json +0 -11
- package/playgrounds/flat-config-mjs/sub/sub.js +0 -2
- package/playgrounds/flat-config-mjs/test.ts +0 -7
- package/playgrounds/flat-config-mjs/tsconfig.json +0 -11
- package/playgrounds/load-eslint/.vscode/settings.json +0 -21
- package/playgrounds/load-eslint/app.js +0 -12
- package/playgrounds/load-eslint/eslint.config.js +0 -51
- package/playgrounds/load-eslint/package-lock.json +0 -2860
- package/playgrounds/load-eslint/package.json +0 -11
- package/playgrounds/load-eslint/sub/sub.js +0 -2
- package/playgrounds/load-eslint/test.ts +0 -7
- package/playgrounds/load-eslint/tsconfig.json +0 -11
- package/playgrounds/noLib/test.js +0 -22
- package/playgrounds/noWD/.vscode/settings.json +0 -2
- package/playgrounds/noWD/src/.eslintrc.json +0 -18
- package/playgrounds/noWD/src/package-lock.json +0 -2812
- package/playgrounds/noWD/src/package.json +0 -12
- package/playgrounds/noWD/src/test.js +0 -3
- package/playgrounds/notebooks/notebook.ipynb +0 -7072
- package/playgrounds/notebooks/notebook2.ipynb +0 -20
- package/playgrounds/testing.code-workspace +0 -28
- package/playgrounds/ts/.eslintrc.base.json +0 -23
- package/playgrounds/ts/.eslintrc.json +0 -191
- package/playgrounds/ts/.vscode/settings.json +0 -12
- package/playgrounds/ts/package-lock.json +0 -2687
- package/playgrounds/ts/package.json +0 -11
- package/playgrounds/ts/test copy.ts +0 -4
- package/playgrounds/ts/test.ipynb +0 -49
- package/playgrounds/ts/test.ts +0 -4
- package/playgrounds/ts/test.tsx +0 -14
- package/playgrounds/ts/tsconfig.json +0 -100
- package/server/agents.md +0 -9
- package/server/package-lock.json +0 -93
- package/server/package.json +0 -32
- package/server/src/diff.ts +0 -1079
- package/server/src/eslint.ts +0 -1471
- package/server/src/eslintServer.ts +0 -865
- package/server/src/is.ts +0 -18
- package/server/src/languageDefaults.ts +0 -40
- package/server/src/linkedMap.ts +0 -448
- package/server/src/paths.ts +0 -128
- package/server/src/thenable.d.ts +0 -5
- package/server/tsconfig.json +0 -21
- package/server/webpack.config.js +0 -25
- package/shared.webpack.config.js +0 -59
- package/tsconfig.base.json +0 -9
- package/tsconfig.json +0 -21
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"cells": [
|
|
3
|
-
{
|
|
4
|
-
"cell_type": "code",
|
|
5
|
-
"execution_count": null,
|
|
6
|
-
"metadata": {},
|
|
7
|
-
"outputs": [],
|
|
8
|
-
"source": [
|
|
9
|
-
"print(\"hello\")"
|
|
10
|
-
]
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"metadata": {
|
|
14
|
-
"language_info": {
|
|
15
|
-
"name": "python"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"nbformat": 4,
|
|
19
|
-
"nbformat_minor": 2
|
|
20
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"folders": [
|
|
3
|
-
{
|
|
4
|
-
"path": "6.0"
|
|
5
|
-
},
|
|
6
|
-
{
|
|
7
|
-
"path": "ts"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"path": "8.0"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"path": "loadESLint"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"path": "flatConfig"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"settings": {
|
|
20
|
-
"eslint.trace.server": {
|
|
21
|
-
"verbosity": "messages",
|
|
22
|
-
"format": "text"
|
|
23
|
-
},
|
|
24
|
-
"files.autoSave": "afterDelay",
|
|
25
|
-
"eslint.alwaysShowStatus": true,
|
|
26
|
-
"typescript.surveys.enabled": false
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parser": "@typescript-eslint/parser",
|
|
3
|
-
"parserOptions": {
|
|
4
|
-
"ecmaVersion": 6,
|
|
5
|
-
"sourceType": "module"
|
|
6
|
-
},
|
|
7
|
-
"plugins": [
|
|
8
|
-
"@typescript-eslint"
|
|
9
|
-
],
|
|
10
|
-
"env": {
|
|
11
|
-
"node": true
|
|
12
|
-
},
|
|
13
|
-
"rules": {
|
|
14
|
-
"semi": "off",
|
|
15
|
-
"@typescript-eslint/semi": "error",
|
|
16
|
-
"no-extra-semi": "warn",
|
|
17
|
-
"curly": "warn",
|
|
18
|
-
"quotes": ["error", "single", { "allowTemplateLiterals": true } ],
|
|
19
|
-
"eqeqeq": "error",
|
|
20
|
-
"indent": ["warn", "tab", { "SwitchCase": 1 } ],
|
|
21
|
-
"no-var-requires": "error"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"browser": true,
|
|
4
|
-
"node": true
|
|
5
|
-
},
|
|
6
|
-
"extends": [
|
|
7
|
-
// "plugin:@typescript-eslint/recommended"
|
|
8
|
-
// "plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
9
|
-
],
|
|
10
|
-
"parser": "@typescript-eslint/parser",
|
|
11
|
-
"parserOptions": {
|
|
12
|
-
"project": "tsconfig.json",
|
|
13
|
-
"sourceType": "module",
|
|
14
|
-
"ecmaVersion": 2020
|
|
15
|
-
},
|
|
16
|
-
"plugins": [
|
|
17
|
-
"@typescript-eslint"
|
|
18
|
-
],
|
|
19
|
-
"rules": {
|
|
20
|
-
"@typescript-eslint/array-type": "off",
|
|
21
|
-
"@typescript-eslint/consistent-type-definitions": "error",
|
|
22
|
-
"@typescript-eslint/explicit-member-accessibility": [
|
|
23
|
-
"off",
|
|
24
|
-
{
|
|
25
|
-
"accessibility": "explicit"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"@typescript-eslint/indent": "warn",
|
|
29
|
-
"@typescript-eslint/interface-name-prefix": "off",
|
|
30
|
-
"@typescript-eslint/member-delimiter-style": [
|
|
31
|
-
"off",
|
|
32
|
-
{
|
|
33
|
-
"multiline": {
|
|
34
|
-
"delimiter": "none",
|
|
35
|
-
"requireLast": true
|
|
36
|
-
},
|
|
37
|
-
"singleline": {
|
|
38
|
-
"delimiter": "semi",
|
|
39
|
-
"requireLast": false
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"@typescript-eslint/member-ordering": "off",
|
|
44
|
-
"@typescript-eslint/no-empty-function": "off",
|
|
45
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
46
|
-
"@typescript-eslint/no-non-null-assertion": "error",
|
|
47
|
-
"@typescript-eslint/no-parameter-properties": "off",
|
|
48
|
-
"@typescript-eslint/no-unused-vars": [
|
|
49
|
-
"error",
|
|
50
|
-
{
|
|
51
|
-
"vars": "all",
|
|
52
|
-
"args": "none",
|
|
53
|
-
"argsIgnorePattern": "^_"
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"@typescript-eslint/no-var-requires": "off",
|
|
57
|
-
"@typescript-eslint/prefer-for-of": "error",
|
|
58
|
-
"@typescript-eslint/prefer-function-type": "error",
|
|
59
|
-
"@typescript-eslint/quotes": "off",
|
|
60
|
-
"@typescript-eslint/semi": [
|
|
61
|
-
"off",
|
|
62
|
-
null
|
|
63
|
-
],
|
|
64
|
-
"@typescript-eslint/space-within-parens": [
|
|
65
|
-
"off",
|
|
66
|
-
"never"
|
|
67
|
-
],
|
|
68
|
-
"@typescript-eslint/type-annotation-spacing": "off",
|
|
69
|
-
"@typescript-eslint/unified-signatures": "error",
|
|
70
|
-
"array-element-newline": [
|
|
71
|
-
"error",
|
|
72
|
-
"consistent"
|
|
73
|
-
],
|
|
74
|
-
"arrow-body-style": "error",
|
|
75
|
-
"arrow-parens": [
|
|
76
|
-
"off",
|
|
77
|
-
"as-needed"
|
|
78
|
-
],
|
|
79
|
-
"camelcase": "error",
|
|
80
|
-
"comma-dangle": "warn",
|
|
81
|
-
"complexity": "off",
|
|
82
|
-
"constructor-super": "error",
|
|
83
|
-
"curly": "error",
|
|
84
|
-
"dot-notation": "error",
|
|
85
|
-
"eol-last": "warn",
|
|
86
|
-
"eqeqeq": [
|
|
87
|
-
"error",
|
|
88
|
-
"smart"
|
|
89
|
-
],
|
|
90
|
-
"guard-for-in": "error",
|
|
91
|
-
"id-blacklist": "error",
|
|
92
|
-
"id-match": "error",
|
|
93
|
-
// "import/no-require": "warn",
|
|
94
|
-
"import/order": "off",
|
|
95
|
-
// "jsdoc/no-types": "error",
|
|
96
|
-
"linebreak-style": "off",
|
|
97
|
-
"max-classes-per-file": "off",
|
|
98
|
-
"max-len": "off",
|
|
99
|
-
"new-parens": "warn",
|
|
100
|
-
"newline-per-chained-call": ["warn", { "ignoreChainWithDepth": 3}],
|
|
101
|
-
"no-bitwise": "warn",
|
|
102
|
-
"no-confusing-arrow": "warn",
|
|
103
|
-
"no-caller": "error",
|
|
104
|
-
"no-cond-assign": "error",
|
|
105
|
-
"no-console": [
|
|
106
|
-
"error",
|
|
107
|
-
{
|
|
108
|
-
"allow": [
|
|
109
|
-
"log",
|
|
110
|
-
"warn",
|
|
111
|
-
"dir",
|
|
112
|
-
"timeLog",
|
|
113
|
-
"assert",
|
|
114
|
-
"clear",
|
|
115
|
-
"count",
|
|
116
|
-
"countReset",
|
|
117
|
-
"group",
|
|
118
|
-
"groupEnd",
|
|
119
|
-
"table",
|
|
120
|
-
"dirxml",
|
|
121
|
-
"error",
|
|
122
|
-
"groupCollapsed",
|
|
123
|
-
"Console",
|
|
124
|
-
"profile",
|
|
125
|
-
"profileEnd",
|
|
126
|
-
"timeStamp",
|
|
127
|
-
"context"
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"no-debugger": "error",
|
|
132
|
-
"no-empty": "off",
|
|
133
|
-
"no-eval": "error",
|
|
134
|
-
"no-extra-semi": "off",
|
|
135
|
-
"no-fallthrough": [
|
|
136
|
-
"error"
|
|
137
|
-
], // { "commentPattern": "[Ff]alls?[\\s-]?[Tt]hrough"} ],
|
|
138
|
-
"no-invalid-this": "off",
|
|
139
|
-
"no-irregular-whitespace": "off",
|
|
140
|
-
"no-multiple-empty-lines": "warn",
|
|
141
|
-
"no-new-wrappers": "error",
|
|
142
|
-
"no-shadow": [
|
|
143
|
-
"error",
|
|
144
|
-
{
|
|
145
|
-
"hoist": "all"
|
|
146
|
-
}
|
|
147
|
-
],
|
|
148
|
-
"no-throw-literal": "error",
|
|
149
|
-
"no-trailing-spaces": "warn",
|
|
150
|
-
"no-undef-init": "error",
|
|
151
|
-
"no-underscore-dangle": "off",
|
|
152
|
-
"no-unsafe-finally": "error",
|
|
153
|
-
"no-unused-expressions": "error",
|
|
154
|
-
"no-unused-labels": "error",
|
|
155
|
-
"object-shorthand": "error",
|
|
156
|
-
"one-var": [
|
|
157
|
-
"error",
|
|
158
|
-
"never"
|
|
159
|
-
],
|
|
160
|
-
// "prefer-arrow/prefer-arrow-functions": "error",
|
|
161
|
-
"quote-props": "off",
|
|
162
|
-
"radix": "error",
|
|
163
|
-
"space-before-function-paren": "off",
|
|
164
|
-
"spaced-comment": [
|
|
165
|
-
"error",
|
|
166
|
-
"always",
|
|
167
|
-
{
|
|
168
|
-
"markers": [
|
|
169
|
-
"/"
|
|
170
|
-
]
|
|
171
|
-
}
|
|
172
|
-
],
|
|
173
|
-
"use-isnan": "error",
|
|
174
|
-
"valid-typeof": "off"
|
|
175
|
-
},
|
|
176
|
-
"overrides": [
|
|
177
|
-
{
|
|
178
|
-
"files": [
|
|
179
|
-
"**/*.component.ts"
|
|
180
|
-
],
|
|
181
|
-
"rules": {
|
|
182
|
-
"@typescript-eslint/no-use-before-define": [
|
|
183
|
-
"error",
|
|
184
|
-
{
|
|
185
|
-
"classes": false
|
|
186
|
-
}
|
|
187
|
-
]
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
]
|
|
191
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"eslint.enable": true,
|
|
3
|
-
"editor.codeActionsOnSave": {
|
|
4
|
-
"source.fixAll.eslint": "explicit"
|
|
5
|
-
},
|
|
6
|
-
"eslint.format.enable": true,
|
|
7
|
-
"eslint.trace.server": "messages",
|
|
8
|
-
"eslint.debug": false,
|
|
9
|
-
"eslint.notebooks.rules.customizations": [
|
|
10
|
-
{ "rule": "eol-last", "severity": "off" }
|
|
11
|
-
]
|
|
12
|
-
}
|