Skip to content

Commit

Permalink
chore!: move case base to typescript (#137)
Browse files Browse the repository at this point in the history
resolves #114
  • Loading branch information
zivl committed Oct 20, 2022
1 parent 5a59dbd commit 0c45d14
Show file tree
Hide file tree
Showing 29 changed files with 2,707 additions and 975 deletions.
9 changes: 6 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2017
"ecmaVersion": 2017,
"sourceType": "module"
},
"plugins": [
"prettier"
"prettier",
"@typescript-eslint"
],
"rules": {
"prettier/prettier": "error"
}
}
}
23 changes: 12 additions & 11 deletions jest.config.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"moduleFileExtensions": [
"js"
],
"testRegex": "/test/.*\\.test.js$",
"reporters": [
"default"
],
"testEnvironment": "node",
"resetMocks": true,
"transformIgnorePatterns": ["^.*\\.js$"]
}
"preset": "ts-jest",
"testMatch": ["**/test/*test.ts"],
"transform": {
"<rootDir>/.+\\.ts?$": "ts-jest"
},
"reporters": [
"default"
],
"modulePathIgnorePatterns": ["dist"],
"testEnvironment": "node",
"resetMocks": true
}

0 comments on commit 0c45d14

Please sign in to comment.