Skip to content

Commit 6de10d1

Browse files
committed
fix linting
1 parent 84e2ba1 commit 6de10d1

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

packages/angular/.eslintrc.js renamed to packages/angular/.eslintrc.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ module.exports = {
33
browser: true,
44
},
55
extends: ['../../.eslintrc.js'],
6-
ignorePatterns: ['setup-jest.ts'],
6+
ignorePatterns: ['setup-test.ts', 'patch-vitest.ts'],
77
};

packages/angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"engines": {
1010
"node": ">=14.18"
1111
},
12-
"main": "build/esm2020/sentry-angular.mjs",
12+
"type": "module",
1313
"module": "build/fesm2015/sentry-angular.mjs",
1414
"publishConfig": {
1515
"access": "public"

packages/angular/tsconfig.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"extends": "../../tsconfig.json",
33

4-
"include": ["src/**/*"],
4+
"include": ["**/*.ts", "src/**/*"],
5+
6+
"exclude": ["patch-vitest.ts", "setup-test.ts"],
57

68
"compilerOptions": {
79
// package-specific options

packages/angular/tsconfig.test.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
"compilerOptions": {
77
// should include all types from `./tsconfig.json` plus types for all test frameworks used
8-
"types": ["jest"],
9-
"module": "CommonJs",
8+
"types": ["vitest/globals"],
109

1110
// other package-specific, test-specific options
1211
}

0 commit comments

Comments
 (0)