Socket
Book a DemoInstallSign in
Socket

eslint-config-reearth

Package Overview
Dependencies
Maintainers
5
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-reearth

An extensible shared ESLint config for Re:Earth projects (ESlint v9+)

latest
Source
npmnpm
Version
0.3.8
Version published
Maintainers
5
Created
Source

eslint-config-reearth

An extensible shared ESLint config for Re:Earth projects (ESlint v9+)

How to install

npm install --save-dev eslint prettier eslint-config-reearth
yarn add --dev eslint prettier eslint-config-reearth
pnpm install -D eslint prettier eslint-config-reearth

Then edit your ESLint config file:

ESLint config (eslint.config.mjs)

import config from "eslint-config-reearth";

/** @type { import("eslint").Linter.Config[] } */
export default [...config("projectName", { reactRecommended: true })];
  • Only config that uses .mjs is supported.
  • Legacy config (.eslintrc) is no longer supported.

package.json scripts (example)

{
  "scripts": {
    "lint": "eslint .",
    "fix": "eslint --fix .",
    "format": "prettier --write ."
  }
}

VSCode settings

See settings.json and extensions.json.

Config

NOTE: Using Prettier via ESLint is no longer supported. Use prettier-vscode.

FAQs

Package last updated on 25 Feb 2025

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.