@smartlinkdev/eslint-config-vue

An opinionated eslint config for Vue projects.

Usage no npm install needed!

<script type="module">
  import smartlinkdevEslintConfigVue from 'https://cdn.skypack.dev/@smartlinkdev/eslint-config-vue';
</script>

README

Smartlink ESLint Config for Vue

npm (scoped with tag) npm

Getting Started

Installation

  1. Add this package to your devDependencies
$ npm i -D @smartlinkdev/eslint-config-vue
# or
$ yarn add -D @smartlinkdev/eslint-config-vue
  1. Install eslint if not already present locally or globally
$ npm i -D eslint
# or
$ yarn add -D eslint
  1. Create a .eslintrc.js file
$ touch .eslintrc.js
  1. Extend using the plugin
{
  extends: [
    '@smartlinkdev/eslint-config-vue'
  ]
}

Full example

A full example .eslintrc.js:

module.exports = {
  root: true,
  extends: [
    '@smartlinkdev/eslint-config-vue'
  ]
}

License

MIT license - Smartlink Ventures, Inc.