File tree Expand file tree Collapse file tree 10 files changed +36
-37
lines changed
projects/ngx-jsonapi-lib/src/lib Expand file tree Collapse file tree 10 files changed +36
-37
lines changed Original file line number Diff line number Diff line change 23
23
" plugin:@angular-eslint/template/process-inline-templates"
24
24
],
25
25
"plugins" : [
26
- " @typescript-eslint" ,
27
26
" @angular-eslint" ,
27
+ " @typescript-eslint" ,
28
28
" eslint-plugin-no-null" ,
29
29
" eslint-plugin-unicorn" ,
30
30
" eslint-plugin-rxjs"
150
150
" error" ,
151
151
" multi-line"
152
152
],
153
- "indent" : [
154
- " error" ,
155
- 4 ,
156
- {
157
- "SwitchCase" : 1
158
- }
159
- ],
160
153
"default-case" : " off" ,
161
154
"eol-last" : " off" ,
162
155
"guard-for-in" : " off" ,
Original file line number Diff line number Diff line change @@ -11,20 +11,20 @@ export class Author extends Resource {
11
11
created_at : string ;
12
12
updated_at : string ;
13
13
} = {
14
- name : 'default name' ,
15
- date_of_birth : '' ,
16
- date_of_death : '' ,
17
- created_at : '' ,
18
- updated_at : ''
19
- } ;
14
+ name : 'default name' ,
15
+ date_of_birth : '' ,
16
+ date_of_death : '' ,
17
+ created_at : '' ,
18
+ updated_at : ''
19
+ } ;
20
20
21
21
public relationships : {
22
22
books : DocumentCollection < Book > ;
23
23
photos : DocumentCollection < Photo > ;
24
24
} = {
25
- books : new DocumentCollection < Book > ( ) ,
26
- photos : new DocumentCollection < Photo > ( )
27
- } ;
25
+ books : new DocumentCollection < Book > ( ) ,
26
+ photos : new DocumentCollection < Photo > ( )
27
+ } ;
28
28
}
29
29
30
30
@Injectable ( )
Original file line number Diff line number Diff line change @@ -10,19 +10,19 @@ export class Book extends Resource {
10
10
created_at : string ;
11
11
updated_at : string ;
12
12
} = {
13
- date_published : '' ,
14
- title : '' ,
15
- created_at : '' ,
16
- updated_at : ''
17
- } ;
13
+ date_published : '' ,
14
+ title : '' ,
15
+ created_at : '' ,
16
+ updated_at : ''
17
+ } ;
18
18
19
19
public relationships : {
20
20
author : DocumentResource < Author > ;
21
21
photos : DocumentCollection < Photo > ;
22
22
} = {
23
- author : new DocumentResource < Author > ( ) ,
24
- photos : new DocumentCollection < Photo > ( )
25
- } ;
23
+ author : new DocumentResource < Author > ( ) ,
24
+ photos : new DocumentCollection < Photo > ( )
25
+ } ;
26
26
}
27
27
28
28
@Injectable ( )
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ export class Photo extends Resource {
15
15
created_at : string ;
16
16
updated_at : string ;
17
17
} = {
18
- title : '' ,
19
- uri : '' ,
20
- imageable_id : '' ,
21
- created_at : '' ,
22
- updated_at : ''
23
- } ;
18
+ title : '' ,
19
+ uri : '' ,
20
+ imageable_id : '' ,
21
+ created_at : '' ,
22
+ updated_at : ''
23
+ } ;
24
24
}
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ export class System extends Resource {
10
10
books : DocumentCollection < Book > ;
11
11
photos : DocumentCollection < Photo > ;
12
12
} = {
13
- books : new DocumentCollection < Book > ( ) ,
14
- photos : new DocumentCollection < Photo > ( )
15
- } ;
13
+ books : new DocumentCollection < Book > ( ) ,
14
+ photos : new DocumentCollection < Photo > ( )
15
+ } ;
16
16
}
17
17
18
18
@Injectable ( )
Original file line number Diff line number Diff line change 127
127
"eslint-plugin-prefer-arrow" : " 1.2.3" ,
128
128
"eslint-plugin-rxjs" : " 5.0.2" ,
129
129
"eslint-plugin-unicorn" : " 51.0.1" ,
130
+ "eslint-config-prettier" : " 9.0.0" ,
130
131
"fake-indexeddb" : " 4.0.2" ,
131
132
"faker" : " 5.5.3" ,
132
133
"fs-extra" : " 11.2.0" ,
Original file line number Diff line number Diff line change 2
2
* @deprecated since version 3.0.0
3
3
*/
4
4
export function Autoregister ( ) {
5
- return ( target ) : any => {
5
+ return ( target ) : any => {
6
6
/**/
7
- }
7
+ } ;
8
8
}
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ export interface ILinks {
4
4
related ?: {
5
5
href : string ;
6
6
meta : object ;
7
- }
7
+ } ;
8
8
}
Original file line number Diff line number Diff line change @@ -5615,6 +5615,11 @@ escodegen@^2.0.0:
5615
5615
optionalDependencies:
5616
5616
source-map "~0.6.1"
5617
5617
5618
+ eslint-config-prettier@9.0.0:
5619
+ version "9.0.0"
5620
+ resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz#eb25485946dd0c66cd216a46232dc05451518d1f"
5621
+ integrity sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==
5622
+
5618
5623
eslint-etc@^5.1.0:
5619
5624
version "5.2.1"
5620
5625
resolved "https://registry.yarnpkg.com/eslint-etc/-/eslint-etc-5.2.1.tgz#43e2554a347677ebb6386c915f374918f2efcb87"
You can’t perform that action at this time.
0 commit comments