Skip to content

Commit

Permalink
Merge pull request #14 from cabinetoffice/ntrnl-280-remove-prettier-f…
Browse files Browse the repository at this point in the history
…rom-node-template

remove prettier
  • Loading branch information
DanielMurray97 authored Jan 3, 2024
2 parents 44c00b7 + d49bfd6 commit 0a715c2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 38 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": [ "error", { "argsIgnorePattern": "^_" } ],
"@typescript-eslint/quotes": [ "error", "single",{ "avoidEscape": true, "allowTemplateLiterals": true }],
"@typescript-eslint/semi": [ "error", "always" ],
"@typescript-eslint/type-annotation-spacing": "error",
"arrow-spacing": "error",
Expand Down
4 changes: 0 additions & 4 deletions .prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

16 changes: 0 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.51.0",
"husky": "^8.0.3",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
Expand All @@ -43,6 +42,8 @@
"./lib/**/*"
],
"keywords": [
"api", "sdk", "axios"
"api",
"sdk",
"axios"
]
}
}
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AdditionalOptions, HttpResponse, RequestMethod } from "./http-request/type";
import { createOAuthApiClient, createApiKeyClient } from "./api-client";
import { ApiErrorResponse, ApiResponse } from "./api-sdk/response";
import { HttpRequest } from "./http-request";
import { AdditionalOptions, HttpResponse, RequestMethod } from './http-request/type';
import { createOAuthApiClient, createApiKeyClient } from './api-client';
import { ApiErrorResponse, ApiResponse } from './api-sdk/response';
import { HttpRequest } from './http-request';

export {
createOAuthApiClient,
Expand Down

0 comments on commit 0a715c2

Please sign in to comment.