Skip to content

Commit

Permalink
[FIX]: Add tsconfig.eslint.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaZhem committed Jul 10, 2024
1 parent 3231cbe commit af07f6b
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 88 deletions.
73 changes: 0 additions & 73 deletions .github/workflows/test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see https://www.contributor-covenant.org/faq
For answers to common questions about this code of conduct, see https://www.contributor-covenant.org/faq
1 change: 1 addition & 0 deletions apps/taiga-lumbermill-e2e/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable */
import {defineConfig, devices} from '@playwright/test';
import {nxE2EPreset} from '@nx/playwright/preset';

Expand Down
4 changes: 2 additions & 2 deletions apps/taiga-lumbermill/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tui-root>
<app-nx-welcome></app-nx-welcome>
<router-outlet></router-outlet>
<app-nx-welcome />
<router-outlet />
</tui-root>
2 changes: 1 addition & 1 deletion apps/taiga-lumbermill/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'jest-preset-angular/setup-jest';
// @ts-expect-error https://thymikee.github.io/jest-preset-angular/docs/getting-started/test-environment
globalThis.ngJest = {
testEnvironmentOptions: {
errorOnUnknownElements: true,
errorOnUnknownProperties: true,
},
};
import 'jest-preset-angular/setup-jest';
11 changes: 0 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
]
},
"dependencies": {
"@angular-eslint/schematics": "^18.1.0",
"@angular/animations": "~18.0.0",
"@angular/common": "~18.0.0",
"@angular/compiler": "~18.0.0",
Expand All @@ -75,7 +74,6 @@
"@taiga-ui/stylelint-config": "^0.113.7",
"@taiga-ui/styles": "^4.0.0-rc.4",
"@taiga-ui/tsconfig": "^0.113.7",
"@tinkoff/eslint-config-react": "^4.1.1",
"cspell": "^8.10.4",
"husky": "^9.0.11",
"rxjs": "~7.8.0",
Expand All @@ -86,15 +84,10 @@
"@angular-devkit/build-angular": "~18.0.0",
"@angular-devkit/core": "~18.0.0",
"@angular-devkit/schematics": "~18.0.0",
"@angular-eslint/eslint-plugin": "^18.0.1",
"@angular-eslint/eslint-plugin-template": "^18.0.1",
"@angular-eslint/template-parser": "^18.0.1",
"@angular/cli": "~18.0.0",
"@angular/compiler-cli": "~18.0.0",
"@angular/language-service": "~18.0.0",
"@nx/devkit": "19.4.2",
"@nx/eslint": "19.4.2",
"@nx/eslint-plugin": "19.4.2",
"@nx/jest": "19.4.2",
"@nx/js": "19.4.2",
"@nx/playwright": "19.4.2",
Expand All @@ -106,10 +99,6 @@
"@swc/helpers": "~0.5.11",
"@types/jest": "^29.4.0",
"@types/node": "18.16.9",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"eslint": "~8.57.0",
"eslint-config-prettier": "^9.0.0",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
"jest-preset-angular": "~14.1.0",
Expand Down
12 changes: 12 additions & 0 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": ".",
"baseUrl": ".",
"strict": true,
"module": "esnext",
"incremental": true
},
"include": ["apps/**/*.ts", "apps/**/*.ts", "scripts", "setup-jest.ts", "jest.config.ts", "*.spec.ts", "*.cy.ts"],
"exclude": ["**/node_modules", "*.js"]
}
12 changes: 12 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "@taiga-ui/tsconfig",
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist",
"lib": ["es2021", "dom"],
"target": "ES2017",
"module": "ES2020",
"useDefineForClassFields": false,
"typeRoots": ["node_modules/@types"]
}
}

0 comments on commit af07f6b

Please sign in to comment.