No description or website provided.
JavaScript
Latest commit eb74c20 Jan 23, 2017 @chrisvfritz chrisvfritz 2.0.0
Permalink
Failed to load latest commit information.
.gitignore initial commit Aug 30, 2016
LICENSE initial commit Aug 30, 2016
README.md Note that eslint-config-vue is optional. Jan 17, 2017
index.js Update to square to curly braces Jan 19, 2017
package.json 2.0.0 Jan 24, 2017

README.md

eslint-plugin-vue

ESLint plugin for Vue.js projects

Usage

  1. npm install --save-dev eslint-plugin-vue
  2. create a file named .eslintrc in your project:
{
  extends: [ /* your usual extends */ ],
  plugins: ["vue"],
  rules: {
    'vue/jsx-uses-vars': 2,
  },
}
  1. OPTIONAL: install eslint-config-vue: npm install --save-dev eslint-config-vue
  2. OPTIONAL: then use the recommended configurations in your .eslintrc:
{
  extends: ["vue", /* your other extends */],
  plugins: ["vue"],
  rules: {
    /* your overrides -- vue/jsx-uses-vars is included in eslint-config-vue */
  },
}

License

MIT