eslint-config-rajeh v0.3.0
ESLint-Config
Config-ESLint is a comprehensive ESLint configuration package that helps you maintain code quality and consistency in your JavaScript and TypeScript projects. This package comes with a predefined set of rules and plugins to streamline your ESLint setup.
Features
- A well-rounded ESLint configuration with carefully selected rules and plugins.
- Supports JavaScript and TypeScript projects.
- Optimized for React development.
- Preconfigured for accessibility (a11y), security, and code formatting (Prettier).
- Ready to use without the need for additional plugin installations.
Installation
You can install ESLint-Config using npm:
npm install -D eslint-config-rajehUsage
To use Config-ESLint, extend its configuration in your ESLint configuration file (e.g., .eslintrc.js):
module.exports = {
extends: [
// Other eslint plugin
"rajeh",
],
// Parse Options
parserOptions: {
project: "./tsconfig.json",
ecmaVersion: "latest",
},
};This simple configuration setup will apply all the recommended rules and plugins included in Config-ESLint.
Dependencies
Config-ESLint includes a wide range of ESLint dependencies, which are already bundled and configured for you. Here's a list of some of the key dependencies:
eslint:recommendedplugin:react/recommendedplugin:react-hooks/recommendedplugin:jsx-a11y/strictplugin:@typescript-eslint/strictplugin:@typescript-eslint/recommendedplugin:@typescript-eslint/recommended-requiring-type-checkingplugin:@typescript-eslint/eslint-recommendedplugin:@typescript-eslint/stylisticplugin:security/recommendedplugin:prettier/recommendedplugin:tailwindcss/recommendedplugin:github/recommendedplugin:github/reactplugin:github/typescriptplugin:sonarjs/recommendedplugin:unicorn/recommendedsimple-import-sortunused-imports
You do not need to install these dependencies separately; they are already bundled and configured within Config-ESLint.
With Config-ESLint in your project, you can focus on writing high-quality code without worrying about ESLint setup complexities. Enjoy coding!
Authors
License
This project is licensed under the MIT License.