https://github.com/xkeshav/test
just a test repo
https://github.com/xkeshav/test
Last synced: 2 months ago
JSON representation
just a test repo
- Host: GitHub
- URL: https://github.com/xkeshav/test
- Owner: xkeshav
- License: mit
- Created: 2024-10-11T08:10:15.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-17T04:08:31.000Z (7 months ago)
- Last Synced: 2025-02-17T02:59:10.977Z (3 months ago)
- Language: JavaScript
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
- Support: .github/SUPPORT.md
- Governance: .github/GOVERNANCE.md
Awesome Lists containing this project
README
# Sample repo to reproduce the issue
[issue detail](https://github.com/microsoft/vscode-eslint/issues/1931)
Added below 2 files which can be used to help the issue reproduction
- **src/index.js**
- **README .md**1. Installed eslint extension(`dbaeumer.vscode-eslint`)
2. Install eslint globally `npm install eslint -g`
3. Added eslint extension related settings in the workspace setting `.code-workspace` ( see at the end of the file )
```json
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
"eslint.useFlatConfig": true,
"eslint.validate": ["mdx", "javascript", "typescript"],
"eslint.options": {
"extensions": [".js", ".md"]
}
}
```4. Use `Ctrl+S` on markdown or js file
5. Open the _Output_ Panel in Bottom
6. Select _EsLint_ and _Extension Host(Remote)_ section from right side drop downbelow are the logs
## in `Extension Host(Remote)` section
```log
- 'extensions' has been removed.
at ae (/home/codespace/.vscode-remote/extensions/dbaeumer.vscode-eslint-3.0.10/client/out/extension.js:1:41596)
at re (/home/codespace/.vscode-remote/extensions/dbaeumer.vscode-eslint-3.0.10/client/out/extension.js:1:39556)
at Immediate. (/home/codespace/.vscode-remote/extensions/dbaeumer.vscode-eslint-3.0.10/client/out/extension.js:1:35850)
at processImmediate (node:internal/timers:483:21)
```## in `Eslint` Section
```log
[Error - 8:20:37 AM] An unexpected error occurred:
[Error - 8:20:37 AM] Error: Invalid Options:
- Unknown options: extensions
- 'extensions' has been removed.
at processOptions (/workspaces/test/node_modules/eslint/lib/eslint/eslint-helpers.js:847:15)
at new ESLint (/workspaces/test/node_modules/eslint/lib/eslint/eslint.js:447:34)
at O (/home/codespace/.vscode-remote/extensions/dbaeumer.vscode-eslint-3.0.10/server/out/eslintServer.js:1:19181)
at async M (/home/codespace/.vscode-remote/extensions/dbaeumer.vscode-eslint-3.0.10/server/out/eslintServer.js:1:19777)
```Hope it will help.