CodeDay eslint config.
Install:
$ yarn add --dev @codeday/eslint-config
Edit package.json
:
{
// ...
"prettier": "@codeday/prettier-config"
}
Create .eslintrc.js
:
module.exports = {
extends: ['@codeday'],
};
With Next.js (.eslintrc.js
):
module.exports = {
extends: ['@codeday', 'plugin:@next/next/recommended'],
};