Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eslint-plugin-vue not work? #54

Open
JackPu opened this issue Feb 7, 2017 · 11 comments
Open

eslint-plugin-vue not work? #54

JackPu opened this issue Feb 7, 2017 · 11 comments

Comments

@JackPu
Copy link

JackPu commented Feb 7, 2017

I installed eslint-plugin-vue. But it dosen't work .

eslint config

{
    "extends": "airbnb-base",
    "plugins": [
        "import",
        "vue"
    ],
    "globals": {
        "XMLHttpRequest": 1,
        "FormData": 1,
        "File": 1,
        "Blob": 1
    },
    "rules": {
        "func-names": 0,
        "prefer-template": 0,
        "dot-notation": 0,
        "radix": 0,
        "no-mixed-operators": 0,
        "no-param-reassign": 0,
        "no-console": 0,
        "comma-dangle": 0
    }
}
@zaggino
Copy link
Member

zaggino commented Feb 14, 2017

Hi @JackPu , can you provide a repository that I can clone and test?
What's the error message you're getting?
How does the package.json look like?

@JackPu
Copy link
Author

JackPu commented Feb 14, 2017

@zaggino Thanks a lot. This is my repository https://github.com/Vanthink-UED/vue-core-image-upload

@zaggino
Copy link
Member

zaggino commented Feb 14, 2017

git clone https://github.com/Vanthink-UED/vue-core-image-upload
cd vue-core-image-upload
npm install

works fine for me:
image

@zaggino
Copy link
Member

zaggino commented Feb 14, 2017

what version are you using? brackets, brackets-eslint?

@JackPu
Copy link
Author

JackPu commented Feb 14, 2017

I mean .vue file doesn't work.

Brackets Version: 1.8

Brackets Eslint Version: 3.0.5

@zaggino
Copy link
Member

zaggino commented Feb 14, 2017

Oh, I see. I can look at this if I can make this work when I'll have some free time, thanks for reporting.

@JackPu
Copy link
Author

JackPu commented Feb 14, 2017

Thank you so much. 😄💐

@zaggino
Copy link
Member

zaggino commented Feb 15, 2017

Is there any Brackets plugin that you use for .vue files?

@JackPu
Copy link
Author

JackPu commented Feb 15, 2017

@zaggino No one for .vue

@zaggino
Copy link
Member

zaggino commented Mar 7, 2017

Support for this is required from Brackets, opened adobe/brackets#13153

@JackPu
Copy link
Author

JackPu commented Mar 7, 2017

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants