Feature/jest2 (#322)

* Adding more tests
* adding jest
* fixing tests
* fixing linting
* removing 1 slash less
* fixing more tests
* fixing last test
* more last fixes
This commit is contained in:
Daan Verstraten
2024-11-09 10:08:30 +01:00
committed by GitHub
parent b788f118ff
commit 8e59f63167
39 changed files with 8224 additions and 1158 deletions

28
eslint.config.mjs Normal file
View File

@@ -0,0 +1,28 @@
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
export default tseslint.config(
{
ignores: [
'**/coverage/*',
'**/lib/*',
'**/node_modules/*',
'lib/*'
],
},
{
files: ["**/*.ts"],
extends: [eslint.configs.recommended, ...tseslint.configs.recommended],
plugins: {
jest: {},
},
},
{
rules: {
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-case-declarations": "off",
},
}
);