Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-minim

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-minim

Eslint config that only helps you when you are going to mess it up and doesn't bother you about code style

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-minim

npm version License: MIT

ESLint config that only helps you when you are going to mess it up and doesn't bother you about code style

Why?

If you are frustrated extending your ESLint config from eslint-config-standard or eslint-config-airbnb then you are in the right place.

ESLint is an essential tool to lint your code, but sometimes does too much job and could be frustrating. This config is an approach to let ESLint help you, without changing your code style. To mantain a consistent code style I recommend you Prettier, try it and never look back.

Basically eslint-config-minim is just extending the awesome eslint-config-unobtrusive, I recommend you to read the documentation to understand better the main goals and advantages of this approach.

Who should use it

If you use ES6 modules, React, Jest or Cypress this config could be really useful for you.

Installation

  1. Install the package:
npm install --save-dev eslint-config-{minim,unobtrusive} eslint-plugin-{cypress,import,promise,react}
  1. Use this ESLint configuration creating an .eslintrc.json file in the root of your project with this content:
{
  "extends": "minim"
}
  1. If you use a webpack config with resolvers or aliases this config will automatically validate your imports if your webpack config is in the root of your project and is called webpack.config.js, if you have your config in another place just use this in your .eslintrc.json file:
{
  "extends": "minim",
  "settings": {
    "import/resolver": {
      "webpack": {
        "config": "path/to/webpack.base.config.js"
      }
    }
  }
}

Keywords

FAQs

Package last updated on 01 May 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