Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-formatter-gha

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-formatter-gha

ESLint formatter for GitHub Actions

  • 1.5.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

ESLint Formatter for GitHub Actions

Build and Test CodeQL Quality Gate Status

A custom formatter for ESLint that creates annotations for GitHub Actions.

Installation

npm install --save-dev eslint-formatter-gha

Usage

eslint . -f gha

If eslint-formatter-gha detects that ESLint runs in a GitHub runner (GITHUB_ACTIONS environment variable has the value of true), it creates annotations for GitHub Actions. Otherwise, it invokes ESLint's stylish formatter.

Since 1.1.0: If the SONARSCANNER environment variable equals true, the formatter produces the result in the JSON format. Additionally, if the GITHUB_WORKSPACE environment variable has a non-empty value, eslint-formatter-gha writes the generated JSON into ${GITHUB_WORKSPACE}/eslint-report.json file.

Sample Output

Inline Annotations

Keywords

FAQs

Package last updated on 28 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc