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

@kettil/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kettil/eslint-config

The library is a collection of very strict ESLint rules.

  • 4.10.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
decreased by-48.39%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint rules collection

npm

The library is a collection of very strict ESLint rules.

Installation

npm install -D eslint @kettil/eslint-config

The following additional ESLint plugins are included by default:

Pluginrequired
eslint-plugin-import-
eslint-plugin-unicorn-
eslint-plugin-node-
eslint-plugin-eslint-comments-
eslint-plugin-sonarjs-
eslint-plugin-regexp-
@typescript-eslint/parsertypescript
@typescript-eslint/eslint-plugintypescript
eslint-plugin-reactreact
eslint-plugin-react-hooksreact
eslint-plugin-jsx-a11yreact
eslint-plugin-formatjsreact-intl
eslint-plugin-jestjest
eslint-plugin-testing-library@testing-library/react or @testing-library/react-hooks
eslint-plugin-jest-dom@testing-library/jest-dom

If the required library is installed, the rules are activated automatically. Additionally, rules are adjusted if the libraries next.js, and redux are installed.

Quick Start

If you want to use the rule collection, create the file .eslintrc.json with the following content:

{
  "extends": "@kettil"
}

or alternative for the browser @kettil/eslint-config/browser.

Keywords

FAQs

Package last updated on 22 Aug 2023

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