🚀 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
11
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mediamonks/eslint-config-vue

This package provides a Vue TypeScript eslint configuration as an extensible shared config, based on the [MediaMonks Coding Standards](https://github.com/mediamonks/frontend-coding-standards).

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
11
Created
Source

@mediamonks/eslint-config-vue npm version

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

Installation

The configuration has a number of peer dependencies that must be installed.

npm i --dev @mediamonks/eslint-config-vue

Note for yarn users: yarn does not install peer dependencies by default, this can be supplemented with install-peerdeps. Because this config depends on @mediamonks/eslint-config-base, you will first have to install its peer dependencies.

npx install-peerdeps --dev --only-peers @mediamonks/eslint-config-base
npx install-peerdeps --dev @mediamonks/eslint-config-vue

Usage

Now you can add @mediamonks/eslint-config-vue to your .eslintrc. Adding parserOptions.project is only required if your project is using TypeScript.

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

Formatting & Prettier

This eslint configuration purposely had its formatting rules disabled. We encourage to use prettier for formatting using the @mediamonks/prettier-config.

Keywords

Media.Monks

FAQs

Package last updated on 15 Mar 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