@jakubserwin/eslint-config v2.0.5
@jakubserwin/eslint-config
This package is designed for Next and React projects.
If you are looking for an ESLint config for Nuxt and Vue projects, please visit this URL.
It provides a custom ESLint configuration, @jakubserwin/eslint-config
, to help you maintain consistent code style and enforce best practices in your projects including:
- Accessibility
- React Hooks
- Tailwind
- Prettier
- Sorted imports
- and more..
Installation
To install the package, follow these steps:
- Open your terminal or command prompt.
- Navigate to your project directory.
- Run one of the following commands based on your preferred package manager:
# Using pnpm
pnpm i -D @jakubserwin/eslint-config
# Using npm
npm i -D @jakubserwin/eslint-config
# Using yarn
yarn add -D @jakubserwin/eslint-config
Configuration
To configure ESLint to use @jakubserwin/eslint-config
, follow these steps:
- Create a
.eslintrc.js
file in the root directory of your project if you don't have one already. Open the
.eslintrc.js
file and add the following code:module.exports = { extends: ['@jakubserwin/eslint-config'], }
Save the file.
- Sometimes a reload is required in VS Code
Contributing
Contributions to this ESLint configuration package are welcome! If you have any suggestions, improvements, or bug fixes, please open an issue or submit a pull request on the GitHub repository for this project.
License
This project is licensed under the MIT License.
6 months ago
7 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago