🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@mediamonks/eslint-config-vue

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mediamonks/eslint-config-vue

Source
npmnpm
Version
1.0.0-alpha.4
Version published
Weekly downloads
17
Maintainers
6
Weekly downloads
 
Created
Source

@mediamonks/eslint-config-vue npm version

This package provides a vue TypeScript eslint configuration as an extensible shared config, based on the Frontend Coding Standards.

Usage

The configuration requires eslint, Prettier and TypeScript to be installed. If you are starting a new project and haven't added these packages, then you can quickly add them using install-peerdeps.

npx install-peerdeps --dev @mediamonks/eslint-config-vue

If you already have the packages installed or ran the above script, then you can proceed with adding the config itself.

npm install --save-dev @mediamonks/eslint-config-vue

# OR

yarn add -D @mediamonks/eslint-config-vue

Now you can add @mediamonks/eslint-config-vue to your .eslintrc.

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

NOTE: Depending on your project's use case, it might be required for you to specify your tsconfig.json.

{
  "extends": "@mediamonks/eslint-config-vue",
  "parserOptions": {
    "project": "./tsconfig.json" // can also be an array, if multiple `tsconfig.json` are present
  }
}

FAQs

Package last updated on 04 Mar 2021

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