@weni/eslint-config
v1.0.4
Published
Weni's ESLint config
Downloads
828
Readme
Weni ESLint Config
ESLint config with Prettier rules used in Weni's projects.
Setup
First of all, install the ESLint and Prettier plugin:
yarn add --dev [email protected] [email protected] [email protected]
Vue 2
Install the Vue plugin for ESLint, Vue ESLint parser and Weni ESLint config:
yarn add --dev [email protected] [email protected] @weni/[email protected]
Extend your local .eslintrc.js
with Weni ESLint configuration by adding '@weni/eslint-config/vue2'
to extends
attribute:
module.exports = {
extends: ['@weni/eslint-config/vue2'],
};