2.0.0 • Published 10 months ago

@codewithhong/eslint-config v2.0.0

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

@codewithhong/eslint-config

The ESLint configuration for TypeScript projects by codewithhong.

Installation

Install the package via npm or yarn:

npm install --save-dev @codewithhong/eslint-config

# or

yarn add --dev @codewithhong/eslint-config

Usage

Extend the configuration in your ESLint configuration file:

module.exports = {
  extends: ['@codewithhong/eslint-config'],
}

Configuration

The configuration includes the following plugins and extends:

  • eslint:recommended
  • plugin:react/recommended
  • plugin:@typescript-eslint/recommended
  • plugin:@typescript-eslint/eslint-recommended
  • plugin:react-hooks/recommended
  • plugin:jsx-a11y/recommended
  • plugin:prettier/recommended
  • simple-import-sort
  • unused-imports

License

This project is licensed under the MIT License.