Defines a set of rules used by ESLint to enforce our JS/TS coding standards for Vue projects
yarn add @destination/eslint-config-vue eslint --dev
Add the following to your project's ruleset e.g. in package.json
:
{
"eslint": {
"extends": "@destination/eslint-config-vue"
}
}
Run eslint
as normal e.g.:
yarn eslint 'assets/**/*.{js,ts,vue}'
Released under the MIT license