A comprehensive ESLint and prettier configuration package created for Next.js v14 projects. This package provides a standardized code style setup with support for Next.js, and TailwindCSS.
"eslint": "^8.0.0"
"prettier": ">= 3.3.3"using npm:
$ npm install -D @dm3yb/next14-codestyle-config prettierusing yarn:
$ yarn add -D @dm3yb/next14-codestyle-config prettierusing pnpm:
$ pnpm add -D @dm3yb/next14-codestyle-config prettierCreate or update .eslintrc.js in your project root:
you probably need to rename the file:
.eslintrc.json->.eslintrc.js
// .eslintrc.js
module.exports = require('@dm3yb/next14-codestyle-config/.eslintrc.js');Create or update prettier.config.js in your project root:
// prettier.config.js
module.exports = require('@dm3yb/next14-codestyle-config/prettier.config.js');MIT © Dmitry Bobryshev
If you encounter any issues or have suggestions, please create an issue.
Contributions are welcome! Please feel free to submit a Pull Request.