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.
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.
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>"
}
}
In the root of each project add a .sentryrc
file that contains the name of the project in Sentry:
project-name