fix(commons): remove redundant tsconfig for eslint

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-02-05 12:03:13 +01:00
parent 352de8e7b9
commit 9ccfaf3d0e
5 changed files with 3 additions and 9 deletions

View file

@ -8,7 +8,7 @@ module.exports = {
"parser": "@typescript-eslint/parser", "parser": "@typescript-eslint/parser",
"parserOptions": { "parserOptions": {
"project": [ "project": [
"./tsconfig-eslint.json" "./tsconfig.json"
] ]
}, },
"plugins": [ "plugins": [

View file

@ -14,6 +14,7 @@
"moduleNameMapper" : { "moduleNameMapper" : {
"^(\\.{1,2}/.*)\\.js$" : "$1" "^(\\.{1,2}/.*)\\.js$" : "$1"
}, },
"transformIgnorePatterns": ["<rootDir>/node_modules/"],
"transform" : { "transform" : {
"^.+\\.tsx?$" : [ "^.+\\.tsx?$" : [
"ts-jest", "ts-jest",

View file

@ -1,4 +0,0 @@
{
"extends": "./tsconfig.json",
"exclude": ["./dist"]
}

View file

@ -1,3 +0,0 @@
SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
SPDX-License-Identifier: CC0-1.0

View file

@ -20,5 +20,5 @@
"sourceMap": true "sourceMap": true
}, },
"include": ["./src"], "include": ["./src"],
"exclude": ["./dist", "**/*.test.*", "**/__mocks__/*", "**/__tests__/*"] "exclude": ["./dist"]
} }