Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

ESLint Dev Container Feature

ESLint statically analyzes your code to quickly find problems. It is built into most text editors and you can run ESLint as part of your continuous integration pipeline.

ESLint

This Dev Container Feature installs the eslint CLI globally using Node.js and npm to run npm install -g eslint.

Usage

Codespaces Devcontainers

// devcontainer.json
"features": {
    "ghcr.io/devcontainers-community/features/eslint": {}
}

Options

You can specify a specific ESLint version like this:

// devcontainer.json
"features": {
    "ghcr.io/devcontainers-community/features/eslint": {
        "version": "8.0.0"
    }
}