@lednhatkhanh/eslint-config-next-app

My shareable eslint configs for next.js app


Keywords
eslint, react, typescript, next.js, jest
License
MIT
Install
npm install @lednhatkhanh/eslint-config-next-app@0.0.3

Documentation

Eslint config next app

Shareable configs for Next.js and typescript apps.

Install

  • Create a .npmrc file and add this line:
registry=https://npm.pkg.github.com/OWNER

and replace OWNER with your Github's username.

  • Run
npm i -D @lednhatkhanh/eslint-config-next-app
  • Add a .eslintrc.js file and add:
'use strict';

module.exports = {
  extends: '@lednhatkhanh/eslint-config-next-app',
};