1.0.3 • Published 6 months ago
eslint-config-zdo v1.0.3
eslint-config-zdo
A reusable ESLint configuration package for JavaScript and TypeScript projects, designed to enforce coding standards and best practices.
Installation
To use this configuration in your project, install it as a dev dependency:
npm install --save-dev eslint-config-zdo
or if you are using Yarn:
yarn add --dev eslint-config-zdo
Usage
For JavaScript Projects
Create or update your ESLint configuration file (eslint.config.js
) to use the eslint-config-zdo
configuration:
import eslintConfigzdo from 'eslint-config-zdo/js';
export default eslintConfigzdo;
For TypeScript Projects
For TypeScript, use the TypeScript-specific configuration:
import eslintConfigzdo from 'eslint-config-zdo/ts';
export default eslintConfigzdo;
Features
- JavaScript and JSX Support: Includes rules for modern JavaScript and React projects.
- TypeScript Support: A separate configuration optimized for TypeScript projects.
- Best Practices: Enforces strict linting rules to ensure clean and maintainable code.
- Customization: Extend or override rules based on your project’s needs.
License
This project is licensed under the ISC License. See the LICENSE file for details.