mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-02 22:17:18 +01:00
add linting
This commit is contained in:
3
.eslintrc.json
Normal file
3
.eslintrc.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"extends": "next/core-web-vitals"
|
||||
}
|
||||
@@ -31,7 +31,7 @@ async function generateDoc(id: string): Promise<void> {
|
||||
}
|
||||
}
|
||||
|
||||
export default async function (id: string, texDocument: string) {
|
||||
export default async function renderer(id: string, texDocument: string) {
|
||||
await copyToTemp(id, texDocument)
|
||||
await generateDoc(id)
|
||||
return id
|
||||
|
||||
1357
package-lock.json
generated
1357
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -26,6 +26,8 @@
|
||||
"@types/uuid": "8.3.0",
|
||||
"autoprefixer": "10.2.5",
|
||||
"babel-jest": "26.6.3",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-next": "12.0.4",
|
||||
"jest": "26.6.3",
|
||||
"jest-watch-typeahead": "0.6.1",
|
||||
"postcss": "8.2.10",
|
||||
|
||||
Reference in New Issue
Block a user