Skip to content

Commit

Permalink
removed prettier & dependencies to avoid linting conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianMindee committed Jul 28, 2023
1 parent a0d04a2 commit ce55869
Show file tree
Hide file tree
Showing 41 changed files with 142 additions and 502 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
"no-eval": "error",
"no-unexpected-multiline": "off"
}
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ apiResponse.then((resp) => {
console.log(resp.document.toString());

// individual pages (array)
console.log(res.document.pages);
console.log(res.document.inference.pages);
});
```

### Additional options

#### Apply Cropping

To apply the `Cropper` tool provided by Mindee, set the `croper` param to `true`:
To apply the `Cropper` tool provided by Mindee, set the `cropper` param to `true`:

```js
//...
Expand Down
1 change: 0 additions & 1 deletion docs/code_samples/bank_account_details_v1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiResponse = mindeeClient.parse(

// Handle the response Promise
apiResponse.then((resp) => {

// print a string summary
console.log(resp.document.toString());
});
1 change: 0 additions & 1 deletion docs/code_samples/bank_account_details_v2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiResponse = mindeeClient.parse(

// Handle the response Promise
apiResponse.then((resp) => {

// print a string summary
console.log(resp.document.toString());
});
1 change: 0 additions & 1 deletion docs/code_samples/bank_check_v1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiResponse = mindeeClient.parse(

// Handle the response Promise
apiResponse.then((resp) => {

// print a string summary
console.log(resp.document.toString());
});
1 change: 0 additions & 1 deletion docs/code_samples/carte_vitale_v1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiResponse = mindeeClient.parse(

// Handle the response Promise
apiResponse.then((resp) => {

// print a string summary
console.log(resp.document.toString());
});
1 change: 0 additions & 1 deletion docs/code_samples/expense_receipts_v5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiResponse = mindeeClient.parse(

// Handle the response Promise
apiResponse.then((resp) => {

// print a string summary
console.log(resp.document.toString());
});
1 change: 0 additions & 1 deletion docs/code_samples/financial_document_v1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiResponse = mindeeClient.parse(

// Handle the response Promise
apiResponse.then((resp) => {

// print a string summary
console.log(resp.document.toString());
});
1 change: 0 additions & 1 deletion docs/code_samples/idcard_fr_v1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiResponse = mindeeClient.parse(

// Handle the response Promise
apiResponse.then((resp) => {

// print a string summary
console.log(resp.document.toString());
});
1 change: 0 additions & 1 deletion docs/code_samples/license_plates_v1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiResponse = mindeeClient.parse(

// Handle the response Promise
apiResponse.then((resp) => {

// print a string summary
console.log(resp.document.toString());
});
1 change: 0 additions & 1 deletion docs/code_samples/passport_v1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiResponse = mindeeClient.parse(

// Handle the response Promise
apiResponse.then((resp) => {

// print a string summary
console.log(resp.document.toString());
});
1 change: 0 additions & 1 deletion docs/code_samples/proof_of_address_v1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiResponse = mindeeClient.parse(

// Handle the response Promise
apiResponse.then((resp) => {

// print a string summary
console.log(resp.document.toString());
});
22 changes: 0 additions & 22 deletions docs/code_samples/us_driver_license_v1.txt

This file was deleted.

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

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

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@
"@typescript-eslint/parser": "^5.57.1",
"chai": "^4.3.7",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.1.0",
"prettier": "^2.8.1",
"ts-node": "^10.9.1",
"typedoc": "~0.23",
"typescript": "^5.0.4"
Expand Down
Loading

0 comments on commit ce55869

Please sign in to comment.