New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vevo/eslint-config-vevo

Package Overview
Dependencies
Maintainers
25
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vevo/eslint-config-vevo

Default eslint config for web projects

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-86.67%
Maintainers
25
Weekly downloads
 
Created
Source

eslint-config-vevo

Project eslint-config-vevo managed by the web team

GOCD Pipeline

Installation/Updating

ESLint still requires plugins to be installed in each project's directory, so you'll have to run a little script to install all of the packages required when building a new package. If you are updating eslint versions, then you will want to rerun this to install the correct peer dependencies.

(
  export PKG=@vevo/eslint-config-vevo;
  yarn add --dev $PKG
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs yarn add --dev "$PKG@latest"
)

make a config file: .eslintrc.js:

module.exports = {
  extends: ["@vevo/eslint-config-vevo"]
};

Fix issues in npm:

scripts: {
  "lint": "eslint src/**/*.{js,jsx}",
  "lint:fix": "prettier-eslint src/**/*.{js,jsx} --write",
}

Autofixing with VS Code

Install both prettier and eslint plugins, then add these lines to your user preferemnces file (CMD+SHIFT+P+user).

// Set the default
"editor.formatOnSave": true,
"prettier.eslintIntegration": true,
// Enable per-language
"javascript.format.enable": false,

Keywords

FAQs

Package last updated on 21 Oct 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

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