Skip to content

Commit 202b2c7

Browse files
committed
chore: fix eslint violations on String instead of string
1 parent 1041485 commit 202b2c7

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

packages/eslint-config/eslintrc.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ module.exports = {
6060
*/
6161
'@typescript-eslint/array-type': 'off',
6262
'@typescript-eslint/indent': 'off',
63-
// '@typescript-eslint/no-explicit-any': 'off',
6463
'@typescript-eslint/no-non-null-assertion': 'off',
6564
'@typescript-eslint/explicit-function-return-type': 'off',
6665
'@typescript-eslint/explicit-member-accessibility': 'off',
@@ -71,7 +70,6 @@ module.exports = {
7170
'@typescript-eslint/no-angle-bracket-type-assertion': 'off',
7271
'@typescript-eslint/prefer-interface': 'off',
7372
'@typescript-eslint/no-namespace': 'off',
74-
// '@typescript-eslint/no-unused-vars': 'off',
7573
'@typescript-eslint/ban-types': 'off',
7674
'@typescript-eslint/no-triple-slash-reference': 'off',
7775
'@typescript-eslint/no-empty-interface': 'off',

packages/repository/src/__tests__/acceptance/repository.acceptance.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ describe('Repository in Thinking in LoopBack', () => {
6969
@model()
7070
class Role extends Entity {
7171
@property()
72-
name: String;
72+
name: string;
7373
}
7474

7575
@model()
7676
class Address extends Entity {
7777
@property()
78-
street: String;
78+
street: string;
7979
}
8080

8181
@model()
@@ -87,7 +87,7 @@ describe('Repository in Thinking in LoopBack', () => {
8787
id: number;
8888

8989
@property({type: 'string'})
90-
name: String;
90+
name: string;
9191

9292
@property.array(Role)
9393
roles: Role[];

packages/repository/src/__tests__/unit/repositories/legacy-juggler-bridge.unit.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ describe('DefaultCrudRepository', () => {
126126
@model()
127127
class Role {
128128
@property()
129-
name: String;
129+
name: string;
130130
}
131131

132132
@model()
133133
class Address {
134134
@property()
135-
street: String;
135+
street: string;
136136
}
137137

138138
@model()
@@ -144,7 +144,7 @@ describe('DefaultCrudRepository', () => {
144144
id: number;
145145

146146
@property({type: 'string'})
147-
name: String;
147+
name: string;
148148

149149
@property.array(Role)
150150
roles: Role[];

0 commit comments

Comments
 (0)