@hoangdevnull/eslint-config-next

1.0.1 • Public • Published

@hoangdevnull/eslint-config-next

This package provides an ESLint configuration tailored for Next.js projects, integrating both Prettier and Tailwind CSS. Ensure that Prettier and Tailwindcss are installed in your project before proceeding.

Installation

npm install -D @hoangdevnull/eslint-config-next

This command installs the package along with all necessary peer dependencies.

Configuration

After installation, set up the ESLint configurreating a file named .eslintrc.js in the root directory of your Next.js project. Populate this file with the following code to extend the ESLint rules from this package:ation by c

module.exports = {
  extends: ["@hoangdevnull/eslint-config-next"],
};

This setup will incorporate the custom ESLint rules provided by @hoangdevnull/eslint-config-next into your project, enabling a consistent coding style that leverages the best practices of Next.js, Prettier, and Tailwind CSS.

Package Sidebar

Install

npm i @hoangdevnull/eslint-config-next

Weekly Downloads

35

Version

1.0.1

License

MIT

Unpacked Size

8.19 kB

Total Files

4

Last publish

Collaborators

  • hoangdevnull