You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2023/01/02 18:20:29 UTC

[streampipes] 02/02: add linting to models module (#877)

This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch chore/ui-linting
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit edd7d2612499971f9a78d2d0c581f87528d91f86
Author: bossenti <bo...@posteo.de>
AuthorDate: Mon Jan 2 19:18:34 2023 +0100

    add linting to models module (#877)
---
 ui/.eslintignore                 | 1 -
 ui/.prettierignore               | 1 -
 ui/src/app/_models/auth.model.ts | 6 +++---
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/ui/.eslintignore b/ui/.eslintignore
index 877a18339..101554f57 100644
--- a/ui/.eslintignore
+++ b/ui/.eslintignore
@@ -19,7 +19,6 @@ dist
 # Remove these in the future to lint additional modules
 # Please also see .prettierignore
 projects
-src/app/_models
 src/app/add
 src/app/apidocs
 src/app/app-asset-monitoring
diff --git a/ui/.prettierignore b/ui/.prettierignore
index dd6aaaa7d..e95abae01 100644
--- a/ui/.prettierignore
+++ b/ui/.prettierignore
@@ -19,7 +19,6 @@ dist
 # Remove these in the future to format additional modules
 # Please also see .eslintignore
 projects
-src/app/_models
 src/app/add
 src/app/apidocs
 src/app/app-asset-monitoring
diff --git a/ui/src/app/_models/auth.model.ts b/ui/src/app/_models/auth.model.ts
index 18fc771ef..ba4a98f28 100644
--- a/ui/src/app/_models/auth.model.ts
+++ b/ui/src/app/_models/auth.model.ts
@@ -22,7 +22,7 @@ import { UserRole } from '../_enums/user-role.enum';
 export type RoleModel = Privilege | Role;
 
 export interface RoleDescription {
-  role: UserRole;
-  roleTitle: string;
-  roleDescription: string;
+    role: UserRole;
+    roleTitle: string;
+    roleDescription: string;
 }