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

@kiwi-lib/eslint-config

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

@kiwi-lib/eslint-config

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

Eslint Config

Usage

1. Install

1.1 Install package
y add -D @kiwi-lib/eslint-config
1.2 Install dependencies, if you use yarn berry
y add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier prettier

2. config eslint

Edit your .eslintrc.js

module.exports = {
	extends: ['@kiwi-lib'],
	// or
  	// extends: ['@kiwi-lib/eslint-config'],
}

3. config prettier

Edit your package.json

{
	"prettier": "@kiwi-lib/eslint-config/prettier.config"
}

4. Create tsconfig.eslint.json

Add the path to be linted to "include" and not to be linted to "exclude"

{
	"extends": "./tsconfig.json",
	"include": ["src", "test"],
	"exclude": ["node_modules"]
}

Keywords

FAQs

Package last updated on 20 Nov 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