Skip to content

Commit

Permalink
Merge pull request #31 from erik-sth/Add-vscode-settings
Browse files Browse the repository at this point in the history
Added eslint and restructured settings.
  • Loading branch information
erik-sth authored Oct 22, 2023
2 parents ae94e80 + 42e6dea commit a5af46e
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 a5af46e

Please sign in to comment.