New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@inthepocket/eslint-config-web

Package Overview
Dependencies
Maintainers
11
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inthepocket/eslint-config-web

This contains all ESLint rules to lint a web project, maintained by the web practice. It contains a set of rules that ensure consistency throughout projects created at In The Pocket.

  • 1.3.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-94.23%
Maintainers
11
Weekly downloads
 
Created
Source

@inthepocket/eslint-config-web

This contains all ESLint rules to lint a web project, maintained by the web practice. It contains a set of rules that ensure consistency throughout projects created at In The Pocket.

Keep in mind that this serves as a guiding principle, meaning that while we believe it should be included in every project because of the solid baseline it provides, you're allowed to turn off or add new rules based on the team's preferences.

Usage

Install

npm i -D @inthepocket/eslint-config-web

Configure ESLint

create an .eslintrc.js file with the following:

/** @type {import("eslint").Linter.Config} */
module.exports = {
  extends: ['@inthepocket/eslint-config-web'],
};

Add Lint script

{
  "scripts": {
    "lint": "eslint '**/*.{js,jsx,ts,tsx}' --fix"
  }
}

FAQs

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