1.3.3 • Published 10 months ago

@dm3yb/next14-codestyle-config v1.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

MIT License

NextJS v14 Code Style Package

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.


Requirements

"eslint": "^8.0.0"
"prettier": ">= 3.3.3"

Installation

using npm:

$ npm install -D @dm3yb/next14-codestyle-config prettier

using yarn:

$ yarn add -D @dm3yb/next14-codestyle-config prettier

using pnpm:

$ pnpm add -D @dm3yb/next14-codestyle-config prettier

Setup

Create 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');

License

MIT © Dmitry Bobryshev


Issues

If you encounter any issues or have suggestions, please create an issue.


Contributing

Contributions are welcome! Please feel free to submit a Pull Request.