Shareable configs for Next.js and typescript apps.
- 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',
};