Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-xo-vue

ChocPanda149MIT3.1.23

Official ESLint shareable config for Vue to be used with eslint-config-xo https://github.com/xojs/xo

❤️, vue, vuejs, eslintconfig, xo, xoxo, hugs, kisses, happy, happiness, code, quality, style, lint, linter, jscs, jshint, jslint, eslint, validate, code style, standard, strict, check, checker, verify, enforce, hint, simple

readme

eslint-config-xo-vue

npm

ESLint shareable config for vue to be used with eslint-config-xo

Install

To use with an eslint:

$ npm install --save-dev eslint-config-xo eslint-config-xo-vue eslint-plugin-vue
$ yarn add --dev eslint-config-xo eslint-config-xo-vue eslint-plugin-vue

I recommend using with xo

Usage

Add some ESLint config to your package.json:

{
    "name": "my-awesome-project",
    "eslintConfig": {
        "extends": [
            "xo",
            "xo-vue"
        ]
    }
}

Or to .eslintrc:

{
    "extends": [
        "xo",
        "xo-vue"
    ]
}

Use the space sub-config if you want 2 space indentation instead of tabs:

{
    "extends": [
        "xo",
        "xo-vue/space"
    ]
}

You can also mix it with a XO sub-config:

{
    "extends": [
        "xo/esnext",
        "xo-vue"
    ]
}

WARNING

When running eslint be sure to add the --ext vue command line param

Tip

Use with XO

$ npm install --save-dev xo eslint-config-xo-vue eslint-plugin-vue
$ yarn add --dev xo eslint-config-xo-vue eslint-plugin-vue
{
    "name": "my-awesome-project",
    "xo": {
        "extends": "xo-vue",
        "extensions": ["js", "vue"]
    }
}

Known Issues

Hoping you'll report any you find, checkout github issues

Contributions

See our contributing doc, be sure to checkout the code of conduct

Conventional Commits

This project used conventianal commits to manage versions and releases of the library therefore when making a commit please use yarn commit <COMMIT_PARAMETERS> and this will guide you through writing a conventional commit message which can be understood work with the ci pipeline

changelog

3.1.22 (2020-09-03)

Bug Fixes

  • upgrade snyk from 1.361.3 to 1.362.0 (c487ce7)

3.1.21 (2020-07-12)

Bug Fixes

  • upgrade snyk from 1.360.0 to 1.361.3 (9b6bb9c)

3.1.20 (2020-07-06)

Bug Fixes

  • upgrade snyk from 1.359.1 to 1.360.0 (65d00db)

3.1.19 (2020-07-04)

Bug Fixes

  • upgrade snyk from 1.355.0 to 1.359.0 (fa304e2)

3.1.18 (2020-07-02)

Bug Fixes

  • upgrade snyk from 1.349.0 to 1.352.1 (2dfd07a)

3.1.17 (2020-06-26)

Bug Fixes

  • upgrade snyk from 1.348.1 to 1.348.2 (b909b28)

3.1.16 (2020-06-24)

Bug Fixes

  • upgrade snyk from 1.346.0 to 1.347.1 (38ef610)

3.1.15 (2020-06-20)

Bug Fixes

  • upgrade snyk from 1.342.2 to 1.345.1 (b12f312)

3.1.14 (2020-06-18)

Bug Fixes

  • upgrade snyk from 1.341.1 to 1.342.2 (4c8c05e)

3.1.13 (2020-06-16)

Bug Fixes

  • upgrade snyk from 1.339.2 to 1.339.3 (47cd662)

3.1.12 (2020-06-13)

Bug Fixes

  • upgrade snyk from 1.339.0 to 1.339.1 (ea1bc02)

3.1.11 (2020-06-11)

Bug Fixes

  • upgrade snyk from 1.336.0 to 1.337.0 (30e8ca8)

3.1.10 (2020-06-05)

Bug Fixes

  • upgrade snyk from 1.334.0 to 1.335.0 (d6b78ef)

3.1.9 (2020-06-02)

Bug Fixes

  • upgrade snyk from 1.332.1 to 1.333.0 (54ece8d)

3.1.8 (2020-05-31)

Bug Fixes

  • upgrade snyk from 1.332.0 to 1.332.1 (c8bd656)

3.1.7 (2020-05-29)

Bug Fixes

  • upgrade snyk from 1.327.0 to 1.330.2 (834d958)

3.1.6 (2020-05-26)

Bug Fixes

  • upgrade snyk from 1.324.0 to 1.327.0 (9c0bcb9)
  • upgrade snyk from 1.324.0 to 1.327.0 (f6f88f4)

3.1.5 (2020-05-24)

Bug Fixes

  • upgrade snyk from 1.321.0 to 1.324.0 (b2f4e05)
  • upgrade snyk from 1.321.0 to 1.324.0 (ff85b19)

3.1.4 (2020-05-23)

Bug Fixes

  • upgrade snyk from 1.320.2 to 1.320.3 (ac7aee9)
  • upgrade snyk from 1.320.2 to 1.320.3 (9634cf3)

3.1.3 (2020-05-17)

Bug Fixes

  • upgrade vue-eslint-parser from 7.0.0 to 7.1.0 (d23a870)
  • upgrade vue-eslint-parser from 7.0.0 to 7.1.0 (7bdc671)

3.1.2 (2020-05-13)

Bug Fixes

  • .snyk & package.json to reduce vulnerabilities (296559b)
  • .snyk & package.json to reduce vulnerabilities (a136aaf)

3.1.1 (2020-02-15)

Bug Fixes

  • package: update eslint-plugin-unicorn to version 16.1.1 (9dab16b), closes #35

3.1.0 (2019-11-16)

Features

  • rules: update to eslint-plugin-vue version 6.0.1 (60d6d42)

3.0.3 (2019-11-16)

Bug Fixes

  • package: update eslint-plugin-unicorn to version 13.0.0 (158da45)

3.0.2 (2019-11-10)

Bug Fixes

  • package: update vue-eslint-parser to version 7.0.0 (38c11b2)

3.0.1 (2019-11-08)

Bug Fixes

  • package: Fix peer dependency for eslint-plugin-vue and import/no-unresolved misconfiguration (f379287)

3.0.0 (2019-09-28)

BREAKING CHANGES

  • Update output to remove cache prevention

2.0.3 (2019-09-26)

Bug Fixes

  • package: update eslint-plugin-unicorn to version 12.0.1 (0cd0076), closes #22

2.0.2 (2019-07-26)

Bug Fixes

  • package: update eslint-plugin-unicorn to version 10.0.0 (6e339ae)

2.0.1 (2019-07-13)

Bug Fixes

  • Add eslint-plugin-unicorn as a direct dependency for use with xo (2b36d19), closes #12

2.0.0 (2019-07-01)

Build System

BREAKING CHANGES

  • Update output to remove cache prevention

1.1.1 (2019-07-01)

Bug Fixes

  • Add eslint-plugin-unicorn as an optional dependency and add configuration for vue (d5a2423)

1.1.0 (2019-06-08)

Features

  • Add import configuration (848dbde)

1.0.8 (2019-06-08)

Bug Fixes

  • Make changes for compatibility with prettier (f2ffd5f)

1.0.7 (2019-06-08)

Bug Fixes

  • Remove some unpublished configuration (da144a5)

1.0.6 (2019-06-08)

Bug Fixes

1.0.5 (2019-06-08)

Bug Fixes

  • Update rollup config to hopefully fix export (fda7ed1)

1.0.4 (2019-06-08)

Bug Fixes

  • rollup: Rollup, ignore common js conditional require (86ec547)

1.0.3 (2019-06-08)

Bug Fixes

  • Remove main configuration from package.json to release spaces sub module (005ef5d)

1.0.2 (2019-06-08)

Bug Fixes

  • build: Add assets config in an attempt to fix build (30f6aae)
  • travis config (dfc8687)

1.0.1 (2019-06-07)

Bug Fixes

  • build: Attempt to fix the release build (822ea6a)

1.0.0 (2019-06-07)

Features

  • First version of the config for tabs (2ddf3a1)
  • spaces: Create a spaces config (47ca6b0)
  • v1: Start creating the config (12a9d38)

BREAKING CHANGES

  • spaces: Add a new config for use of spaces