leeor / sentry-lint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sentry-based Linter

This tool is similar to eslint but the output is based on error reports logged to sentry.io's.

Each error report provides a link to the issue on Sentry.

VIM Plugin

Using Plug, add the following to your vim.rc:

Plug 'leeor/sentry-lint', { 'do': 'npm i && npm run build' }

Note: node and npm are required to build and run this tool.

Configuration

Global, Per User

Create a file named .sentrylint.json in your home directory, with the following schema:

{
  "project-name": {
    "org": "<sentry organization name>",
    "token": "<Sentry API authorization token>"
  }
}

Project

In the root of each project add a .sentryrc file that contains the name of the project in Sentry:

project-name

About

License:MIT License


Languages

Language:OCaml 95.3%Language:Vim Script 4.7%