@mintlify/eslint-config-next

1.0.18 • Public • Published

Shared ESLint configuration (next)

ESLint is used for code linting.

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-next

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

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

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

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

Add Configuration File

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i @mintlify/eslint-config-next

Weekly Downloads

99

Version

1.0.18

License

MIT

Unpacked Size

1.62 kB

Total Files

3

Last publish

Collaborators

  • rickyzhangca-mintlify
  • ronan-mintlify
  • hahnbee
  • hanmint