Socket
Socket
Sign inDemoInstall

eslint-config-bdougherty

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-bdougherty

My default ESLint config.


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-bdougherty

ESLint shareable config for my personal projects.

Install

yarn add eslint-config-bdougherty

Usage

This config contains a couple rule overrides and is primarily designed to be used with XO. Add the following to package.json:

{
  "xo": {
    "extends": "bdougherty"
  }
}

This package also exposes other configs that can be used for specific types of projects.

bdougherty/browser for browser-based projects:

{
  "xo": {
    "extends": "bdougherty/browser"
  }
}

bdougherty/vue for Vue.js-based projects:

{
  "xo": {
    "extends": "bdougherty/vue",
    "extensions": [
      "vue"
    ]
  }
}

bdougherty/nuxt for Nuxt.js-based projects:

{
  "xo": {
    "extends": "bdougherty/nuxt",
    "extensions": [
      "vue"
    ]
  }
}

bdougherty/svelte for Svelte-based projects:

{
  "xo": {
    "extends": "bdougherty/svelte",
    "extensions": [
      "html"
    ]
  }
}

bdougherty/sapper for Sapper-based projects:

{
  "xo": {
    "extends": "bdougherty/sapper",
    "extensions": [
      "html"
    ]
  }
}

Note: make sure to add the extensions config for both Vue.js and Nuxt.js projects if using single-file components.

License

MIT © Brad Dougherty

Keywords

FAQs

Package last updated on 02 Aug 2018

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