Skip to content

Commit 4c7ff97

Browse files
authored
Merge pull request #74 from DeterminateSystems/dependabot/npm_and_yarn/npm-deps-eb3d92718e
Bump the npm-deps group with 14 updates
2 parents bbdef96 + 6340231 commit 4c7ff97

File tree

9 files changed

+3513
-3192
lines changed

9 files changed

+3513
-3192
lines changed

.eslintrc.json

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

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eslint.config.js

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
import gitHubPlugin from "eslint-plugin-github";
2+
import globals from "globals";
3+
import tseslint from "typescript-eslint";
4+
5+
export default tseslint.config(
6+
tseslint.configs.recommended,
7+
{
8+
languageOptions: {
9+
parserOptions: {
10+
projectService: true,
11+
tsconfigRootDir: import.meta.dirname,
12+
},
13+
14+
ecmaVersion: 9,
15+
sourceType: "module",
16+
globals: {
17+
...globals.node,
18+
...globals.es2015,
19+
},
20+
},
21+
},
22+
{
23+
settings: {
24+
"import/resolver": {
25+
typescript: {},
26+
},
27+
"import/parsers": {
28+
"@typescript-eslint/parser": [".ts"],
29+
},
30+
},
31+
},
32+
gitHubPlugin.getFlatConfigs().recommended,
33+
{
34+
rules: {
35+
"@typescript-eslint/no-base-to-string": "error",
36+
camelcase: "error",
37+
"i18n-text/no-en": "off",
38+
"@typescript-eslint/no-shadow": "error",
39+
"eslint-comments/no-use": "off",
40+
"import/extensions": [
41+
"error",
42+
"ignorePackages",
43+
{ json: "always", ts: "never" },
44+
],
45+
"import/no-namespace": "off",
46+
"no-unused-vars": "off",
47+
"@typescript-eslint/no-unused-vars": [
48+
"error",
49+
{
50+
argsIgnorePattern: "^_",
51+
},
52+
],
53+
"@typescript-eslint/explicit-member-accessibility": [
54+
"error",
55+
{
56+
accessibility: "no-public",
57+
},
58+
],
59+
"@typescript-eslint/no-require-imports": "error",
60+
"@typescript-eslint/array-type": "error",
61+
"@typescript-eslint/await-thenable": "error",
62+
"@typescript-eslint/ban-ts-comment": "error",
63+
"@typescript-eslint/consistent-type-assertions": "error",
64+
"@typescript-eslint/explicit-function-return-type": [
65+
"error",
66+
{
67+
allowExpressions: true,
68+
},
69+
],
70+
"@typescript-eslint/no-array-constructor": "error",
71+
"@typescript-eslint/no-empty-interface": "error",
72+
"@typescript-eslint/no-explicit-any": "error",
73+
"@typescript-eslint/no-floating-promises": "error",
74+
"@typescript-eslint/no-extraneous-class": "error",
75+
"@typescript-eslint/no-for-in-array": "error",
76+
"@typescript-eslint/no-inferrable-types": "error",
77+
"@typescript-eslint/no-misused-new": "error",
78+
"@typescript-eslint/no-namespace": "error",
79+
"@typescript-eslint/no-non-null-assertion": "warn",
80+
"@typescript-eslint/no-unnecessary-qualifier": "error",
81+
"@typescript-eslint/no-unnecessary-type-assertion": "error",
82+
"@typescript-eslint/no-useless-constructor": "error",
83+
"@typescript-eslint/no-var-requires": "error",
84+
"@typescript-eslint/prefer-for-of": "warn",
85+
"@typescript-eslint/prefer-function-type": "warn",
86+
"@typescript-eslint/prefer-includes": "error",
87+
"@typescript-eslint/prefer-string-starts-ends-with": "error",
88+
"@typescript-eslint/promise-function-async": "error",
89+
"@typescript-eslint/require-array-sort-compare": "error",
90+
"@typescript-eslint/restrict-plus-operands": "error",
91+
"@typescript-eslint/unbound-method": "error",
92+
},
93+
},
94+
);

flake.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,27 @@
2727
},
2828
"homepage": "https://github.com/DeterminateSystems/detsys-ts#readme",
2929
"dependencies": {
30-
"@actions/cache": "^3.3.0",
30+
"@actions/cache": "^4.0.3",
3131
"@actions/core": "^1.11.1",
3232
"@actions/exec": "^1.1.1",
33-
"got": "^14.4.5",
34-
"type-fest": "^4.33.0"
33+
"got": "^14.4.6",
34+
"type-fest": "^4.37.0"
3535
},
3636
"devDependencies": {
37-
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
38-
"@types/node": "^20.17.17",
39-
"@typescript-eslint/eslint-plugin": "^7.18.0",
40-
"eslint": "^8.57.1",
41-
"eslint-import-resolver-typescript": "^3.7.0",
42-
"eslint-plugin-github": "^4.10.2",
37+
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
38+
"@types/node": "^22.13.10",
39+
"@typescript-eslint/eslint-plugin": "^8.26.1",
40+
"eslint": "^9.22.0",
41+
"eslint-import-resolver-typescript": "^4.2.2",
42+
"eslint-plugin-github": "^6.0.0",
4343
"eslint-plugin-import": "^2.31.0",
4444
"eslint-plugin-prettier": "^5.2.3",
45-
"prettier": "^3.4.2",
46-
"tsup": "^8.3.6",
47-
"typedoc": "^0.25.13",
48-
"typescript": "^5.7.3",
49-
"vitest": "^1.6.1"
45+
"globals": "^16.0.0",
46+
"prettier": "^3.5.3",
47+
"tsup": "^8.4.0",
48+
"typedoc": "^0.28.0",
49+
"typescript": "^5.8.2",
50+
"typescript-eslint": "^8.26.1",
51+
"vitest": "^3.0.9"
5052
}
5153
}

0 commit comments

Comments
 (0)