fetchfox-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/pre-commit +1 -0
- package/.prettierignore +1 -0
- package/.prettierignore~ +0 -0
- package/.prettierrc +8 -0
- package/eslint.config.js +25 -0
- package/jest.config.js +3 -0
- package/jest.config.js~ +0 -0
- package/out.json +1033 -0
- package/package.json +33 -0
- package/package.json~ +26 -0
- package/src/api.js +47 -0
- package/src/api.js~ +0 -0
- package/src/configure.js +24 -0
- package/src/configure.js~ +18 -0
- package/src/crawl.js +5 -0
- package/src/crawl.js~ +0 -0
- package/src/extract.js +5 -0
- package/src/extract.js~ +0 -0
- package/src/index.js +6 -0
- package/src/index.js~ +0 -0
- package/src/jobs.js +10 -0
- package/src/jobs.js~ +7 -0
- package/src/user.js +5 -0
- package/src/user.js~ +0 -0
- package/tests/crawl.test.js +6 -0
- package/tests/crawl.test.js~ +0 -0
- package/tests/jobs.test.js +7 -0
- package/tests/jobs.test.js~ +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
npx lint-staged
|
package/.prettierignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
node_modules
|
package/.prettierignore~
ADDED
|
File without changes
|
package/.prettierrc
ADDED
package/eslint.config.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import globals from 'globals';
|
|
2
|
+
import pluginJs from '@eslint/js';
|
|
3
|
+
import pluginPromise from 'eslint-plugin-promise';
|
|
4
|
+
|
|
5
|
+
/** @type {import('eslint').Linter.Config[]} */
|
|
6
|
+
export default [
|
|
7
|
+
{
|
|
8
|
+
languageOptions: {
|
|
9
|
+
globals: {
|
|
10
|
+
...globals.node,
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
plugins: {
|
|
14
|
+
promise: pluginPromise,
|
|
15
|
+
},
|
|
16
|
+
rules: {
|
|
17
|
+
...pluginPromise.configs.recommended.rules,
|
|
18
|
+
'promise/catch-or-return': 'error',
|
|
19
|
+
'promise/always-return': 'off',
|
|
20
|
+
'promise/param-names': 'off',
|
|
21
|
+
'promise/no-nesting': 'off',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
pluginJs.configs.recommended,
|
|
25
|
+
];
|
package/jest.config.js
ADDED
package/jest.config.js~
ADDED
|
File without changes
|