Skip to content

Commit 55335a7

Browse files
committed
Add ESlint configuration for VS code
Hopefully we won't need it long, though, if we switch to Typescript.
1 parent 67d7184 commit 55335a7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"esbenp.prettier-vscode",
44
"charliermarsh.ruff",
55
"redhat.vscode-yaml",
6-
"ms-python.mypy-type-checker"
6+
"ms-python.mypy-type-checker",
7+
"dbaeumer.vscode-eslint"
78
]
89
}

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"editor.defaultFormatter": "esbenp.prettier-vscode",
99
"editor.formatOnSave": true,
1010
"ruff.format.args": ["--line-length", "120"],
11-
"mypy.runUsingActiveInterpreter": true
11+
"mypy.runUsingActiveInterpreter": true,
12+
"eslint.workingDirectories": ["./admin"]
1213
}

0 commit comments

Comments
 (0)