@monteway/eslint
v0.4.2
Published
Full ESLint config for Monterail projects
Downloads
1,039
Maintainers
Readme
@monteway/eslint
Shareable ESLint configuration for Node or React projects. Provides out-of-the-box configuration for common rules we used in Monterail projects. Supports React, imports syntax, import aliases and prettier.
Install
npm i -D eslint @monteway/eslint
Usage
Simply create your ESLint config file with following content:
/** @type {import('eslint').Linter.Config} */
module.exports = {
root: true,
extends: require.resolve('@monteway/eslint/config'),
};
If you have Next.js project, prefer using
@monteway/eslint-next
instead which extends also Next.js's core ESLint config.
Preferred way to add ESLint support is to use@monteway/app extend
command.