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:
28
eslint.config.mjs
Normal file
28
eslint.config.mjs
Normal 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",
|
||||
},
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user