Skip to content

Commit

Permalink
chore: daily development
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Dec 26, 2024
1 parent def5b04 commit 95f4ad3
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 126 deletions.
46 changes: 23 additions & 23 deletions packages/canyon-backend/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
project: "tsconfig.json",
tsconfigRootDir: __dirname,
sourceType: "module",
},
plugins: ["@typescript-eslint/eslint-plugin"],
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: [".eslintrc.js"],
rules: {
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
},
parser: "@typescript-eslint/parser",
parserOptions: {
project: "tsconfig.json",
tsconfigRootDir: __dirname,
sourceType: "module",
},
plugins: ["@typescript-eslint/eslint-plugin"],
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: [".eslintrc.js"],
rules: {
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
},
};
2 changes: 0 additions & 2 deletions packages/canyon-backend/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { SourcecodeService } from "./sourcecode/sourcecode.service";
import { SourcecodeModule } from "./sourcecode/sourcecode.module";
import { join } from "path";
import { ServeStaticModule } from "@nestjs/serve-static";
import { PlaygroundModule } from "./playground/playground.module";
import { CoverageModule } from "./cov/coverage.module";

@Module({
Expand All @@ -26,7 +25,6 @@ import { CoverageModule } from "./cov/coverage.module";
CoverageModule,
CodechangeModule,
SourcecodeModule,
PlaygroundModule,
PrismaModule,
ServeStaticModule.forRoot({
rootPath: join(__dirname, "../../canyon-platform", "dist"),
Expand Down
42 changes: 0 additions & 42 deletions packages/canyon-backend/src/filter/global-exception.filter.ts

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions packages/canyon-backend/src/playground/playground.module.ts

This file was deleted.

6 changes: 0 additions & 6 deletions packages/canyon-backend/src/playground/playground.service.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/canyon-backend/src/role/enums/role.enum.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/canyon-backend/src/role/guard/roles.guard.ts

This file was deleted.

5 changes: 0 additions & 5 deletions packages/canyon-backend/src/role/roles.decorator.ts

This file was deleted.

0 comments on commit 95f4ad3

Please sign in to comment.