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,127 +0,0 @@
1
- {
2
- perform: true,
3
- commands: [
4
- {
5
- type: 'comment',
6
- name: 'question',
7
- allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
8
- action: 'updateLabels',
9
- addLabel: '*question'
10
- },
11
- {
12
- type: 'label',
13
- name: '*question',
14
- allowTriggerByBot: true,
15
- action: 'close',
16
- comment: "Please ask your question on [StackOverflow](https://aka.ms/vscodestackoverflow). We have a great community over [there](https://aka.ms/vscodestackoverflow). They have already answered thousands of questions and are happy to answer yours as well. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
17
- },
18
- {
19
- type: 'label',
20
- name: '*dev-question',
21
- allowTriggerByBot: true,
22
- action: 'close',
23
- comment: "We have a great developer community [over on slack](https://aka.ms/vscode-dev-community) where extension authors help each other. This is a great place for you to ask questions and find support.\n\nHappy Coding!"
24
- },
25
- {
26
- type: 'label',
27
- name: '*extension-candidate',
28
- allowTriggerByBot: true,
29
- action: 'close',
30
- comment: "We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the [VS Code Marketplace](https://aka.ms/vscodemarketplace). Just in case, in a few simple steps you can get started [writing your own extension](https://aka.ms/vscodewritingextensions). See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
31
- },
32
- {
33
- type: 'label',
34
- name: '*not-reproducible',
35
- allowTriggerByBot: true,
36
- action: 'close',
37
- comment: "We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines might help you with that.\n\nHappy Coding!"
38
- },
39
- {
40
- type: 'label',
41
- name: '*out-of-scope',
42
- allowTriggerByBot: true,
43
- action: 'close',
44
- comment: "We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process [here](https://aka.ms/vscode-out-of-scope). If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.\n\nIf you wonder what we are up to, please see our [roadmap](https://aka.ms/vscoderoadmap) and [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nThanks for your understanding and happy coding!"
45
- },
46
- {
47
- type: 'comment',
48
- name: 'causedByExtension',
49
- allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
50
- action: 'updateLabels',
51
- addLabel: '*caused-by-extension'
52
- },
53
- {
54
- type: 'label',
55
- name: '*caused-by-extension',
56
- allowTriggerByBot: true,
57
- action: 'close',
58
- comment: "This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the [marketplace](https://aka.ms/vscodemarketplace) for VS Code. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
59
- },
60
- {
61
- type: 'label',
62
- name: '*as-designed',
63
- allowTriggerByBot: true,
64
- action: 'close',
65
- comment: "The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
66
- },
67
- {
68
- type: 'label',
69
- name: '*english-please',
70
- allowTriggerByBot: true,
71
- action: 'close',
72
- comment: "This issue is being closed because its description is not in English, that makes it hard for us to work on it. Please open a new issue with an English description. You might find [Bing Translator](https://www.bing.com/translator) useful."
73
- },
74
- {
75
- type: 'comment',
76
- name: 'duplicate',
77
- allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
78
- action: 'updateLabels',
79
- addLabel: '*duplicate'
80
- },
81
- {
82
- type: 'label',
83
- name: '*duplicate',
84
- allowTriggerByBot: true,
85
- action: 'close',
86
- comment: "Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues [here](https://aka.ms/vscodeissuesearch). See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
87
- },
88
- {
89
- type: 'comment',
90
- name: 'confirm',
91
- allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
92
- action: 'updateLabels',
93
- addLabel: 'confirmed',
94
- removeLabel: 'confirmation-pending'
95
- },
96
- {
97
- type: 'comment',
98
- name: 'confirmationPending',
99
- allowUsers: ['cleidigh', 'usernamehw'],
100
- action: 'updateLabels',
101
- addLabel: 'confirmation-pending',
102
- removeLabel: 'confirmed'
103
- },
104
- {
105
- type: 'comment',
106
- name: 'findDuplicates',
107
- allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
108
- action: 'comment',
109
- comment: "Potential duplicates:\n${potentialDuplicates}"
110
- },
111
- {
112
- type: 'comment',
113
- name: 'needsMoreInfo',
114
- allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
115
- action: 'updateLabels',
116
- addLabel: 'needs more info',
117
- comment: "Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines. Please take the time to review these and update the issue.\n\nHappy Coding!"
118
- },
119
- {
120
- type: 'comment',
121
- name: 'a11ymas',
122
- allowUsers: ['AccessibilityTestingTeam-TCS', 'dixitsonali95', 'Mohini78', 'ChitrarupaSharma', 'mspatil110', 'umasarath52', 'v-umnaik'],
123
- action: 'updateLabels',
124
- addLabel: 'a11ymas'
125
- },
126
- ]
127
- }
@@ -1,6 +0,0 @@
1
- {
2
- daysAfterClose: 45,
3
- daysSinceLastUpdate: 3,
4
- ignoredLabels: ['*out-of-scope'],
5
- perform: true
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- daysUntilClose: 7,
3
- needsMoreInfoLabel: 'needs more info',
4
- perform: true,
5
- closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
6
- }
@@ -1,53 +0,0 @@
1
- name: Publish to npm
2
-
3
- on:
4
- release:
5
- types:
6
- - published
7
-
8
- permissions:
9
- contents: read
10
-
11
- concurrency:
12
- group: npm-publish-${{ github.event.release.tag_name || github.ref_name }}
13
- cancel-in-progress: true
14
-
15
- jobs:
16
- publish:
17
- runs-on: ubuntu-latest
18
- steps:
19
- - uses: actions/checkout@v4
20
- with:
21
- ref: ${{ github.event.release.tag_name || github.ref }}
22
-
23
- - uses: actions/setup-node@v4
24
- with:
25
- node-version: 20
26
- registry-url: https://registry.npmjs.org
27
-
28
- - name: Install dependencies
29
- run: npm ci
30
-
31
- - name: Compile (if present)
32
- run: npm run compile --if-present
33
-
34
- - name: Run tests (if present)
35
- run: |
36
- if node -e "const scripts=require('./package.json').scripts||{}; process.exit(scripts.test ? 0 : 1)"; then
37
- npm test
38
- else
39
- echo "No test script found. Skipping tests."
40
- fi
41
-
42
- - name: Run build (if present)
43
- run: |
44
- if node -e "const scripts=require('./package.json').scripts||{}; process.exit(scripts.build ? 0 : 1)"; then
45
- npm run build
46
- else
47
- echo "No build script found. Skipping build."
48
- fi
49
-
50
- - name: Publish package
51
- run: npm publish
52
- env:
53
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -1,22 +0,0 @@
1
- name: Release Please
2
-
3
- on:
4
- push:
5
- tags-ignore:
6
- - '**'
7
-
8
- permissions:
9
- contents: write
10
- pull-requests: write
11
-
12
- jobs:
13
- release-please:
14
- if: github.ref_name == github.event.repository.default_branch
15
- runs-on: ubuntu-latest
16
- steps:
17
- - uses: googleapis/release-please-action@v4
18
- with:
19
- token: ${{ secrets.GITHUB_TOKEN }}
20
- release-type: node
21
- package-name: vscode-eslint
22
- target-branch: ${{ github.event.repository.default_branch }}
package/.lsifrc.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "project": "./tsconfig.json",
3
- "out": "vscode-eslint.lsif"
4
- }
@@ -1,20 +0,0 @@
1
- // A launch configuration that compiles the extension and then opens it inside a new window
2
- {
3
- "version": "0.2.0",
4
- "configurations": [
5
- {
6
- "type": "extensionHost",
7
- "request": "launch",
8
- "name": "Launch Client",
9
- "runtimeExecutable": "${execPath}",
10
- "args": ["--extensionDevelopmentPath=${workspaceFolder}" ],
11
- "sourceMaps": true,
12
- "autoAttachChildProcesses": true,
13
- "outFiles": [
14
- "${workspaceFolder}/client/out/**/*.js",
15
- "${workspaceFolder}/server/out/**/*.js"
16
- ],
17
- "preLaunchTask": "npm: watch"
18
- }
19
- ]
20
- }
@@ -1,52 +0,0 @@
1
- // Place your settings in this file to overwrite default and user settings.
2
- {
3
- "files.exclude": {
4
- "out": false
5
- },
6
- "search.exclude": {
7
- "out": true
8
- },
9
- "git.branchProtection": ["main"],
10
- "files.trimTrailingWhitespace": true,
11
- "editor.insertSpaces": false,
12
- "editor.tabSize": 4,
13
- "typescript.tsdk": "./node_modules/typescript/lib",
14
- "typescript.tsc.autoDetect": "off",
15
- "typescript.tsserver.trace": "off",
16
- "typescript.tsserver.log": "off",
17
- "editor.codeActionsOnSave": {
18
- "source.fixAll.eslint": "explicit"
19
- },
20
- "eslint.enable": true,
21
- "eslint.useESLintClass": true,
22
- "eslint.useFlatConfig": true,
23
- "eslint.codeActionsOnSave.rules": [
24
- "@typescript-eslint/semi",
25
- "@typescript-eslint/indent",
26
- "!@typescript-eslint/*",
27
- "*"
28
- ],
29
- "eslint.workingDirectories": [
30
- "./client",
31
- "./server"
32
- ],
33
- "eslint.trace.server": "messages",
34
- "eslint.debug": false,
35
- "eslint.lintTask.enable": false,
36
- "eslint.format.enable": true,
37
- "cSpell.words": [
38
- "Affordance",
39
- "Autofix",
40
- "configurability",
41
- "dbaeumer",
42
- "eslintignore",
43
- "eslintr",
44
- "mydirectory",
45
- "onsave",
46
- "pnpm",
47
- "uinteger",
48
- "Undispatched",
49
- "unregistration"
50
- ],
51
- "task.allowAutomaticTasks": "on"
52
- }
@@ -1,8 +0,0 @@
1
- eslintignore
2
- eslint
3
- vscode-languageclient
4
- vscode-languageserver-node
5
- eslintrc
6
- json
7
- pnpm
8
- cwd
@@ -1,39 +0,0 @@
1
- {
2
- // See https://go.microsoft.com/fwlink/?LinkId=733558
3
- // for the documentation about the tasks.json format
4
- "version": "2.0.0",
5
- "tasks": [
6
- {
7
- "type": "npm",
8
- "script": "watch",
9
- "isBackground": true,
10
- "group": {
11
- "kind": "build",
12
- "isDefault": true
13
- },
14
- "presentation": {
15
- "reveal": "never",
16
- "panel": "dedicated"
17
- },
18
- "problemMatcher": [
19
- "$tsc-watch"
20
- ],
21
- "runOptions": {
22
- "runOn": "folderOpen"
23
- }
24
- },
25
- {
26
- "type": "npm",
27
- "script": "compile",
28
- "isBackground": false,
29
- "group": "build",
30
- "presentation": {
31
- "reveal": "never",
32
- "panel": "dedicated"
33
- },
34
- "problemMatcher": [
35
- "$tsc"
36
- ]
37
- }
38
- ]
39
- }
package/.vscodeignore DELETED
@@ -1,23 +0,0 @@
1
- .vscode/**
2
- .github/**
3
- **/*.ts
4
- **/*.map
5
- .gitignore
6
- **/tsconfig.json
7
- **/tsconfig.base.json
8
- **/tslint.json
9
- contributing.md
10
- .azure-pipelines.yml
11
- shared.webpack.config.js
12
- .eslintignore
13
- eslint.config.js
14
- .lsifrc.json
15
- build/**
16
- *.zip
17
- *.vsix
18
- client/**
19
- !client/out/extension.js
20
- server/**
21
- !server/out/eslintServer.js
22
- playgrounds/**
23
- history/**