steelbrain / linter

A Base Linter with Cow Powers http://steelbrain.me/linter/
MIT License
1.1k stars 178 forks source link

Linter is not working #1738

Open ghost opened 3 years ago

ghost commented 3 years ago

I have an HTML code but linter-tidy is never showing an error or a warning. I tried as well linter-latex with a .tex file and it is the same there. So I assume that the problem is with the base linter. As I assumed a conflict with other packagers, I tried diesabling all non-relevant packages but the problem persistet.

Later, I tried it with running linter-spell-html while I had the other packages disabled. When launching atom, an error message popped up saying "dictionary request failed". I don't know if that has something to do with it.

I was considering adding atom.exe as a firewall excemption but I was worried if this could cause a security risk.

System: Windows 10 10.0.19043 HP Envy 17-bw0xxx

steelbrain commented 3 years ago

Thank you for reporting this! Can you please share the output of the Linter: Debug command with us? It contains information that is helpful in resolving this

ghost commented 3 years ago

I typed in the command you told me in the Atom console but the response was:

VM991:1 Uncaught ReferenceError: Debug is not defined
    at <anonymous>:1:9

Must I type it somewhere else?

Here is the general output of the console after I opened the developer tools:

electron/js2c/renderer_init.js:15 (electron) crashReporter.start is deprecated in the renderer process. Call it from the main process instead.
log @ electron/js2c/renderer_init.js:15
C:\Users\Katzi\AppData\Local\atom\app-1.57.0\resources\app.asar\src\text-editor-element.js:357 [Deprecation] document.registerElement is deprecated and will be removed in M80, around February 2020. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.
(anonymous) @ C:\Users\Katzi\AppData\Local\atom\app-1.57.0\resources\app.asar\src\text-editor-element.js:357
index.html:1 A cookie associated with a cross-site resource at https://github.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
DevTools failed to load SourceMap: Could not load content for file:///C:/Users/Katzi/AppData/Local/atom/app-1.58.0/resources/app.asar/static/focus-trap.js.map: 
2DevTools failed to load SourceMap: Could not load content for file:///C:/Users/Katzi/AppData/Local/atom/app-1.58.0/resources/app.asar/static/index.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/Users/Katzi/AppData/Local/atom/app-1.58.0/resources/app.asar/static/performance-now.js.map: 
2DevTools failed to load SourceMap: Could not load content for file:///C:/Users/Katzi/AppData/Local/atom/app-1.58.0/resources/app.asar/static/index.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/Users/Katzi/AppData/Local/atom/app-1.58.0/resources/app.asar/static/underscore-umd.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/Users/Katzi/AppData/Local/atom/app-1.58.0/resources/app.asar/static/main.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/Users/Katzi/AppData/Local/atom/app-1.58.0/resources/app.asar/static/ansi_to_html.js.map: 
DevTools failed to load SourceMap: Could not load content for file:///C:/Users/Katzi/AppData/Local/atom/app-1.58.0/resources/app.asar/static/SimpleTable.css.map: 
steelbrain commented 3 years ago

I think you may have pasted it in the wrong console, apologies for the confusion in terminology. Please execute that command in the Command Palette in Atom and share the results

ghost commented 3 years ago

Okay, this is the output:

Platform: win32
Atom Version: 1.58.0
Linter Version: 3.4.0
Opened file is ignored: No
Matching Linter Providers: 
Disabled Linter Providers: 
Standard Linter Providers: 
Indie Linter Providers: 
UI Providers: 
  - Linter
Ignore Glob: **/*.min.{js,css}
VCS Ignored Paths are excluded: true
Current File Scopes: 
  - *
  - text.html.basic
  - meta.tag.block.h3.html
  - punctuation.definition.tag.begin.html
steelbrain commented 3 years ago

As you can see from the output, none of the linter providers are registering.

It's possible that the linter providers you are using are unmaintained, and still using the deprecated years and years ago v1 API. Please ask the relevant providers to upgrade their API usage.

Thank you for reaching out!

aliarif123 commented 2 years ago

I am writing HTML code, but linter is not showing errors in code.

aliarif123 commented 2 years ago

I am facing error while writing code in atom editor. (Package : Linter ) is not working and not showing errors of my code. I tried multiple times by uninstalling and installing this package. still facing same.