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

eslint-config-mahir

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-mahir

The ultimate ESLint shareable config

  • 0.0.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
120
increased by15.38%
Maintainers
1
Weekly downloads
 
Created
Source

Mahir ESLint Config

The ultimate ESLint shareable config. This config includes all of the ESLint rules that I use in my projects.


npm version npm downloads

Installation

npm install --save-dev eslint eslint-config-mahir

Usage

Add in your ESLint config

{
	"extends": [
		"mahir/common",
		"mahir/node",
		"mahir/module",
		"mahir/typescript",
		"mahir/react",
		"mahir/next",
		"mahir/edge",
		"mahir/prettier"
	]
}

You can remove any of the configs you don't need.

Warning:

Use mahir/prettier last, as it disables all rules that might conflict with Prettier.

Note:

For typescript users, mahir/typescript will try to find a tsconfig with name tsconfig.eslint.json in the root of your project. If you want to use a different name, you can change it in your eslint config like this:

{
	"parserOptions": {
		"project": "./tsconfig.json"
	}
}

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Parbez
Parbez

💻 🚧 🤔
WhiteSource Renovate
WhiteSource Renovate

🚧

This project follows the all-contributors specification. Contributions of any kind welcome!

Keywords

FAQs

Package last updated on 05 Oct 2022

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