Skip to content

Commit

Permalink
chore: use plugin:@taiga-ui/experience/entry-points
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov committed Jun 21, 2024
1 parent 82ae217 commit 9517544
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
26 changes: 3 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@taiga-ui/components",
"version": "4.0.0-alpha.0",
"private": true,
"description": "Taiga UI by TBank is a set of components, services, directives and other tools to build high quality UI using modern Angular framework",
"keywords": [
"angular",
Expand Down Expand Up @@ -77,34 +78,13 @@
"eslintConfig": {
"extends": [
"plugin:@taiga-ui/experience/all",
"plugin:@taiga-ui/experience/taiga-naming"
"plugin:@taiga-ui/experience/taiga-naming",
"plugin:@taiga-ui/experience/entry-points"
],
"rules": {
"@angular-eslint/component-class-suffix": "off",
"jest/prefer-importing-jest-globals": "off"
},
"overrides": [
{
"files": [
"projects/**/*.ts"
],
"excludedFiles": [
"**/*.spec.ts",
"**/*.cy.ts",
"projects/demo/**/*.ts"
],
"parser": "@typescript-eslint/parser",
"rules": {
"@taiga-ui/experience/no-deep-imports": "off",
"@taiga-ui/experience/prefer-deep-imports": [
"error",
{
"importFilter": "/^@taiga-ui\\u002F(addon-charts|addon-commerce|addon-doc|addon-mobile|addon-table|cdk|core|experimental|i18n|icons|kit|layout|legacy|styles|testing)$/"
}
]
}
}
],
"root": true
},
"stylelint": {
Expand Down
2 changes: 1 addition & 1 deletion projects/demo-playwright/tests/demo/get-demo-paths.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {DemoRoute} from '@demo/routes';
import type {TuiDocRoutePage, TuiDocRoutePages} from '@taiga-ui/addon-doc/types';
import type {TuiDocRoutePage, TuiDocRoutePages} from '@taiga-ui/addon-doc';

function flatPages(pages: TuiDocRoutePages): readonly TuiDocRoutePage[] {
return pages.reduce(
Expand Down

0 comments on commit 9517544

Please sign in to comment.