Socket
Socket
Sign inDemoInstall

eslint-config-digitalbazaar

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-digitalbazaar

Digital Bazaar's eslint rules


Version published
Weekly downloads
1.5K
decreased by-32.93%
Maintainers
4
Weekly downloads
 
Created
Source

eslint-config-digitalbazaar

This package provides Digital Bazaar's .eslintrc.js as an extensible shared config.

Usage

We only export one config that can be used to extend your root .eslintrc.js

Installation

If you do not have eslint installed:

npm i -D eslint
npm i -D eslint-config-digitalbazaar

To start an eslint config file (choose .eslintrc.js):

npx eslint --init

Instructions:

  • inside your .eslintrc.js add "eslint-config-digitalbazaar" to your extends array
  • then add envs node, browser, or mocha to the relevant dirs

Example .eslintrc.js root setup:

module.exports = {
  root: true,
  extends: ['eslint-config-digitalbazaar']
}

To use the vue rules you will need to install the vue-eslint-plugin

npm i -D eslint-plugin-vue

Example .eslintrc.js Vue setup:

module.exports = {
  extends: ['eslint-config-digitalbazaar/vue']
}

Keywords

FAQs

Package last updated on 04 Feb 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