server: lint, renovate: weekly updates

This commit is contained in:
Max Leiter 2022-04-14 14:58:56 -07:00
parent c0566efc98
commit 683cad2a8d
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA
4 changed files with 4 additions and 5 deletions

View file

@ -1,3 +1,3 @@
{
"extends": ["config:base", "group:allNonMajor"]
"extends": ["config:base", "group:allNonMajor", "schedule:earlyMondays"]
}

View file

@ -2,7 +2,7 @@ import { Post } from "@lib/models/Post"
import { User } from "@lib/models/User"
import { File } from "@lib/models/File"
import { Sequelize } from "sequelize-typescript"
import { createPostFromGist, responseToGist } from ".."
import { createPostFromGist, responseToGist } from ".."
import { GistResponse } from "../fetch"
import { AdditionalPostInformation } from "../transform"
import * as path from "path"
@ -41,7 +41,7 @@ async function createPost(
visibility: "public",
...override
}
return createPostFromGist(info, responseToGist (response))
return createPostFromGist(info, responseToGist(response))
}
describe("Gist", () => {

View file

@ -1,2 +1,2 @@
export { getGist, responseToGist } from "@lib/gist/fetch"
export { getGist, responseToGist } from "@lib/gist/fetch"
export { createPostFromGist } from "@lib/gist/transform"

View file

@ -470,7 +470,6 @@ posts.put(
}
)
posts.post(
"/import/gist/id/:id",
jwt,