Skip to content

Commit

Permalink
Added eslint and restructured settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-sth committed Oct 22, 2023
1 parent 38c4cdc commit 42e6dea
Show file tree
Hide file tree
Showing 8 changed files with 818 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# /node_modules/* in the project root is ignored by default
# build artefacts
dist/*
coverage/*
# data definition files
**/*.d.ts
# 3rd party libs
/src/public/
# custom definition files
/src/types/
Empty file added .eslintrc
Empty file.
File renamed without changes.
11 changes: 10 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
module.exports = {
preset: "ts-jest",
globals: {
"ts-jest": {
tsconfig: "tsconfig.json",
},
},
moduleFileExtensions: ["ts", "js"],
transform: {
"^.+\\.(ts|tsx)$": "ts-jest",
},
testMatch: ["**/test/**/*.test.(ts|js)"],
testEnvironment: "node",
};
Loading

0 comments on commit 42e6dea

Please sign in to comment.