Comments (6)
Checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel
from coc-eslint.
Checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel
The output:
`
[Info - 8:16:16 ├F10: PM┤] Local tsserver not found, using bundled tsserver with coc-tsserver.
[Info - 8:16:16 ├F10: PM┤] using npm from /Users/jimin/.nvm/versions/node/v12.22.0/bin/npm
[Info - 8:16:16 ├F10: PM┤] Forking TSServer
PATH: /Users/jimin/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js
[Info - 8:16:16 ├F10: PM┤] Starting TSServer
{
"path": "/Users/jimin/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib",
"_pathLabel": "",
"_api": {
"versionString": "4.5.5",
"version": "4.5.5"
}
}
[Trace - 8:16:16 ├F10: PM┤] Sending request: configure (0). Response expected: no. Current queue length: 0
Arguments: {
"hostInfo": "coc-nvim",
"preferences": {
"providePrefixAndSuffixTextForRename": true,
"allowRenameOfImportPath": true,
"includePackageJsonAutoImports": "auto"
}
}
[Trace - 8:16:16 ├F10: PM┤] Sending request: compilerOptionsForInferredProjects (1). Response expected: no. Current queue length: 0
Arguments: {
"options": {
"module": "commonjs",
"target": "es2016",
"jsx": "preserve",
"allowJs": true,
"allowSyntheticDefaultImports": true,
"allowNonTsExtensions": true
}
}
[Trace - 8:16:16 ├F10: PM┤] Event received: typingsInstallerPid (0).
Data: {
"pid": 6355
}
[Trace - 8:16:16 ├F10: PM┤] Sending request: updateOpen (2). Response expected: yes. Current queue length: 0
Arguments: {
"changedFiles": [],
"closedFiles": [],
"openFiles": [
{
"file": "/Users/jimin/MyWorkSpace/js2uml/src/js2seq/index.js",
"fileContent": "\nclass Js2Seq {\n\n constructor(a) {\n this.a = a;\n }\n\n abc = b;\n static convert() {\n return null;\n }\n}\n\nexport {\n Js2Seq,\n};\n",
"projectRootPath": "/Users/jimin/MyWorkSpace/js2uml",
"scriptKindName": "JS"
}
]
}
[Trace - 8:16:17 ├F10: PM┤] Response received: updateOpen (2). Request took 1493 ms. Success: true
Result: true
[Trace - 8:16:17 ├F10: PM┤] Sending request: geterr (3). Response expected: yes. Current queue length: 0
Arguments: {
"delay": 0,
"files": [
"/Users/jimin/MyWorkSpace/js2uml/src/js2seq/index.js"
]
}
`
.eslintrc
`
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
}
}
`
@chemzqm The fileContent as the code upon, has a abc = b
, that will caused a undef lint tip in vscode, but coc doesn't.
from coc-eslint.
The output is from tsserver, not eslint.
from coc-eslint.
Maybe you have "typescript.showUnused": false
config
from coc-eslint.
The eslintrc has upload on my first replay,
:CocCommand workspace.showOutput
just give me two options.... watchman
or tsserver
from coc-eslint.
Seems you don't have eslint server running.
from coc-eslint.
Related Issues (20)
- Eslint 8 support HOT 1
- Coc-eslint doesn't work with eslint@8 HOT 10
- undeprecate `eslint.enable`
- coc-eslint does not detect eslintrc unless it is placed in the root folder HOT 4
- Connection to server got closed. Server will not be restarted. HOT 1
- Usage with XO
- Is there any configuration for easily opening a recommendation link? HOT 1
- The "initializing eslint" notification never disappears HOT 2
- [bug] Diagnostic level hard-coded to Unnecessary/Warning/1 for no-unused-vars rule HOT 3
- UnhandledRejection opening markdown files HOT 22
- Stuck as "Initializing eslint" popup
- ESLint 8 flat config support HOT 3
- Parsing error: ESLint was configured to run on .... However that TSConfig does not include this file HOT 1
- how does eslint work
- shoudFix parameter was false HOT 4
- Need some clarification
- Coc-eslint not working with yarn Plug'n'Play HOT 2
- Setting `useFlatConfig` to true breaks ESLint integration for projects that use the older config style HOT 1
- when autoFixOnSave fails, the file can't be saved HOT 2
- is coc-eslint still maintained? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc-eslint.