declapract-typescript-ehmpathy 0.17.6 → 0.17.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,6 +39,7 @@ module.exports = {
39
39
  'prefer-destructuring': 'off',
40
40
  '@typescript-eslint/no-non-null-assertion': 'off',
41
41
  'lines-between-class-members': 'off',
42
+ '@typescript-eslint/lines-between-class-members': 'off',
42
43
  'no-return-await': 'off', // this does not help anything and actually leads to bugs if we subsequently wrap the return in a try catch without remembering to _then_ add await
43
44
  },
44
45
  };
@@ -6,7 +6,7 @@ const config: Config = {
6
6
  testEnvironment: 'node',
7
7
  moduleFileExtensions: ['js', 'ts'],
8
8
  transform: {
9
- '^.+\\.[tj]sx?$': 'ts-jest', // https://kulshekhar.github.io/ts-jest/docs/getting-started/presets
9
+ '^.+\\.tsx?$': 'ts-jest', // https://kulshekhar.github.io/ts-jest/docs/getting-started/presets
10
10
  },
11
11
  testMatch: ['**/*.acceptance.test.ts'],
12
12
  setupFiles: ['core-js'],
@@ -6,7 +6,7 @@ const config: Config = {
6
6
  testEnvironment: 'node',
7
7
  moduleFileExtensions: ['js', 'ts'],
8
8
  transform: {
9
- '^.+\\.[tj]sx?$': 'ts-jest', // https://kulshekhar.github.io/ts-jest/docs/getting-started/presets
9
+ '^.+\\.tsx?$': 'ts-jest', // https://kulshekhar.github.io/ts-jest/docs/getting-started/presets
10
10
  },
11
11
  testMatch: ['**/*.integration.test.ts'],
12
12
  setupFiles: ['core-js'],
@@ -6,7 +6,7 @@ const config: Config = {
6
6
  testEnvironment: 'node',
7
7
  moduleFileExtensions: ['js', 'ts'],
8
8
  transform: {
9
- '^.+\\.[tj]sx?$': 'ts-jest', // https://kulshekhar.github.io/ts-jest/docs/getting-started/presets
9
+ '^.+\\.tsx?$': 'ts-jest', // https://kulshekhar.github.io/ts-jest/docs/getting-started/presets
10
10
  },
11
11
  testMatch: [
12
12
  // note: order matters
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "declapract-typescript-ehmpathy",
3
- "version": "0.17.6",
3
+ "version": "0.17.7",
4
4
  "description": "declapract best practices declarations for typescript",
5
5
  "main": "src/index.js",
6
6
  "repository": "ehmpathy/declapract-typescript-ehmpathy",