Socket
Book a DemoInstallSign in
Socket

@vue-storefront/eslint-config-nuxt2

Package Overview
Dependencies
Maintainers
8
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-storefront/eslint-config-nuxt2

[![@vue-storefront/eslint-config-nuxt2](./cover.png)]()

latest
npmnpm
Version
1.1.2
Version published
Maintainers
8
Created
Source

@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:

  • Clone this repository
  • Install dependencies using yarn install or npm install
  • Start development server using yarn dev or npm run dev

License

MIT License

Copyright (c) Vue Storefront

Keywords

eslint-config

FAQs

Package last updated on 05 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts