Socket
Socket
Sign inDemoInstall

@mintlify/eslint-config

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mintlify/eslint-config

Mintlify shared eslint config (base)


Version published
Maintainers
3
Created
Source

Shared ESLint configuration (base)

ESLint is used for code linting.

The inheritance hierarchy looks like this:

eslint-config (base)
         ^
eslint-config-typescript
         ^
eslint-config-next

To use eslint-config-typescript or eslint-config-next, visit their respective documentation.

Add Dependencies

Install this package and peerDependencies of this package as devDependencies in the project, using install-peerdeps.

npx install-peerdeps --dev @mintlify/eslint-config

Alternatively, you can install this package as devDependency and install the peerDependencies separately.

# yarn
yarn add -D @mintlify/eslint-config

# npm
npm i -D @mintlify/eslint-config

# pnpm
pnpm add -D @mintlify/eslint-config

Add Configuration File

Create a .eslintrc.json file in the project root that extends this package.

{
    "extends": "@mintlify/eslint-config",
    ...
}

FAQs

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