Skip to content

Commit

Permalink
feat: 1928 dto testing (#44)
Browse files Browse the repository at this point in the history
* chore: jest setup

* chore(git): ignore junit & lintcache

* feat: dto tests for v1_0

* chore: fix linting configuation

* chore: fix lint smells

* feat: thirdparty tests & fixes
  • Loading branch information
eoln authored Jan 8, 2021
1 parent 41e5d63 commit 3274762
Show file tree
Hide file tree
Showing 41 changed files with 9,019 additions and 3,826 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ module.exports = {
parserOptions: {
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
project: './tsconfig.json',
tsConfigRootDir: './'
project: './tsconfig.eslint.json',
tsConfigRootDir: __dirname
},
rules: {
indent: 'off',
Expand Down Expand Up @@ -47,7 +47,7 @@ module.exports = {
{
// Disable some rules that we abuse in unit tests.
files: [
'test /**/*.ts'
'tests /**/*.ts'
],
rules: {
'@typescript-eslint/explicit-function-return-type': 'off'
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
test/resolved.*
/lib
/lib
junit.xml
.eslintcache
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,6 @@ npm run lint

the `npm run build:dto` script is already executing linting with auto-fixing

there is pre-commit hook setup witch do a linting for staged files.
### DTO testing
- testing of DTO declarations
Loading

0 comments on commit 3274762

Please sign in to comment.