Skip to content

Commit cbc222c

Browse files
authored
Update deps, node support to v20, & minor feature enhancement
* Update deps Convert eslint config to flat format * Fix eslint issues * Fix eslint issues * Refactor basic request info to be reuable & add user agent * Allow subscription logger to overridden * Bump version * Apply name refactor * Apply name refactor * Apply name refactor * Support node 20 and up * Refactor name
1 parent 532c8d9 commit cbc222c

File tree

12 files changed

+2435
-1997
lines changed

12 files changed

+2435
-1997
lines changed

.eslintignore

Lines changed: 0 additions & 15 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 10 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import { FlatCompat } from '@eslint/eslintrc'
2+
import js from '@eslint/js'
3+
import globals from 'globals'
4+
import path from 'node:path'
5+
import { fileURLToPath } from 'node:url'
6+
7+
const __filename = fileURLToPath(import.meta.url)
8+
const __dirname = path.dirname(__filename)
9+
const compat = new FlatCompat({
10+
baseDirectory: __dirname,
11+
recommendedConfig: js.configs.recommended,
12+
allConfig: js.configs.all,
13+
})
14+
15+
export default [
16+
{
17+
ignores: [
18+
'**/.eslintrc.js',
19+
'**/node_modules',
20+
'**/dist',
21+
'**/build',
22+
'**/coverage',
23+
'**/generated/types.d.ts',
24+
'**/generated/types.ts',
25+
'**/.idea',
26+
'**/.vscode',
27+
'**/gql',
28+
],
29+
},
30+
...compat.extends('@makerx/eslint-config'),
31+
{
32+
rules: {
33+
'@typescript-eslint/no-explicit-any': 'off',
34+
},
35+
},
36+
{
37+
languageOptions: {
38+
globals: {
39+
...globals.node,
40+
},
41+
},
42+
},
43+
]

0 commit comments

Comments
 (0)