Skip to content

Commit c83e62f

Browse files
authored
chore(deps-dev): upgrading some dev deps and running npm audit (#309)
1 parent 63f8415 commit c83e62f

10 files changed

+709
-220
lines changed

package-lock.json

+206-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node/.eslintrc.js

+14-4
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,26 @@ module.exports = {
44
ignorePatterns: ['__tests__', 'dist'],
55
root: true,
66
rules: {
7+
// Disable requiring return types because it's too easy to broaden them by accident.
8+
'@typescript-eslint/explicit-module-boundary-types': 'off',
79
'@typescript-eslint/no-empty-function': 'warn',
810
'@typescript-eslint/no-var-requires': 'warn',
9-
'no-underscore-dangle': [
11+
12+
'import/no-unresolved': [
1013
'error',
1114
{
12-
allow: ['_id', '_body'],
15+
ignore: [
16+
// We're just importing types, so we don't need this unresolved.
17+
'har-format',
18+
],
1319
},
1420
],
21+
22+
'no-underscore-dangle': ['error', { allow: ['_id', '_body'] }],
1523
'sonarjs/no-nested-template-literals': 'warn',
16-
// Disable requiring return types because it's too easy to broaden them by accident
17-
'@typescript-eslint/explicit-module-boundary-types': 'off',
24+
25+
// We use `lodash` because it allows for more flexibility that we can't get with standard object accessors.
26+
'you-dont-need-lodash-underscore/get': 'off',
27+
'you-dont-need-lodash-underscore/omit': 'off',
1828
},
1929
};

packages/node/jest.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ module.exports = {
44
testEnvironment: 'node',
55
globalSetup: '<rootDir>/__tests__/jest.setup.js',
66
testMatch: ['**/__tests__/**/(*.)+(spec|test).[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
7+
coveragePathIgnorePatterns: ['dist/'],
78
};

0 commit comments

Comments
 (0)