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

@pocket-tools/eslint-config

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pocket-tools/eslint-config

ESLint Config used across Pocket

  • 2.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6K
increased by53.3%
Maintainers
3
Weekly downloads
 
Created
Source

ESLint (and Prettier) config

These are settings for ESLint and Prettier used by Pocket.

What it does

This setup lints your Typescript code based on best practices. Check the .eslintrc.js file to see what is included. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npm i -D @pocket-tools/eslint-config # or yarn install --dev @pocket-tools/eslint-config 
npx install-peerdeps --dev @pocket-tools/eslint-config
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
  'extends': '@pocket-tools/eslint-config'
}
  1. Copy the .prettierrc file from this repository into your project folder

This repository is inspired by eslint-config-wesbos.

Keywords

FAQs

Package last updated on 12 Jul 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