2.0.5 • Published 2 years ago

@jakubserwin/eslint-config v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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:

  1. Open your terminal or command prompt.
  2. Navigate to your project directory.
  3. 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:

  1. Create a .eslintrc.js file in the root directory of your project if you don't have one already.
  2. Open the .eslintrc.js file and add the following code:

    module.exports = {
      extends: ['@jakubserwin/eslint-config'],
    }
  3. Save the file.

  4. 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.

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.1

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.0

2 years ago

0.0.1

2 years ago

2.0.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago