Skip to content

Commit ee36bf4

Browse files
authored
Merge pull request #1 from ISUCT/fix_lint
Fixed linting issues
2 parents a4503f0 + 4b7ddab commit ee36bf4

24 files changed

+5
-477
lines changed

onlineshop/source/client/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
"webpack": "^5.95.0",
6161
"webpack-cli": "^5.1.4",
6262
"webpack-dev-server": "^5.1.0"
63-
}
63+
},
64+
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
6465
}

onlineshop/source/client/src/App.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
import React from 'react';
22

33
import './App.css';
4-
import First from './components/first';
5-
import DogList from './components/dogList';
64

75
const App: React.FC = () => (
86
<>
9-
<h1>Hello World!</h1>
10-
<h2>Hello</h2>
11-
<First />
12-
<DogList />
7+
<h1>learn react</h1>
138
</>
149
);
1510

onlineshop/source/client/src/components/dogItem.tsx

Lines changed: 0 additions & 50 deletions
This file was deleted.

onlineshop/source/client/src/components/dogList.tsx

Lines changed: 0 additions & 51 deletions
This file was deleted.

onlineshop/source/client/src/components/first.tsx

Lines changed: 0 additions & 17 deletions
This file was deleted.

onlineshop/source/server/migrations/1743834051977-initial.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

onlineshop/source/server/src/app.module.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ import { TypeOrmModule } from '@nestjs/typeorm';
33

44
import { AppController } from './app.controller';
55
import { AppService } from './app.service';
6-
import { CatsModule } from './cats/cats.module';
7-
import { DogsModule } from './dogs/dogs.module';
8-
import { Dog } from './dogs/entities/dog.entity';
96

107
@Module({
118
imports: [
@@ -16,11 +13,9 @@ import { Dog } from './dogs/entities/dog.entity';
1613
username: 'postgres',
1714
password: 'postgres',
1815
database: 'sample',
19-
entities: [Dog],
16+
entities: [],
2017
synchronize: true,
2118
}),
22-
CatsModule,
23-
DogsModule,
2419
],
2520
controllers: [AppController],
2621
providers: [AppService],

onlineshop/source/server/src/app.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import { Injectable } from '@nestjs/common';
33
@Injectable()
44
export class AppService {
55
getHello(): string {
6-
return 'Hello World! 12345';
6+
return 'Hello World!';
77
}
88
}

onlineshop/source/server/src/cats/cats.controller.spec.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

onlineshop/source/server/src/cats/cats.controller.ts

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)