Skip to content
On this page

ESLint Config

Every project uses the same ESlint config. This is to ensure that all projects are consistent and that we don't have to spend time on code style.

NPM Package


1. Install the package

`npm i -D @appwise/eslint-config-vue`

2. Add the following to your .eslintrc.json:

If you don't have one yet, you may create one in the root of your project.

  "extends": "@appwise/eslint-config-vue"

3. Add a script to package.json

  "scripts": {
    "lint": "eslint --ext .ts,.vue src"

4. Profit

Enjoy the awesome code style!

Rules overview

  • Single quotes
  • No semicolons
  • No trailing commas
  • No console logs