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.
Files changed (173) hide show
  1. package/bin/vscode-eslint +24 -1
  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 -1
  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/client/.mocharc.json +0 -6
  45. package/client/agents.md +0 -5
  46. package/client/package-lock.json +0 -176
  47. package/client/package.json +0 -29
  48. package/client/src/client.ts +0 -992
  49. package/client/src/extension.ts +0 -180
  50. package/client/src/node-utils.ts +0 -393
  51. package/client/src/settings.ts +0 -379
  52. package/client/src/tasks.ts +0 -186
  53. package/client/src/tests/glob.test.ts +0 -31
  54. package/client/src/vscode-utils.ts +0 -28
  55. package/client/test/mocha.opts +0 -3
  56. package/client/tsconfig.json +0 -20
  57. package/client/webpack.config.js +0 -25
  58. package/contributing.md +0 -19
  59. package/esbuild.js +0 -62
  60. package/eslint.config.js +0 -129
  61. package/history/settings_1_9_x.md +0 -110
  62. package/images/2_1_10/eslint-dialog.png +0 -0
  63. package/images/2_1_10/eslint-status.png +0 -0
  64. package/package-json-schema.json +0 -9
  65. package/playgrounds/7.0/.eslintignore +0 -1
  66. package/playgrounds/7.0/.eslintrc.json +0 -71
  67. package/playgrounds/7.0/.vscode/settings.json +0 -85
  68. package/playgrounds/7.0/app.js +0 -12
  69. package/playgrounds/7.0/build/.eslintignore +0 -1
  70. package/playgrounds/7.0/build/.eslintrc.json +0 -30
  71. package/playgrounds/7.0/build/build.js +0 -11
  72. package/playgrounds/7.0/jsconfig.json +0 -5
  73. package/playgrounds/7.0/package-lock.json +0 -2133
  74. package/playgrounds/7.0/package.json +0 -10
  75. package/playgrounds/7.0/readme.md +0 -0
  76. package/playgrounds/7.0/subDir/sub.js +0 -11
  77. package/playgrounds/7.0/subDir/test.jsx +0 -10
  78. package/playgrounds/7.0/test.js +0 -11
  79. package/playgrounds/7.0/test.sh +0 -1
  80. package/playgrounds/7.0/test.vue +0 -33
  81. package/playgrounds/7.0/test2.html +0 -8
  82. package/playgrounds/8.0/.eslintignore +0 -1
  83. package/playgrounds/8.0/.eslintrc.json +0 -71
  84. package/playgrounds/8.0/.vscode/settings.json +0 -91
  85. package/playgrounds/8.0/app.js +0 -12
  86. package/playgrounds/8.0/build/.eslintignore +0 -1
  87. package/playgrounds/8.0/build/.eslintrc.json +0 -30
  88. package/playgrounds/8.0/build/build.js +0 -11
  89. package/playgrounds/8.0/jsconfig.json +0 -5
  90. package/playgrounds/8.0/package-lock.json +0 -2321
  91. package/playgrounds/8.0/package.json +0 -10
  92. package/playgrounds/8.0/readme.md +0 -17
  93. package/playgrounds/8.0/subDir/sub.js +0 -11
  94. package/playgrounds/8.0/subDir/test.jsx +0 -10
  95. package/playgrounds/8.0/test.ipynb +0 -49
  96. package/playgrounds/8.0/test.js +0 -3
  97. package/playgrounds/8.0/test.sh +0 -1
  98. package/playgrounds/8.0/test.vue +0 -33
  99. package/playgrounds/8.0/test2.html +0 -8
  100. package/playgrounds/9.0/flat/.vscode/settings.json +0 -3
  101. package/playgrounds/9.0/flat/app.js +0 -12
  102. package/playgrounds/9.0/flat/dist/ignore.js +0 -12
  103. package/playgrounds/9.0/flat/eslint.config.js +0 -61
  104. package/playgrounds/9.0/flat/package-lock.json +0 -1053
  105. package/playgrounds/9.0/flat/package.json +0 -9
  106. package/playgrounds/9.0/rc/.eslintrc.json +0 -57
  107. package/playgrounds/9.0/rc/.vscode/settings.json +0 -3
  108. package/playgrounds/9.0/rc/app.js +0 -12
  109. package/playgrounds/9.0/rc/package-lock.json +0 -1345
  110. package/playgrounds/9.0/rc/package.json +0 -9
  111. package/playgrounds/flat-config/.vscode/settings.json +0 -22
  112. package/playgrounds/flat-config/app.js +0 -12
  113. package/playgrounds/flat-config/eslint.config.js +0 -51
  114. package/playgrounds/flat-config/package-lock.json +0 -2733
  115. package/playgrounds/flat-config/package.json +0 -12
  116. package/playgrounds/flat-config/sub/sub.js +0 -2
  117. package/playgrounds/flat-config/test.ts +0 -7
  118. package/playgrounds/flat-config/tsconfig.json +0 -11
  119. package/playgrounds/flat-config-fail/f1/app.js +0 -12
  120. package/playgrounds/flat-config-fail/f1/eslint.config.js +0 -51
  121. package/playgrounds/flat-config-fail/package-lock.json +0 -1683
  122. package/playgrounds/flat-config-fail/package.json +0 -11
  123. package/playgrounds/flat-config-mjs/.vscode/settings.json +0 -21
  124. package/playgrounds/flat-config-mjs/app.js +0 -12
  125. package/playgrounds/flat-config-mjs/eslint.config.mjs +0 -53
  126. package/playgrounds/flat-config-mjs/package-lock.json +0 -2860
  127. package/playgrounds/flat-config-mjs/package.json +0 -11
  128. package/playgrounds/flat-config-mjs/sub/sub.js +0 -2
  129. package/playgrounds/flat-config-mjs/test.ts +0 -7
  130. package/playgrounds/flat-config-mjs/tsconfig.json +0 -11
  131. package/playgrounds/load-eslint/.vscode/settings.json +0 -21
  132. package/playgrounds/load-eslint/app.js +0 -12
  133. package/playgrounds/load-eslint/eslint.config.js +0 -51
  134. package/playgrounds/load-eslint/package-lock.json +0 -2860
  135. package/playgrounds/load-eslint/package.json +0 -11
  136. package/playgrounds/load-eslint/sub/sub.js +0 -2
  137. package/playgrounds/load-eslint/test.ts +0 -7
  138. package/playgrounds/load-eslint/tsconfig.json +0 -11
  139. package/playgrounds/noLib/test.js +0 -22
  140. package/playgrounds/noWD/.vscode/settings.json +0 -2
  141. package/playgrounds/noWD/src/.eslintrc.json +0 -18
  142. package/playgrounds/noWD/src/package-lock.json +0 -2812
  143. package/playgrounds/noWD/src/package.json +0 -12
  144. package/playgrounds/noWD/src/test.js +0 -3
  145. package/playgrounds/notebooks/notebook.ipynb +0 -7072
  146. package/playgrounds/notebooks/notebook2.ipynb +0 -20
  147. package/playgrounds/testing.code-workspace +0 -28
  148. package/playgrounds/ts/.eslintrc.base.json +0 -23
  149. package/playgrounds/ts/.eslintrc.json +0 -191
  150. package/playgrounds/ts/.vscode/settings.json +0 -12
  151. package/playgrounds/ts/package-lock.json +0 -2687
  152. package/playgrounds/ts/package.json +0 -11
  153. package/playgrounds/ts/test copy.ts +0 -4
  154. package/playgrounds/ts/test.ipynb +0 -49
  155. package/playgrounds/ts/test.ts +0 -4
  156. package/playgrounds/ts/test.tsx +0 -14
  157. package/playgrounds/ts/tsconfig.json +0 -100
  158. package/server/agents.md +0 -9
  159. package/server/package-lock.json +0 -93
  160. package/server/package.json +0 -32
  161. package/server/src/diff.ts +0 -1079
  162. package/server/src/eslint.ts +0 -1471
  163. package/server/src/eslintServer.ts +0 -865
  164. package/server/src/is.ts +0 -18
  165. package/server/src/languageDefaults.ts +0 -40
  166. package/server/src/linkedMap.ts +0 -448
  167. package/server/src/paths.ts +0 -128
  168. package/server/src/thenable.d.ts +0 -5
  169. package/server/tsconfig.json +0 -21
  170. package/server/webpack.config.js +0 -25
  171. package/shared.webpack.config.js +0 -59
  172. package/tsconfig.base.json +0 -9
  173. package/tsconfig.json +0 -21
@@ -1,59 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- //@ts-check
7
- /** @typedef {import('webpack').Configuration} WebpackConfig **/
8
-
9
- 'use strict';
10
-
11
- const path = require('path');
12
- const merge = require('merge-options');
13
-
14
- module.exports = function withDefaults(/**@type WebpackConfig*/extConfig) {
15
-
16
- /** @type WebpackConfig */
17
- let defaultConfig = {
18
- mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production')
19
- target: 'node', // extensions run in a node context
20
- node: {
21
- __dirname: false // leave the __dirname-behaviour intact
22
- },
23
- resolve: {
24
- conditionNames: ['import', 'require', 'node'],
25
- mainFields: ['module', 'main'],
26
- extensions: ['.ts', '.js'] // support ts-files and js-files
27
- },
28
- module: {
29
- rules: [{
30
- test: /\.ts$/,
31
- exclude: /node_modules/,
32
- use: [{
33
- // configure TypeScript loader:
34
- // * enable sources maps for end-to-end source maps
35
- loader: 'ts-loader',
36
- options: {
37
- compilerOptions: {
38
- "sourceMap": true,
39
- }
40
- }
41
- }]
42
- }]
43
- },
44
- externals: {
45
- 'vscode': 'commonjs vscode', // ignored because it doesn't exist
46
- },
47
- output: {
48
- // all output goes into `dist`.
49
- // packaging depends on that and this must always be like it
50
- filename: '[name].js',
51
- path: path.join(extConfig.context, 'out'),
52
- libraryTarget: "commonjs",
53
- },
54
- // yes, really source maps
55
- devtool: 'source-map'
56
- };
57
-
58
- return merge(defaultConfig, extConfig);
59
- };
@@ -1,9 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "noImplicitAny": true,
4
- "noImplicitReturns": true,
5
- "noUnusedLocals": true,
6
- "noUnusedParameters": true,
7
- "strict": true
8
- }
9
- }
package/tsconfig.json DELETED
@@ -1,21 +0,0 @@
1
- {
2
- "extends": "./tsconfig.base.json",
3
- "compilerOptions": {
4
- "module": "Node16",
5
- "target": "ES2020",
6
- "outDir": "out",
7
- "rootDir": "src",
8
- "lib": [ "ES2023" ],
9
- "sourceMap": true
10
- },
11
- "include": [
12
- "src"
13
- ],
14
- "exclude": [
15
- "node_modules"
16
- ],
17
- "references": [
18
- { "path": "./client" },
19
- { "path": "./server" }
20
- ]
21
- }