mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Fix lint
This commit is contained in:
parent
0a0f51ea75
commit
da20ebc855
@ -25,7 +25,9 @@
|
||||
"start:webhooks": "node --require source-map-support/register lib/App/GithubWebhookApp.js",
|
||||
"start:matrixsender": "node --require source-map-support/register lib/App/MatrixSenderApp.js",
|
||||
"test": "mocha -r ts-node/register tests/*.ts tests/**/*.ts",
|
||||
"lint": "eslint -c .eslintrc.js src/**/*.ts",
|
||||
"lint": "yarn run lint:js && yarn run lint:rs",
|
||||
"lint:js": "eslint -c .eslintrc.js src/**/*.ts",
|
||||
"lint:rs": "cargo fmt --all -- --check",
|
||||
"generate-default-config": "node lib/Config/Defaults.js --config > config.sample.yml"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -1,8 +1,8 @@
|
||||
use crate::Jira;
|
||||
use crate::Jira::types::{JiraIssue, JiraIssueLight};
|
||||
use contrast;
|
||||
use md5::{Md5, Digest};
|
||||
use napi::{CallContext, Env, Error as NapiError, JsObject, JsUnknown, Status, JsString};
|
||||
use md5::{Digest, Md5};
|
||||
use napi::{CallContext, Env, Error as NapiError, JsObject, JsString, JsUnknown, Status};
|
||||
use rgb::RGB;
|
||||
use std::fmt::Write;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user