Skip to content

Commit fb91f68

Browse files
icebobclaude
andcommitted
Upgrade all dependencies
Production: - @apollo/server 5.0.0 → 5.5.0 - @graphql-tools/schema 10.0.25 → 10.0.31 - graphql-ws 6.0.6 → 6.0.8 - lodash 4.17.21 → 4.17.23 - ws 8.18.3 → 8.20.0 Dev: - eslint 9 → 10 (migrate config to defineConfig, remove .eslintignore) - typescript 5 → 6 (migrate tsconfig to moduleResolution node16) - jest 30.1 → 30.3 - prettier 3.6 → 3.8 - tsx 4.20 → 4.21 - nodemon 3.1.10 → 3.1.14 - npm-check-updates 18 → 19 - Add globals as explicit devDependency Removed: - eslint-plugin-node (unused, not ESLint 10 compatible) - .eslintignore (migrated to eslint.config.js) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8fa5927 commit fb91f68

6 files changed

Lines changed: 3804 additions & 12074 deletions

File tree

.eslintignore

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

eslint.config.js

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
const js = require("@eslint/js");
1+
const { defineConfig, globalIgnores } = require("eslint/config");
22
const globals = require("globals");
33
const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended");
44

5-
/** @type {import('eslint').Linter.FlatConfig[]} */
6-
module.exports = [
7-
js.configs.recommended,
5+
/** @type {import('eslint').Linter.Config[]} */
6+
module.exports = defineConfig([
87
eslintPluginPrettierRecommended,
98
{
109
files: ["**/*.js", "**/*.mjs"],
@@ -25,19 +24,12 @@ module.exports = [
2524
fetch: "readonly"
2625
}
2726
},
28-
// plugins: ["node", "security"],
2927
rules: {
3028
"no-var": ["error"],
3129
"no-console": ["error"],
3230
"no-unused-vars": ["warn"],
33-
"no-trailing-spaces": ["error"],
34-
"security/detect-object-injection": ["off"],
35-
"security/detect-non-literal-require": ["off"],
36-
"security/detect-non-literal-fs-filename": ["off"],
37-
"no-process-exit": ["off"],
38-
"node/no-unpublished-require": 0
31+
"no-trailing-spaces": ["error"]
3932
}
40-
// ignores: ["benchmark/test.js", "test/typescript/hello-world/out/*.js"]
4133
},
4234
{
4335
files: ["test/**/*.js"],
@@ -53,4 +45,4 @@ module.exports = [
5345
"no-unused-vars": ["off"]
5446
}
5547
}
56-
];
48+
]);

0 commit comments

Comments
 (0)