aboutsummaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-02-08 06:52:06 -0500
committerGitHub <noreply@github.com>2024-02-08 11:52:06 +0000
commitd4381831209dfbbbddd6d238c68461c9601573e2 (patch)
tree87839d80f838464ff92ebc7fa652029b9329cc96 /.vscode
parent725a90dd6570044a3df6631051aaab8b026ca6c2 (diff)
Update eslint (#638)
* Add json test * Update vscode settings to better handle json * Collapse eslint rules for easier readability * Reorganize * Update no-multi-spaces rule for JSON * Rules updates * Switch to @stylistic/eslint-plugin * Update deprecated stylistic rules * Group stylistic rules * Simplify rules * Move eslint env overrides to end of file * Add test * Move promiseAnimationFrame to separate file * Remove unneeded eslint disable * Remove unneeded
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/settings.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 5aa6512c..bb9b3c80 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,6 +1,6 @@
{
"markdown.extension.toc.levels": "1..3",
- "[javascript]": {
+ "[javascript][json][jsonc]": {
"editor.codeActionsOnSave": {
"source.addMissingImports": "explicit",
"source.organizeImports": "explicit",
@@ -22,7 +22,9 @@
"editor.insertSpaces": true,
"eslint.validate": [
"javascript",
- "typescript"
+ "typescript",
+ "json",
+ "jsonc"
],
"files.eol": "\n",
"files.trimTrailingWhitespace": true,