@vue-storefront/eslint-config-vue

1.1.2 • Public • Published

@vue-storefront/eslint-config-vue

@vue-storefront/eslint-config-vue

npm version npm downloads License

Vue Storefront eslint standards for Vue 3

Information

Eslint configuration for:

  • JavaScript
  • Typescript
  • Vue 3

For this eslint config package, we enable the following community standards:

  • AirBnb
  • Prettier

This configuration provides eslint rules for the following:

  • TypeScript
  • Vue
  • JSON
  • YAML / YML
  • Markdown

Usage

Install

pnpm add -D eslint @vue-storefront/eslint-config-vue

Config .eslintrc

{
  "extends": "@vue-storefront/eslint-config-vue"
}

Config VS Code auto fix

Update your .vscode/settings.json and add the following

{
  "prettier.enable": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

Contributing

You can contribute to this module online with CodeSandBox:

Edit @vue-storefront/eslint-config-vue

Or locally:

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using yarn dev or npm run dev

License

MIT License

Copyright (c) Vue Storefront

Package Sidebar

Install

npm i @vue-storefront/eslint-config-vue

Weekly Downloads

89

Version

1.1.2

License

MIT

Unpacked Size

7.43 kB

Total Files

11

Last publish

Collaborators

  • mtokarskivsf
  • dzalewski
  • rickrohrig
  • macryb
  • skirianov
  • wojciechsikora
  • filrak
  • fifciuu
  • lukasborawski