@smartlinkdev/eslint-config-vue
v0.2.6
Published
An opinionated eslint config for Vue projects.
Downloads
11
Readme
Smartlink ESLint Config for Vue
Getting Started
Installation
- Add this package to your devDependencies
$ npm i -D @smartlinkdev/eslint-config-vue
# or
$ yarn add -D @smartlinkdev/eslint-config-vue
- Install
eslint
if not already present locally or globally
$ npm i -D eslint
# or
$ yarn add -D eslint
- Create a
.eslintrc.js
file
$ touch .eslintrc.js
- 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.