Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>ESLint Rules by GeffenNew to Visual Studio Code? Get it now.
ESLint Rules by Geffen

ESLint Rules by Geffen

Eslint Regras Front Gefen

|
58 installs
| (0) | Free
VS Code extension enforcing custom ESLint rules for better code practices
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ESLint Rules by Geffen

VS Code extension that enforces custom ESLint rules for better code practices.

Features

  • Detects usage of || and ?? operators
  • Suggests using tryGetOrDefault() instead
  • Provides quick fixes to automatically convert operators
  • Real-time diagnostics as you type

Usage

The extension automatically activates for TypeScript and JavaScript files. When you use || or ?? operators, you'll see a warning suggesting to use tryGetOrDefault() instead.

To fix:

  1. Click on the warning
  2. Select "Convert to tryGetOrDefault()" from the quick fixes

Requirements

  • Visual Studio Code 1.85.0 or newer

Extension Settings

This extension contributes no additional settings.

Release Notes

0.0.1

Initial release:

  • Detection of || and ?? operators
  • Quick fix to convert to tryGetOrDefault()
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft