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.

What does this do?

See original GitHub issue

I have ESLint and Prettier and all kinds of stuff going on and working fine, but I’m new to Vue.

I’m using Single File Components spread across a couple files like so:

image

I have Atom’s ESLint plugin and get warnings when I’m not adhering to my config, but I don’t see any warnings with this plugin.

// package.json
"eslintConfig": {
    "plugins": ["prettier"],
    "rules": {
      "prettier/prettier": "error"
    },
    "extends": ["plugin:vue/recommended", "prettier-standard"],
    "env": {
      "browser": true,
      "jquery": true
    },
    "globals": {
      "axios": true,
      "Vue": true
    }
  },

Would really appreciate knowing how to get this working. I think it’d help me from making silly mistakes with Vue. Thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
michalsnikcommented, Jul 23, 2017

Scripts in plain JS files are supported @armano2 I think I know the real problem here. It looks like the atom’s ‘linter-eslint’ lints the .vue file only when something inside script tag changes. I need to investigate what we can do about it… But it’s rather an upstream issue if any

1reaction
michalsnikcommented, Jul 23, 2017

Hey @corysimmons , you need to turn Lint HTML Files option in linter-eslint atom package settings. Feel free to reopen this issue if you still have problems. I use eslint in atom and it works 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does "this" do in Java? [duplicate] - Stack Overflow
this is a pseudo-variable that points to the current instance, to the object itself where the method is being executed. So for example:...
Read more >
What is correct - what does it do or what it does? - Quora
'What it does do?' is grammatically correct. But in an informal conversation, 'What it does?' is okay.
Read more >
What Does vs. What Do
The word your is a possessive pronoun and is usually followed by a noun. If the noun is singular, use does. Plural nouns...
Read more >
"What does it do?" or "what it does?", Which one is the correct
Here, "what it does" is not a question, it's a Noun Clause. "What it does?" is not a proper question on its own....
Read more >
Osteopathic medicine: What kind of doctor is a D.O.?
A doctor of osteopathic medicine, also known as a D.O., is a fully trained and licensed doctor. A doctor of osteopathic medicine graduates...
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