add linting

This commit is contained in:
Thomas Ruoff
2021-11-24 12:07:16 +01:00
parent 9a470a52a3
commit 85f9470450
4 changed files with 1363 additions and 1 deletions

3
.eslintrc.json Normal file
View File

@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}

View File

@@ -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 copyToTemp(id, texDocument)
await generateDoc(id) await generateDoc(id)
return id return id

1357
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -26,6 +26,8 @@
"@types/uuid": "8.3.0", "@types/uuid": "8.3.0",
"autoprefixer": "10.2.5", "autoprefixer": "10.2.5",
"babel-jest": "26.6.3", "babel-jest": "26.6.3",
"eslint": "^7.32.0",
"eslint-config-next": "12.0.4",
"jest": "26.6.3", "jest": "26.6.3",
"jest-watch-typeahead": "0.6.1", "jest-watch-typeahead": "0.6.1",
"postcss": "8.2.10", "postcss": "8.2.10",