Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zonedigital/eslint-config-vue

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zonedigital/eslint-config-vue

This package provides Zone's JavaScript style guide for Vue as an extensible shared config.

  • 5.0.0-alpha.1
  • next
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
77
increased by57.14%
Maintainers
2
Weekly downloads
 
Created
Source

@zonedigital/eslint-config-vue

Part of Zone Frontend npm downloads

This package provides Zone's JavaScript style guide for Vue as an extensible shared config. It extends Zones base config.

Installation

Yarn

yarn add @zonedigital/eslint-config-vue

NPM

npm i @zonedigital/eslint-config-vue

Usage

Add the Zone rules to your eslint config. Be sure to add as the last item.

{
  "extends": [..., "@zonedigital/eslint-config-vue"],
  // ... project config here, if any ...
}

Compat

This config uses eslint-plugin-compat. It lints the browser compatibility of your code via Browserslist.

Adding polyfills

If for example you are using fetch and it is not supported by all the browsers in your support matrix then you can add a polyfill. To tell the linter you have done this, add a reference to the polyfill.

Optional but recommended: Remove duplicated rules from your eslint config.

Keywords

FAQs

Package last updated on 05 Dec 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc