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

eslint-config-mic

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-mic

an eslint config used by the development team at mic

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
25
increased by78.57%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-mic

This is a config that contains the linting rules used by developers for Mic!

Installation

  1. Install the config itself.
# install the config itself
npm install --save-dev eslint-config-mic
  1. If you haven't already, install install-peerdeps globally.
npm install -g install-peerdeps
  1. Install the peer dependencies of eslint-config-mic.
install-peerdeps --dev eslint-config-mic
  1. Create an .eslintrc file in the root directory of your project that looks like this:
// .eslintrc
{
  "extends": [
    'mic'
  ]
}

If you would like to use the flow version of the linter make your .eslintrc file look like this:

// .eslintrc
{
  "extends": [
    'mic/flow'
  ]
}
  1. You can run the linter in your npm scripts like this:
"scripts": {
  "lint": "eslint ."
}

FAQs

Package last updated on 17 Oct 2017

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