Browse Source

chore(admin-ui): Disable prefer-standalone lint rule

It was automatically removing the `standalone` property from components, breaking the build.
Michael Bromley 9 months ago
parent
commit
097c1a3985

+ 3 - 0
packages/admin-ui/.eslintrc.json

@@ -39,6 +39,9 @@
             "style": "kebab-case"
           }
         ],
+        "@angular-eslint/prefer-standalone": [
+          "off"
+        ],
         "@angular-eslint/no-input-rename": "off",
         "@typescript-eslint/array-type": [
           "error",

+ 1 - 0
packages/admin-ui/src/lib/core/src/components/base-nav/base-nav.component.ts

@@ -14,6 +14,7 @@ import { NotificationService } from '../../providers/notification/notification.s
 
 @Directive({
     selector: '[vdrBaseNav]',
+    standalone: false,
 })
 // eslint-disable-next-line @angular-eslint/directive-class-suffix
 export class BaseNavComponent implements OnInit, OnDestroy {