@gluwa/eslint-config-ts-react
v1.0.2
Published
eslint configuration for ts with react
Downloads
251
Readme
@gluwa/eslint-config-ts-react
This is the configuration package for ESLint used in Gluwa projects.
Installation
Before you begin, make sure you have the following peer dependencies and a dependency installed:
Peer Dependencies:
- @gluwa/eslint-config-js (1.0.2)
- @gluwa/eslint-config-ts (1.0.2)
- @gluwa/eslint-config-js-react (1.0.2)
- eslint (^8.52.0)
- eslint-config-standard (^17.1.0)
- eslint-plugin-import (^2.29.0)
- eslint-plugin-n (^16.2.0)
- eslint-plugin-promise (^6.1.1)
- eslint-plugin-react (^7.33.2)
- eslint-plugin-react-hooks (^4.6.0)
- eslint-config-standard-with-typescript (^39.1.0)
- typescript (^5.2.2)
- @typescript-eslint/eslint-plugin (^6.7.4)
- @typescript-eslint/parser (^6.7.4)
You can install them using npm:
npm install @gluwa/[email protected] @gluwa/[email protected] @gluwa/[email protected] @gluwa/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] @typescript-eslint/[email protected] @typescript-eslint/[email protected] --save-dev
Usage
To use this ESLint configuration in your project, you can extend it in your ESLint configuration file (e.g., .eslintrc.js):
module.exports = {
extends: '@gluwa/eslint-config-ts-react',
// Additional project-specific rules or overrides can be added here.
};