question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

undefined is not validating any files yet

See original GitHub issue
  • StandardJS version? 12.0.1
  • VSCode version? 1.29.1
  • StandardJS configuration?
  "standard": {
    "parser": "typescript-eslint-parser",
    "plugins": [
      "typescript"
    ],
    "env": [
      "jest"
    ]
  }
  • What do you have in the OUTPUT panel?

Can’t open: image


Can’t get the extension to work. Regular standardjs CLI works fine. I’ve tried local devDependencies settings and also replicating this using global install

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
CherryDTcommented, Nov 19, 2021

Seems this issue came back. I remember standard had no issue with my repository in the past, but this time it does show exactly this error. It’s not TypeScript though! What do you need to debug this?

3reactions
chenxsancommented, Dec 10, 2018

I don’t expect someone use it to lint typescript 😃

Here’s how you can make it work with typescript:

  1. Open settings.json, add typescript to "standard.validate" to enable JavaScript Standard Style for typescript language (that’s why you got undefined is not validating any files yet):

    "standard.validate": [
    	"javascript",
    	"javascriptreact",
    	"typescript", // add it here
    	{ "language": "html", "autoFix": true }
    ],
    
  2. You also need to install typescript under your project in my test, or you’ll get [standard] Can't find module typescript error.

    npm i typescript -D
    

Hope it will work for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

undefined is not validating any files yet · Issue #76 - GitHub
Behaviour: no output channel created, vscode notifies "undefined is not validating any files yet". This is my config for vscode:.
Read more >
VS Code - "ESLint is not validating any files yet" - Stack Overflow
When I try to run the auto fix of all problems I get the title information. I tried to reopen VSCode and to...
Read more >
ESLint not working in VS CODE? - DEV Community ‍ ‍
I'd just add check your user settings.json before blindly sticking the same eslint.validate JSON config in each workspace individually.
Read more >
validate.js
Validate.js provides a declarative way of validating javascript objects. It is unit tested with 100% code coverage and can be considered fit for...
Read more >
VS Code API | Visual Studio Code Extension API
VS Code API. VS Code API is a set of JavaScript APIs that you can invoke in your Visual Studio Code extension. This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found