The Wayback Machine - https://web.archive.org/web/20220928122745/https://github.com/sourcegraph/eslint-formatter-lsif
Skip to content

sourcegraph/eslint-formatter-lsif

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

eslint-formatter-lsif

npm downloads build code style: prettier semantic-release

LSIF exporter for ESLint. Outputs diagnostics.

Install

npm install --save-dev eslint-formatter-lsif
# or
yarn add --dev eslint-formatter-lsif

Usage

eslint 'src/**/*.ts' -f lsif -o dump.lsif

Build

yarn
yarn build

Release

Releases are done automatically in CI when commits are merged into master by analyzing Conventional Commit Messages. After running yarn, commit messages will be linted automatically when committing though a git hook. The git hook can be circumvented for fixup commits with git's fixup! autosquash feature, or by passing --no-verify to git commit. You may have to rebase a branch before merging to ensure it has a proper commit history, or squash merge with a manually edited commit message that conforms to the convention.