Skip to content

Commit b305c51

Browse files
committed
fix: eslint config
1 parent aa536b4 commit b305c51

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"parser": "@typescript-eslint/parser",
88
"parserOptions": {
9-
"project": ["tsconfig.json", "plugins/*/tsconfig.json", "tests/cypress/tsconfig.json"],
9+
"project": ["tsconfig.json", "*/tsconfig.json", "plugins/*/tsconfig.json", "tests/cypress/tsconfig.json"],
1010
"sourceType": "module"
1111
},
1212
"plugins": [

l10n/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": ".",
5+
"removeComments": true
6+
},
7+
"include": [
8+
"index.ts",
9+
"src/**/*",
10+
"tests/**/*"
11+
]
12+
}

l10n/tsconfig.release.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"rootDir": ".",
55
"removeComments": true
66
},
77
"include": [
8-
"index.ts"
8+
"index.ts",
9+
"src/**/*"
910
],
1011
"exclude": [
11-
"tests/**/*",
12-
"src/**/*"
12+
"tests/**/*"
1313
]
1414
}

l10n/tsconfig.test.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"types": ["jest"],
5+
"esModuleInterop": true
6+
}
7+
}

0 commit comments

Comments
 (0)