Skip to content

Commit

Permalink
Update dependencies (#992)
Browse files Browse the repository at this point in the history
Update dependencies to address npm audit.  This required changes in the eslint config and jest config as well.
  • Loading branch information
cmoesel authored Dec 20, 2021
1 parent 3b6cebe commit 91b76bf
Show file tree
Hide file tree
Showing 5 changed files with 3,577 additions and 2,006 deletions.
4 changes: 1 addition & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
"rules": {
"semi": ["error", "always"],
"quotes": ["error", "single", { "avoidEscape": true }],
"no-use-before-define": ["error", { "functions": false, "variables": false }],
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": ["error", { "functions": false, "variables": false, "typedefs": false }]
}
}
10 changes: 4 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ module.exports = {
tsconfig: 'tsconfig.json'
}
},
moduleFileExtensions: ['ts', 'js'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest'
},
moduleFileExtensions: ['js', 'ts'],
testMatch: ['**/test/**/*.test.(ts|js)'],
testEnvironment: 'node',
setupFilesAfterEnv: ['jest-extended'],
coveragePathIgnorePatterns: ['<rootDir>/src/import/generated/']
setupFilesAfterEnv: ['jest-extended/all'],
coveragePathIgnorePatterns: ['<rootDir>/src/import/generated/'],
preset: 'ts-jest'
};
Loading

0 comments on commit 91b76bf

Please sign in to comment.