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.
@@ -0,0 +1 @@
1
+ npx lint-staged
@@ -0,0 +1 @@
1
+ node_modules
File without changes
package/.prettierrc ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "semi": true,
3
+ "singleQuote": true,
4
+ "printWidth": 80,
5
+ "tabWidth": 2,
6
+ "arrowParens": "always",
7
+ "trailingComma": "es5"
8
+ }
@@ -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
@@ -0,0 +1,3 @@
1
+ export default {
2
+ testEnvironment: 'node',
3
+ };
File without changes