vscode-eslint 0.0.2 → 0.0.4

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.
Files changed (181) hide show
  1. package/bin/vscode-eslint +82 -0
  2. package/client/out/client.d.ts +13 -0
  3. package/client/out/extension.d.ts +3 -0
  4. package/client/out/extension.js +2 -0
  5. package/client/out/extension.js.map +1 -0
  6. package/client/out/node-utils.d.ts +51 -0
  7. package/client/out/settings.d.ts +41 -0
  8. package/client/out/shared/customMessages.d.ts +89 -0
  9. package/client/out/shared/settings.d.ts +106 -0
  10. package/client/out/tasks.d.ts +31 -0
  11. package/client/out/tests/glob.test.d.ts +1 -0
  12. package/client/out/vscode-utils.d.ts +5 -0
  13. package/package.json +9 -2
  14. package/server/out/diff.d.ts +134 -0
  15. package/server/out/eslint.d.ts +298 -0
  16. package/server/out/eslintServer.d.ts +1 -0
  17. package/server/out/eslintServer.js +2 -0
  18. package/server/out/eslintServer.js.map +1 -0
  19. package/server/out/is.d.ts +3 -0
  20. package/server/out/languageDefaults.d.ts +6 -0
  21. package/server/out/linkedMap.d.ts +53 -0
  22. package/server/out/paths.d.ts +22 -0
  23. package/server/out/shared/customMessages.d.ts +89 -0
  24. package/server/out/shared/settings.d.ts +106 -0
  25. package/$shared/customMessages.ts +0 -113
  26. package/$shared/settings.ts +0 -189
  27. package/.CodeQL.yml +0 -5
  28. package/.azure-pipelines.yml +0 -27
  29. package/.gemini/agents/vscode-eslint.md +0 -23
  30. package/.github/commands.yml +0 -127
  31. package/.github/locker.yml +0 -6
  32. package/.github/needs_more_info.yml +0 -6
  33. package/.github/workflows/npm-publish.yml +0 -53
  34. package/.github/workflows/release-please.yml +0 -22
  35. package/.lsifrc.json +0 -4
  36. package/.vscode/launch.json +0 -20
  37. package/.vscode/settings.json +0 -52
  38. package/.vscode/spellright.dict +0 -8
  39. package/.vscode/tasks.json +0 -39
  40. package/.vscodeignore +0 -23
  41. package/CHANGELOG.md +0 -524
  42. package/SECURITY.md +0 -41
  43. package/agents.md +0 -36
  44. package/bin/vscode-eslint.js +0 -56
  45. package/build/azure-pipelines/linux/build.yml +0 -14
  46. package/build/azure-pipelines/pre-release.yml +0 -42
  47. package/build/azure-pipelines/release.yml +0 -45
  48. package/build/azure-pipelines/win32/build.yml +0 -14
  49. package/build/bin/all.js +0 -29
  50. package/build/bin/linking.js +0 -102
  51. package/build/bin/symlink.js +0 -35
  52. package/client/.mocharc.json +0 -6
  53. package/client/agents.md +0 -5
  54. package/client/package-lock.json +0 -176
  55. package/client/package.json +0 -29
  56. package/client/src/client.ts +0 -992
  57. package/client/src/extension.ts +0 -180
  58. package/client/src/node-utils.ts +0 -393
  59. package/client/src/settings.ts +0 -379
  60. package/client/src/tasks.ts +0 -186
  61. package/client/src/tests/glob.test.ts +0 -31
  62. package/client/src/vscode-utils.ts +0 -28
  63. package/client/test/mocha.opts +0 -3
  64. package/client/tsconfig.json +0 -20
  65. package/client/webpack.config.js +0 -25
  66. package/contributing.md +0 -19
  67. package/esbuild.js +0 -62
  68. package/eslint.config.js +0 -129
  69. package/history/settings_1_9_x.md +0 -110
  70. package/images/2_1_10/eslint-dialog.png +0 -0
  71. package/images/2_1_10/eslint-status.png +0 -0
  72. package/package-json-schema.json +0 -9
  73. package/playgrounds/7.0/.eslintignore +0 -1
  74. package/playgrounds/7.0/.eslintrc.json +0 -71
  75. package/playgrounds/7.0/.vscode/settings.json +0 -85
  76. package/playgrounds/7.0/app.js +0 -12
  77. package/playgrounds/7.0/build/.eslintignore +0 -1
  78. package/playgrounds/7.0/build/.eslintrc.json +0 -30
  79. package/playgrounds/7.0/build/build.js +0 -11
  80. package/playgrounds/7.0/jsconfig.json +0 -5
  81. package/playgrounds/7.0/package-lock.json +0 -2133
  82. package/playgrounds/7.0/package.json +0 -10
  83. package/playgrounds/7.0/readme.md +0 -0
  84. package/playgrounds/7.0/subDir/sub.js +0 -11
  85. package/playgrounds/7.0/subDir/test.jsx +0 -10
  86. package/playgrounds/7.0/test.js +0 -11
  87. package/playgrounds/7.0/test.sh +0 -1
  88. package/playgrounds/7.0/test.vue +0 -33
  89. package/playgrounds/7.0/test2.html +0 -8
  90. package/playgrounds/8.0/.eslintignore +0 -1
  91. package/playgrounds/8.0/.eslintrc.json +0 -71
  92. package/playgrounds/8.0/.vscode/settings.json +0 -91
  93. package/playgrounds/8.0/app.js +0 -12
  94. package/playgrounds/8.0/build/.eslintignore +0 -1
  95. package/playgrounds/8.0/build/.eslintrc.json +0 -30
  96. package/playgrounds/8.0/build/build.js +0 -11
  97. package/playgrounds/8.0/jsconfig.json +0 -5
  98. package/playgrounds/8.0/package-lock.json +0 -2321
  99. package/playgrounds/8.0/package.json +0 -10
  100. package/playgrounds/8.0/readme.md +0 -17
  101. package/playgrounds/8.0/subDir/sub.js +0 -11
  102. package/playgrounds/8.0/subDir/test.jsx +0 -10
  103. package/playgrounds/8.0/test.ipynb +0 -49
  104. package/playgrounds/8.0/test.js +0 -3
  105. package/playgrounds/8.0/test.sh +0 -1
  106. package/playgrounds/8.0/test.vue +0 -33
  107. package/playgrounds/8.0/test2.html +0 -8
  108. package/playgrounds/9.0/flat/.vscode/settings.json +0 -3
  109. package/playgrounds/9.0/flat/app.js +0 -12
  110. package/playgrounds/9.0/flat/dist/ignore.js +0 -12
  111. package/playgrounds/9.0/flat/eslint.config.js +0 -61
  112. package/playgrounds/9.0/flat/package-lock.json +0 -1053
  113. package/playgrounds/9.0/flat/package.json +0 -9
  114. package/playgrounds/9.0/rc/.eslintrc.json +0 -57
  115. package/playgrounds/9.0/rc/.vscode/settings.json +0 -3
  116. package/playgrounds/9.0/rc/app.js +0 -12
  117. package/playgrounds/9.0/rc/package-lock.json +0 -1345
  118. package/playgrounds/9.0/rc/package.json +0 -9
  119. package/playgrounds/flat-config/.vscode/settings.json +0 -22
  120. package/playgrounds/flat-config/app.js +0 -12
  121. package/playgrounds/flat-config/eslint.config.js +0 -51
  122. package/playgrounds/flat-config/package-lock.json +0 -2733
  123. package/playgrounds/flat-config/package.json +0 -12
  124. package/playgrounds/flat-config/sub/sub.js +0 -2
  125. package/playgrounds/flat-config/test.ts +0 -7
  126. package/playgrounds/flat-config/tsconfig.json +0 -11
  127. package/playgrounds/flat-config-fail/f1/app.js +0 -12
  128. package/playgrounds/flat-config-fail/f1/eslint.config.js +0 -51
  129. package/playgrounds/flat-config-fail/package-lock.json +0 -1683
  130. package/playgrounds/flat-config-fail/package.json +0 -11
  131. package/playgrounds/flat-config-mjs/.vscode/settings.json +0 -21
  132. package/playgrounds/flat-config-mjs/app.js +0 -12
  133. package/playgrounds/flat-config-mjs/eslint.config.mjs +0 -53
  134. package/playgrounds/flat-config-mjs/package-lock.json +0 -2860
  135. package/playgrounds/flat-config-mjs/package.json +0 -11
  136. package/playgrounds/flat-config-mjs/sub/sub.js +0 -2
  137. package/playgrounds/flat-config-mjs/test.ts +0 -7
  138. package/playgrounds/flat-config-mjs/tsconfig.json +0 -11
  139. package/playgrounds/load-eslint/.vscode/settings.json +0 -21
  140. package/playgrounds/load-eslint/app.js +0 -12
  141. package/playgrounds/load-eslint/eslint.config.js +0 -51
  142. package/playgrounds/load-eslint/package-lock.json +0 -2860
  143. package/playgrounds/load-eslint/package.json +0 -11
  144. package/playgrounds/load-eslint/sub/sub.js +0 -2
  145. package/playgrounds/load-eslint/test.ts +0 -7
  146. package/playgrounds/load-eslint/tsconfig.json +0 -11
  147. package/playgrounds/noLib/test.js +0 -22
  148. package/playgrounds/noWD/.vscode/settings.json +0 -2
  149. package/playgrounds/noWD/src/.eslintrc.json +0 -18
  150. package/playgrounds/noWD/src/package-lock.json +0 -2812
  151. package/playgrounds/noWD/src/package.json +0 -12
  152. package/playgrounds/noWD/src/test.js +0 -3
  153. package/playgrounds/notebooks/notebook.ipynb +0 -7072
  154. package/playgrounds/notebooks/notebook2.ipynb +0 -20
  155. package/playgrounds/testing.code-workspace +0 -28
  156. package/playgrounds/ts/.eslintrc.base.json +0 -23
  157. package/playgrounds/ts/.eslintrc.json +0 -191
  158. package/playgrounds/ts/.vscode/settings.json +0 -12
  159. package/playgrounds/ts/package-lock.json +0 -2687
  160. package/playgrounds/ts/package.json +0 -11
  161. package/playgrounds/ts/test copy.ts +0 -4
  162. package/playgrounds/ts/test.ipynb +0 -49
  163. package/playgrounds/ts/test.ts +0 -4
  164. package/playgrounds/ts/test.tsx +0 -14
  165. package/playgrounds/ts/tsconfig.json +0 -100
  166. package/server/agents.md +0 -9
  167. package/server/package-lock.json +0 -93
  168. package/server/package.json +0 -32
  169. package/server/src/diff.ts +0 -1079
  170. package/server/src/eslint.ts +0 -1471
  171. package/server/src/eslintServer.ts +0 -865
  172. package/server/src/is.ts +0 -18
  173. package/server/src/languageDefaults.ts +0 -40
  174. package/server/src/linkedMap.ts +0 -448
  175. package/server/src/paths.ts +0 -128
  176. package/server/src/thenable.d.ts +0 -5
  177. package/server/tsconfig.json +0 -21
  178. package/server/webpack.config.js +0 -25
  179. package/shared.webpack.config.js +0 -59
  180. package/tsconfig.base.json +0 -9
  181. package/tsconfig.json +0 -21
@@ -1,10 +0,0 @@
1
- {
2
- "name": "eslint8_0",
3
- "private": true,
4
- "version": "1.0.0",
5
- "devDependencies": {
6
- "eslint": "^8.57.0",
7
- "eslint-plugin-html": "^8.0.0",
8
- "eslint-plugin-vue": "^9.22.0"
9
- }
10
- }
@@ -1,17 +0,0 @@
1
- # Sample Markdown File
2
-
3
- This is a sample markdown file. It can be used to write documentation, README files, or any other text-based content.
4
-
5
- ## Heading 2
6
-
7
- You can use different heading levels to structure your content.
8
-
9
- ### Heading 3
10
-
11
- You can also include lists:
12
-
13
- - Item 1
14
- - Item 2
15
- - Item 3
16
-
17
- And even code blocks:
@@ -1,11 +0,0 @@
1
- function bar() {
2
- foo();
3
- if (foo) {foo++;}
4
- }
5
-
6
- function foo(x) {
7
- // console.log(x);
8
- bar();
9
- console.log();
10
- var x = 10;
11
- }
@@ -1,10 +0,0 @@
1
- function bar() {
2
- if (foo) {foo++;}
3
- }
4
-
5
- function foo(x) {
6
- // console.log(x);
7
- bar();
8
- var x = 10;
9
- console.log();
10
- }
@@ -1,49 +0,0 @@
1
- {
2
- "cells": [
3
- {
4
- "cell_type": "code",
5
- "execution_count": null,
6
- "metadata": {},
7
- "outputs": [],
8
- "source": [
9
- "console.log('Hello World');\n",
10
- "console.log('Hello World');"
11
- ]
12
- },
13
- {
14
- "cell_type": "code",
15
- "execution_count": null,
16
- "metadata": {},
17
- "outputs": [],
18
- "source": [
19
- "let x = 10;\n"
20
- ]
21
- },
22
- {
23
- "cell_type": "code",
24
- "execution_count": null,
25
- "metadata": {},
26
- "outputs": [],
27
- "source": [
28
- "x = x + 10;"
29
- ]
30
- },
31
- {
32
- "cell_type": "code",
33
- "execution_count": null,
34
- "metadata": {},
35
- "outputs": [],
36
- "source": [
37
- "let y = 10;"
38
- ]
39
- }
40
- ],
41
- "metadata": {
42
- "language_info": {
43
- "name": "javascript"
44
- },
45
- "orig_nbformat": 4
46
- },
47
- "nbformat": 4,
48
- "nbformat_minor": 2
49
- }
@@ -1,3 +0,0 @@
1
- let x = 10;
2
-
3
- console.log(x);
@@ -1 +0,0 @@
1
- dsfsdfsdfsdfsdfsdfsdfdfasdasdasdasdsadfsjdkj flsdfjl sdfj
@@ -1,33 +0,0 @@
1
- <template lang="pug">
2
- #app
3
- component(:is="component")
4
- slot
5
- </template>
6
-
7
- <script>
8
- import PublicLayout from '@/layouts/public/main.vue';
9
- import DefaultLayout from '@/layouts/default/main.vue';
10
- export default {
11
- name: 'App',
12
- components: {
13
- PublicLayout,
14
- DefaultLayout
15
- },
16
- computed: {
17
- component () {
18
- return this.$store.state.common.layout;
19
- }
20
- },
21
- mounted () {
22
- // Update page title.
23
- this.$store.watch((state) => {
24
- return state.common.title;
25
- }, (title) => {
26
- document.title = title;
27
- console.log('title updated');
28
- }, {
29
- deep: true
30
- });
31
- }
32
- };
33
- </script>
@@ -1,8 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <script>
4
- function foo() {
5
- }
6
- foo();
7
- </script>
8
- </html>
@@ -1,3 +0,0 @@
1
- {
2
- "eslint.onIgnoredFiles": "warn"
3
- }
@@ -1,12 +0,0 @@
1
- function bar() {
2
- if (foo) {
3
- foo++;
4
- }
5
- }
6
-
7
- function foo(x) {
8
- console.log(x);
9
- bar();
10
- var x = 10;;;;
11
- console.log(undef);
12
- }
@@ -1,12 +0,0 @@
1
- function bar() {
2
- if (foo) {
3
- foo++;
4
- }
5
- }
6
-
7
- function foo(x) {
8
- console.log(x);
9
- bar();
10
- var x = 10;;;;
11
- console.log(undef);
12
- }
@@ -1,61 +0,0 @@
1
- const globals = require('globals');
2
-
3
- module.exports = [
4
- {
5
- ignores: ['dist/**']
6
- },
7
- {
8
- files: ["**/*.js"],
9
- languageOptions: {
10
- sourceType: "module",
11
- globals: {
12
- ...globals.browser,
13
- ...globals.node,
14
- ...globals.es6,
15
- ...globals.commonjs
16
- }
17
- },
18
- rules: {
19
- "no-use-before-define": "error",
20
- "no-useless-escape": "error",
21
- "no-const-assign": "warn",
22
- "no-this-before-super": "warn",
23
- "no-undef": "warn",
24
- "no-unreachable": "warn",
25
- "no-unused-vars": "warn",
26
- "constructor-super": "warn",
27
- "valid-typeof": "warn",
28
- "no-extra-semi": "warn",
29
- "curly": "warn",
30
- "no-console": [
31
- 2,
32
- {
33
- "allow": [
34
- "warn",
35
- "error"
36
- ]
37
- }
38
- ],
39
- "eqeqeq": [
40
- "error",
41
- "always",
42
- {
43
- "null": "ignore"
44
- }
45
- ],
46
- "indent": [
47
- "warn",
48
- "tab",
49
- {
50
- "VariableDeclarator": {
51
- "var": 2,
52
- "let": 2,
53
- "const": 3
54
- },
55
- "MemberExpression": 1,
56
- "SwitchCase": 1
57
- }
58
- ]
59
- }
60
- }
61
- ]