aboutsummaryrefslogtreecommitdiff
path: root/.vscode/settings.json
diff options
context:
space:
mode:
authorPauline <git@ethanlibs.co>2023-12-20 01:58:22 -0500
committerPauline <git@ethanlibs.co>2023-12-20 01:58:22 -0500
commit8e85be96a154b371b4cf1fb1924155d96150f949 (patch)
tree22edab0f259bbdba76d1c8fb790ff2c6cf65db60 /.vscode/settings.json
parent64537e64852193cb735ee4853c0f8d07a5222030 (diff)
downloadNexus-8e85be96a154b371b4cf1fb1924155d96150f949.tar.gz
Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.tar.bz2
Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.zip
chore(lint): bump deps and fix linting/format
Diffstat (limited to '.vscode/settings.json')
-rw-r--r--.vscode/settings.json72
1 files changed, 25 insertions, 47 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 15853eb..f329032 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -18,59 +18,36 @@
"/packages/ctjs/types/*": true,
"**/dist": true
},
- // Enable the flat config support
+ // enable the eslint flat config support
"eslint.experimental.useFlatConfig": true,
- // Disable the default formatter
+
+ // disable the default formatter, use eslint
"prettier.enable": false,
"editor.formatOnSave": false,
- // Auto fix
+
+ // automatically fix
"editor.codeActionsOnSave": {
- "source.fixAll.eslint": true,
- "source.organizeImports": false
+ "source.fixAll.eslint": "explicit",
+ "source.organizeImports": "never"
},
- // Silent the stylistic rules in you IDE, but still auto fix them
+
+ // silent stylistic rules in the ide, but still fix them
+ /*
"eslint.rules.customizations": [
- {
- "rule": "@stylistic/*",
- "severity": "off"
- },
- {
- "rule": "style*",
- "severity": "off"
- },
- {
- "rule": "*-indent",
- "severity": "off"
- },
- {
- "rule": "*-spacing",
- "severity": "off"
- },
- {
- "rule": "*-spaces",
- "severity": "off"
- },
- {
- "rule": "*-order",
- "severity": "off"
- },
- {
- "rule": "*-dangle",
- "severity": "off"
- },
- {
- "rule": "*-newline",
- "severity": "off"
- },
- {
- "rule": "*quotes",
- "severity": "off"
- },
- {
- "rule": "*semi",
- "severity": "off"
- }
+ { "rule": "@stylistic/*", "severity": "warn" },
+ { "rule": "style*", "severity": "warn" },
+ { "rule": "*-indent", "severity": "warn" },
+ { "rule": "*-spacing", "severity": "warn" },
+ { "rule": "*-spaces", "severity": "warn" },
+ { "rule": "*-order", "severity": "warn" },
+ { "rule": "*-dangle", "severity": "warn" },
+ { "rule": "*-newline", "severity": "warn" },
+ { "rule": "*quotes", "severity": "warn" },
+ { "rule": "*semi", "severity": "warn" }
],
+ */
+
+ // enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
@@ -82,7 +59,8 @@
"json",
"jsonc",
"yaml",
- "astro"
+ "astro",
+ "toml"
],
"css.customData": [
".vscode/tailwind.json"