make eslint & tsconfig standalone for common-ui

This commit is contained in:
Dan Percic 2022-06-21 11:17:20 +03:00
parent ef605801a4
commit f8a0682a4a
2 changed files with 19 additions and 9 deletions

View File

@ -1,5 +1,4 @@
{
"extends": ["../../.eslintrc.json"],
"env": {
"browser": true,
"node": true
@ -9,9 +8,7 @@
{
"files": ["**/*.ts"],
"parserOptions": {
"project": [
"projects/common-ui/tsconfig.json"
]
"project": "tsconfig.base.json"
},
"rules": {
"@angular-eslint/directive-selector": [
@ -65,9 +62,11 @@
"no-dupe-class-members": "off",
"no-redeclare": "off",
"consistent-return": "off",
"import/no-unresolved": "off",
"import/named": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/lines-between-class-members": "off"
}
}
]
}
}

View File

@ -1,5 +1,4 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"strict": true,
@ -9,9 +8,19 @@
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": true,
"sourceMap": true,
"downlevelIteration": true,
"experimentalDecorators": true,
"noImplicitAny": true,
"moduleResolution": "node",
"importHelpers": true,
"resolveJsonModule": true,
"target": "es2021",
"module": "es2020",
"lib": [
"dom",
"es2020"
"es2021",
"dom"
],
"allowSyntheticDefaultImports": true
},
@ -19,7 +28,9 @@
"**/*.ts"
],
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true
"strictInputAccessModifiers": true,
"strictTemplates": true
}
}