Chore: Update eslint configuration (#224)

- Update missing dev dependencies
- Fix root .eslintrc.json and client and server versions
- Add lint.yaml workflow
- Remove babel settings
- Clean up and fix eslint and ts errors
This commit is contained in:
Elisha Nuchi
2024-06-02 18:01:12 -04:00
committed by GitHub
parent a976451c78
commit 85223ca42a
19 changed files with 1411 additions and 594 deletions
+3 -2
View File
@@ -3,10 +3,11 @@
// This allows using stealth mode.
import fs from 'fs';
const fsPromises = fs.promises;
import os from 'os';
import path from 'path';
const fsPromises = fs.promises;
const DIR = path.join(os.tmpdir(), 'jest_puppeteer_global_setup');
export default async function globalTeardown() {
// close the browser instance
@@ -14,4 +15,4 @@ export default async function globalTeardown() {
// clean-up the wsEndpoint file
await fsPromises.rmdir(DIR, { recursive: true, force: true });
};
}