https://github.com/dm3yb/next14-codestyle-config
This package contains the ESLint and Prettier configuration for modern Next.js projects.
https://github.com/dm3yb/next14-codestyle-config
eslint eslint-config eslint-plugin nextjs nextjs14 prettier prettier-config prettier-eslint prettier-plugin
Last synced: 8 months ago
JSON representation
This package contains the ESLint and Prettier configuration for modern Next.js projects.
- Host: GitHub
- URL: https://github.com/dm3yb/next14-codestyle-config
- Owner: dm3yb
- License: mit
- Created: 2025-01-11T13:16:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-11T21:20:49.000Z (over 1 year ago)
- Last Synced: 2025-02-12T00:17:11.782Z (about 1 year ago)
- Topics: eslint, eslint-config, eslint-plugin, nextjs, nextjs14, prettier, prettier-config, prettier-eslint, prettier-plugin
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@dm3yb/next14-codestyle-config
- Size: 271 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://choosealicense.com/licenses/mit/)
# 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
```bash
"eslint": "^8.0.0"
"prettier": ">= 3.3.3"
```
---
## Installation
using `npm`:
```bash
$ npm install -D @dm3yb/next14-codestyle-config prettier
```
using `yarn`:
```bash
$ yarn add -D @dm3yb/next14-codestyle-config prettier
```
using `pnpm`:
```bash
$ 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`
```js
// .eslintrc.js
module.exports = require('@dm3yb/next14-codestyle-config/.eslintrc.js');
```
Create or update `prettier.config.js` in your project root:
```js
// prettier.config.js
module.exports = require('@dm3yb/next14-codestyle-config/prettier.config.js');
```
---
## License
MIT © [Dmitry Bobryshev](https://dm3yb.dev)
---
## Issues
If you encounter any issues or have suggestions, please [create an issue](https://github.com/dm3yb/next14-codestyle-config/issues).
---
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.