Skip to content

Commit 3e87adc

Browse files
committed
add prettier ignore
reformat with prettier add missing result types
1 parent a3dbe31 commit 3e87adc

File tree

8 files changed

+558
-495
lines changed

8 files changed

+558
-495
lines changed

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.history/
2+
/examples/.history/
3+
/.github/

LICENSE

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
BSD 2-Clause License
2+
--------------------
3+
4+
Copyright (c) 2013-2016, Scrapfly <https://scrapfly.io> and
5+
individual contributors. All rights reserved.
6+
7+
Redistribution and use in source and binary forms, with or without
8+
modification, are permitted provided that the following conditions are met:
9+
10+
* Redistributions of source code must retain the above copyright notice, this
11+
list of conditions and the following disclaimer.
12+
13+
* Redistributions in binary form must reproduce the above copyright notice,
14+
this list of conditions and the following disclaimer in the documentation
15+
and/or other materials provided with the distribution.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ console.log(apiResponse.result.content); // html content
3131

3232
For more see [/examples](/examples/) directory.
3333
For more on Scrapfly API see full documentation: <https://scrapfly.io/docs>
34-
For Python see [Scrapfly Python SDK](https://github.com/scrapfly/python-scrapfly)
35-
34+
For Python see [Scrapfly Python SDK](https://github.com/scrapfly/python-scrapfly)
35+
3636
## Development
3737

3838
Install and setup environment:

__tests__/client.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,6 @@ describe('scrape', () => {
169169
expect(mockedAxios.request).toHaveBeenCalledTimes(1);
170170
});
171171

172-
173-
174172
it('POST success', async () => {
175173
const url = 'https://httpbin.dev/json';
176174
mockedAxios.request.mockImplementation(async (config) => {

0 commit comments

Comments
 (0)