Eslint-plugin-vue: error Use the latest vue-eslint-parser in .js file

Created on 4 Jan 2018  路  5Comments  路  Source: vuejs/eslint-plugin-vue

Tell us about your environment

  • ESLint Version: 4.14.0
  • eslint-plugin-vue Version: 4.0.1
  • Node Version: 8.9

Please show your full configuration:

{
  "extends": ["./node_modules/@my/eslintconfig"],
  "parser": "babel-eslint",
  "parserOptions": {
    "sourceType": "module",
    "ecmaVersion": 6,
    "allowImportExportEverywhere": true
  },
  "plugins": [
    "html"
  ]
}

In ./node_modules/@my/eslintconfig

module.exports = {
  plugins: ['vue'],
  parser: 'vue-eslint-parser',
  parserOptions: {
    parser: 'babel-eslint',
    allowImportExportEverywhere: false,
    sourceType: 'module',
    ecmaVersion: 2017,
    ecmaFeatures: {
      globalReturn: false,
      impliedStrict: false,
      jsx: false,
      experimentalObjectRestSpread: false
    },
  },
  extends: [
    'plugin:vue/strongly-recommended'
  ],
};

What did you do? Please include the actual source code causing the issue.


The error throw in every .js file

What did you expect to happen?

What actually happened? Please include the actual, raw output from ESLint.

  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-bind
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/attribute-hyphenation
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/html-indent
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/html-self-closing
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/max-attributes-per-line
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/mustache-interpolation-spacing
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/no-duplicate-attributes
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/no-template-key
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/no-textarea-mustache
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/no-unused-vars
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/require-component-is
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/require-v-for-key
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/v-bind-style
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/v-on-style
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/html-end-tags
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-cloak
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-else-if
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-else
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-for
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-html
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-if
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-model
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-on
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-once
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-pre
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-show
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/valid-v-text
  1:1  error  Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error  vue/no-multi-spaces
duplicate question

Most helpful comment

@bretonio https://vuejs.github.io/eslint-plugin-vue/user-guide/#what-is-the-use-the-latest-vue-eslint-parser-error

All 5 comments

@jasonxia23 would this help? https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error

@filipalacerda nope.

Thank you for this issue.

I think that this is a duplicate of #259, #261, #283, and #285.
Please read https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error.

That URL not found sorry.

@bretonio https://vuejs.github.io/eslint-plugin-vue/user-guide/#what-is-the-use-the-latest-vue-eslint-parser-error

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nirazul picture nirazul  路  3Comments

lichnow picture lichnow  路  3Comments

deangoku picture deangoku  路  4Comments

rodrigoabb picture rodrigoabb  路  3Comments

filipalacerda picture filipalacerda  路  4Comments