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

@formsort/eslint-config

Package Overview
Dependencies
Maintainers
7
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formsort/eslint-config

Formsort standard ESLint config

  • 1.4.7
  • latest
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

@formsort/eslint-config

Shared ESLint configuration for use across all projects

Usage

  1. Install this project and its peerDependencies in your respository:
yarn add --dev @formsort/eslint-config eslint-plugin-prefer-arrow eslint-plugin-jsdoc@24 eslint-plugin-prettier eslint-config-prettier eslint-plugin-import prettier eslint-plugin-react @typescript-eslint/eslint-plugin
  1. Ensure that your project has a tsconfig.json in the root. If you want, use the formsort common tsconfig.
  2. Create a .eslintrc.js in the root with the following content:
module.exports = {
  extends: "@formsort/eslint-config"
};
  1. For convenience, you may want to add the following scripts to your package.json
{
  "scripts": {
    "format": "eslint --ext .ts,.tsx src --fix",
    "lint": "eslint --ext .ts,.tsx src"
  }
}

FAQs

Package last updated on 27 Apr 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