Skip to content

Commit ae7587d

Browse files
Update dependency versions (#19)
Ran prettier
1 parent 1eb2613 commit ae7587d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1544
-3479
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v24.4.0
1+
v25.0.0

.prettierrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"tabWidth": 4,
3-
"printWidth": 100,
43
"overrides": [
54
{
65
"files": "*.yaml",

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ Many of the commands take arguments and return values that can only be used with
2929
Move active file to new directory.
3030
- `andreas.formatWorkspaceFiles()`
3131
Format workspace files.
32-
- `andreas.formatSelectedFiles()`
33-
Format selected files. Used by file explorer context menu.
3432
- `andreas.searchFiles(query?: string)`
3533
Search files Search files in workspace.
3634
- `andreas.searchFilesOpenSelected()`
Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import eslintJs from "@eslint/js";
22
import eslintPrettier from "eslint-config-prettier/flat";
3-
import path from "node:path";
43
import eslintTs from "typescript-eslint";
54

65
export default eslintTs.config(
7-
{ ignores: ["src/typings", "eslint.config.mts"] },
86
eslintJs.configs.recommended,
97
eslintTs.configs.recommendedTypeChecked,
108
eslintPrettier,
@@ -14,30 +12,34 @@ export default eslintTs.config(
1412
ecmaVersion: "latest",
1513
sourceType: "module",
1614
parserOptions: {
17-
project: "./tsconfig.json",
15+
projectService: true,
16+
tsconfigRootDir: import.meta.dirname,
1817
},
1918
},
2019

2120
rules: {
21+
"@typescript-eslint/consistent-type-imports": "error",
2222
"@typescript-eslint/naming-convention": "error",
23-
"@typescript-eslint/no-explicit-any": "off",
24-
curly: "error",
25-
"no-throw-literal": "error",
23+
"@typescript-eslint/no-unused-vars": [
24+
"warn",
25+
{
26+
argsIgnorePattern: "^_",
27+
caughtErrorsIgnorePattern: "^_",
28+
},
29+
],
2630
"no-warning-comments": "warn",
31+
curly: "error",
2732
eqeqeq: [
2833
"error",
2934
"always",
3035
{
3136
null: "never",
3237
},
3338
],
34-
"@typescript-eslint/no-unused-vars": [
35-
"warn",
36-
{
37-
argsIgnorePattern: "^_",
38-
caughtErrorsIgnorePattern: "^_",
39-
},
40-
],
4139
},
4240
},
41+
{
42+
files: ["eslint.config.ts", "src/typings/**/*"],
43+
extends: [eslintTs.configs.disableTypeChecked],
44+
},
4345
);

0 commit comments

Comments
 (0)