Socket
Book a DemoInstallSign in
Socket

@ifanrx/eslint-config-standard-react

Package Overview
Dependencies
Maintainers
5
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ifanrx/eslint-config-standard-react

An ESLint shared standard configuration for React.

1.3.0
latest
npmnpm
Version published
Maintainers
5
Created
Source

说明

@ifanrx/eslint-config-standard-react 总是与 @ifanrx/eslint-config-standard@ifanrx/eslint-config-standard-ts 搭配使用。

.eslintrc.js 配置文件的 extends 中,@ifanrx/standard@ifanrx/standard-ts 总是放在最后一个。

使用方法

React + JavaScript

pnpm install @ifanrx/eslint-config-standard-react @ifanrx/eslint-config-standard -D
// .eslintrc.js
module.exports = {
  root: true,
  extends: ['@ifanrx/standard-react', '@ifanrx/standard'],
}

React + TypeScript

pnpm install @ifanrx/eslint-config-standard-react @ifanrx/eslint-config-standard-ts -D
// .eslintrc.js
module.exports = {
  root: true,
  extends: ['@ifanrx/standard-react', '@ifanrx/standard-ts'],
}

Keywords

eslint

FAQs

Package last updated on 28 Mar 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.