ReviewOS

also looking at this

stacks/ts-css

Merge @stacksjs/ts-css into this repo as packages/toolkit

#27
Merged glennmichael123 wants to merge merge/ts-css-toolkit into main
128 files +9797 -201
packages/toolkit/.vscode/settings.jsonadded+153-0
Changes to packages/toolkit/.vscode/settings.json
@@ -0,0 +1,153 @@
1{
2 // Disable the default formatter, use eslint instead
3 "prettier.enable": false,
4 "biome.enabled": false,
5 "editor.formatOnSave": false,
6 // Auto fix
7 "editor.codeActionsOnSave": {
8 "source.fixAll.eslint": "explicit",
9 "source.organizeImports": "never"
10 },
11 // Silent the stylistic rules in you IDE, but still auto fix them
12 "eslint.rules.customizations": [
13 {
14 "rule": "style/*",
15 "severity": "off",
16 "fixable": true
17 },
18 {
19 "rule": "format/*",
20 "severity": "off",
21 "fixable": true
22 },
23 {
24 "rule": "*-indent",
25 "severity": "off",
26 "fixable": true
27 },
28 {
29 "rule": "*-spacing",
30 "severity": "off",
31 "fixable": true
32 },
33 {
34 "rule": "*-spaces",
35 "severity": "off",
36 "fixable": true
37 },
38 {
39 "rule": "*-order",
40 "severity": "off",
41 "fixable": true
42 },
43 {
44 "rule": "*-dangle",
45 "severity": "off",
46 "fixable": true
47 },
48 {
49 "rule": "*-newline",
50 "severity": "off",
51 "fixable": true
52 },
53 {
54 "rule": "*quotes",
55 "severity": "off",
56 "fixable": true
57 },
58 {
59 "rule": "*semi",
60 "severity": "off",
61 "fixable": true
62 }
63 ],
64 // Enable eslint for all supported languages
65 "eslint.validate": [
66 "javascript",
67 "javascriptreact",
68 "typescript",
69 "typescriptreact",
70 "vue",
71 "html",
72 "markdown",
73 "json",
74 "jsonc",
75 "yaml",
76 "toml",
77 "xml",
78 "gql",
79 "graphql",
80 "astro",
81 "svelte",
82 "css",
83 "less",
84 "scss",
85 "pcss",
86 "postcss"
87 ],
88 "[stx]": {
89 "editor.defaultFormatter": "dbaeumer.vscode-eslint"
90 },
91 // Shell
92 "[shellscript]": {
93 "editor.defaultFormatter": "foxundermoon.shell-format"
94 },
95 // Markdown
96 "[markdown]": {
97 "editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
98 "editor.formatOnSave": true
99 },
100 "[dockerfile]": {
101 "editor.defaultFormatter": "foxundermoon.shell-format"
102 },
103 "markdownlint.config": {
104 "default": true,
105 "MD033": {
106 "allowed_elements": [
107 "details",
108 "summary",
109 "VPTeamPage",
110 "VPTeamPageTitle",
111 "VPTeamMembers",
112 "script"
113 ]
114 },
115 "MD041": false
116 },
117 "typescript.preferGoToSourceDefinition": true,
118 "editor.quickSuggestions": {
119 "strings": true
120 },
121 "git.enableSmartCommit": true,
122 "npm.enableRunFromFolder": true,
123 "npm.packageManager": "bun",
124 "editor.gotoLocation.multipleDefinitions": "goto",
125 "search.exclude": {
126 "**/node_modules": true,
127 "**/cdk.out": true,
128 "**/dist": true,
129 "CHANGELOG.md": true
130 },
131
132 "cSpell.ignorePaths": ["node_modules"],
133 "cSpell.dictionaries": ["custom-dictionary"],
134 "cSpell.diagnosticLevel": "Hint",
135 "cSpell.customDictionaries": {
136 "bun-plugin-env": {
137 "name": "custom-dictionary",
138 "path": "./.vscode/dictionary.txt",
139 "scope": "user",
140 "addWords": true
141 },
142 "custom": true // enable the `custom` dictionary
143 },
144 "terminal.integrated.scrollback": 10000,
145 "grammarly.files.include": [
146 "**/README.md",
147 "**/readme.md",
148 "**/*.txt"
149 ],
150 "grammarly.files.exclude": [
151 "**/dictionary.txt"
152 ]
153}