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

eslint-plugin-data-force

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-data-force

## Installation

  • 1.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
increased by750%
Maintainers
1
Weekly downloads
 
Created
Source

Data Force Eslint Config

Installation

pnpm add --dev eslint-plugin-data-force

Usage

Create the file .eslint.json in your root folder and add the following configuration, depending on your application or package.

You can use one or multiple of these, for example, in a React app that uses TypeScript and Jest, you'd use the following config:

{
  "root": true,
  "extends": [
    "plugin:data-force/typescript",
    "plugin:data-force/react",
    "plugin:data-force/reacttsx",
    "plugin:data-force/jest",
    "plugin:data-force/recommended"
  ],
}

JavaScript / Base

{
  "extends": "plugin:data-force/recommended"
}

TypeScript

{
  "extends": "plugin:data-force/typescript"
}

React

{
  "extends": "plugin:data-force/react"
}

React with TypeScript

{
  "extends": "plugin:data-force/reacttsx"
}

Jest

{
  "extends": "plugin:data-force/jest"
}

Mocha

{
  "extends": "plugin:data-force/mocha"
}

FAQs

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