@spartanbio/eslint config vue

Spartan Bio's ESLint config for Vue

Version: 1.1.0 Updated: 06/26/2020

By: spartanbio License: MIT

Downloads Last 30 Days: 641

Install

npm i @spartanbio/eslint-config-vue
yarn add @spartanbio/eslint-config-vue

Repository: https://github.com/spartanbio/js-styles

CDNs

bundle.run: https://bundle.run/@spartanbio/eslint-config-vue

jsDelivr: https://cdn.jsdelivr.net/npm/@spartanbio/eslint-config-vue

unpkg: https://unpkg.com/@spartanbio/eslint-config-vue

Spartan Bio ESLint config for Vue

ESlint config used with Vue by Spartan Bio.

Usage

  1. Add this package and its peer dependencies to devDependencies
$ npx install-peerdeps --dev @spartanbio/eslint-config-vue
  1. Add .eslintrc.js with the following:
module.exports = {
  extends: ['@spartanbio/eslint-config-vue'],
};

If using babel, use:

module.exports = {
  root: true,
  parserOptions: {
    parser: 'babel-eslint',
    sourceType: 'module',
  },
  extends: ['@spartanbio/eslint-config-vue'],
};

Contributors



alexkcollier
commits

Dependencies


DevDependencies


Categories: Vue js
Tags: