Skip to content
| Marketplace
Sign in
Visual Studio Code>Extension Packs>STEF Good CopNew to Visual Studio Code? Get it now.
STEF Good Cop

STEF Good Cop

Guillaume Rolland

|
35 installs
| (0) | Free
VS Code extension pack for STEF IT good practices in security and quality.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

STEF Good Cop - VS Code Extension 🛡️

🔥 Code securely with STEF Good Cop! 🚀

STEF Good Cop is a VS Code extension that automatically applies best practices for security and code quality used at STEF IT.

It installs and configures ESLint, Prettier, Stylelint, OSV Vulnerability Check, and SonarQube, ensuring clean and secure code from the first commit.


🚀 Features

✅ Automatic Best Practices Installation

Upon activation, the extension:

  • Installs essential extensions:

    • ESLint
    • Prettier
    • Stylelint
    • OSV Vulnerability Check
    • SonarLint
  • Applies default company configurations:

    • ESLint → @stef-it-digital/goodcop-eslint-config
    • Prettier → @stef-it-digital/goodcop-prettier-config
    • Stylelint → @stef-it-digital/goodcop-stylelint-config
  • Updates the settings.json automatically to apply these configurations.


⚙️ Configuration

The extension automatically modifies the VS Code settings for all projects, without the need to configure each repository individually.

📌 Parameters added in settings.json:

{
  "eslint.options": {
    "configFile": "${extensionPath}/config/eslint.config.mjs"
  },
  "prettier.configPath": "${extensionPath}/config/prettier.config.mjs",
  "stylelint.config": "${extensionPath}/config/stylelint.config.mjs",
  "sonarlint.connectedMode.connections.sonarqube": [
      {
        "connectionId": "stefSonar",
        "serverUrl": "https://sonar.stef.com/sonar"
      }
  ],
}

🛠️ Usage

🚀 Automatic Activation

The extension activates automatically as soon as VS Code starts.

🔧 Manually Apply Settings

If the settings are not automatically updated, you can manually trigger them with the following command:

  1. Open the Command Palette (Ctrl+Shift+P)
  2. Search for Update VSCode Settings
  3. Press Enter ✅

You should see a confirmation message:

✅ settings.json successfully updated!
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft