@vue-storefront/eslint-config-nuxt

5,433
Install
npm install @vue-storefront/eslint-config-nuxt
Latest Version:1.1.2
License:MIT
Last Updated:Oct 5, 2022
Links: npm
Maintainer: filrak

@vue-storefront/eslint-config-nuxt

npm version npm downloads License

Vue Storefront eslint standards for Nuxt 3

Information

Eslint configuration for:

  • JavaScript
  • Typescript
  • Nuxt 3
  • 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
  • Nuxt
  • JSON
  • YAML / YML
  • Markdown

Usage

Install
pnpm add -D eslint @vue-storefront/eslint-config-nuxt
Config .eslintrc
{
  "extends": "@vue-storefront/eslint-config-nuxt"
}

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-nuxt

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

Related Packages

@nyvoru/eslint-config

Opinionated ESLint config for Nyvoru Vue and Nuxt projects

521 0
@scayle/storefront-nuxt

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

152,903
nuxt-tsconfig-stub

Stub Nuxt's generated tsconfig.json at installation

70,835 24

Version History

Version Released License
1.1.2 MIT
1.1.1 MIT
1.1.0 MIT
1.0.17 MIT
1.0.16 MIT
Pre-releases (1)
Version Released License
1.0.8-beta.1 MIT