1.1.2 • Published 2 years ago

@vue-storefront/eslint-config-nuxt2 v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@vue-storefront/eslint-config-nuxt2

@vue-storefront/eslint-config-nuxt2

npm version npm downloads License

Vue Storefront eslint standards for Nuxt 2

Information

Eslint configuration for:

  • JavaScript
  • Typescript
  • Nuxt 2
  • Vue 2

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

Config .eslintrc

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

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

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

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.9

2 years ago

1.0.8-beta.1

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago