@monteway/eslint-next
v0.4.2
Published
Full ESLint config for Monterail projects based on Next.js
Downloads
3
Maintainers
Readme
@monteway/eslint-next
Shareable ESLint configuration for Next.js projects. This config is built on top of @monteway/eslint
and just adds support for Next.js rules offered by eslint-config-next
.
Install
npm i -D eslint @monteway/eslint-next
Usage
Simply create your ESLint config file with following content:
/** @type {import('eslint').Linter.Config} */
module.exports = {
root: true,
extends: require.resolve('@monteway/eslint-next/config'),
};
Preferred way to add ESLint support is to use
@monteway/app extend --template next
command.