Skip to content

DawoudSheraz/eslint-custom-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESLint Custom Rules

A collection of custom ESLint rules for enforcing project-specific coding standards.

Installation

npm install

Usage

To use these custom rules in your project:

  1. Install the package
  2. Configure your ESLint configuration file to reference these rules
  3. Run ESLint on your codebase

Custom Rules

  • enforce-default-undefined: Ensures that default values in nullish coalescing operations are set to undefined. (e.g., const value = data?.key ?? undefined;)

About

Creating custom eslint rules for learning and exploration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published