Skip to content

Commit fbdcf34

Browse files
authored
chore: update vscode settings and suggestions (#3242)
1 parent 1c5d70c commit fbdcf34

File tree

2 files changed

+110
-18
lines changed

2 files changed

+110
-18
lines changed

.vscode/extensions.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
{
22
"recommendations": [
3-
"rajdeepchandra.spectrum-design-tokens-for-vscode",
4-
"gruntfuggly.todo-tree",
5-
"nrwl.angular-console",
6-
"esbenp.prettier-vscode",
7-
"dbaeumer.vscode-eslint",
8-
"vunguyentuan.vscode-postcss",
9-
"mariusschulz.yarn-lock-syntax",
10-
"stylelint.vscode-stylelint",
11-
"joshbolduc.story-explorer",
12-
"bierner.lit-html",
133
"atlassian.atlascode",
14-
"github.vscode-pull-request-github",
15-
"me-dutour-mathieu.vscode-github-actions",
4+
"bierner.color-info",
5+
"bierner.lit-html",
6+
"dbaeumer.vscode-eslint",
7+
"esbenp.prettier-vscode",
8+
"figma.figma-vscode-extension",
9+
"github.copilot",
10+
"github.copilot-chat",
1611
"github.vscode-github-actions",
12+
"github.vscode-pull-request-github",
13+
"gruntfuggly.todo-tree",
14+
"joshbolduc.story-explorer",
1715
"kisstkondoros.csstriggers",
18-
"vunguyentuan.vscode-css-variables"
16+
"mariusschulz.yarn-lock-syntax",
17+
"me-dutour-mathieu.vscode-github-actions",
18+
"nrwl.angular-console",
19+
"oouo-diogo-perdigao.docthis",
20+
"rajdeepchandra.spectrum-design-tokens-for-vscode",
21+
"stylelint.vscode-stylelint",
22+
"vunguyentuan.vscode-css-variables",
23+
"vunguyentuan.vscode-postcss"
1924
]
2025
}

.vscode/settings.json

Lines changed: 92 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
2-
"js/ts.implicitProjectConfig.experimentalDecorators": true,
32
"[css]": {
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll.stylelint": "explicit"
5+
},
46
"editor.defaultFormatter": "stylelint.vscode-stylelint"
57
},
68
"[javascript]": {
@@ -48,17 +50,89 @@
4850
"atlascode.jira.workingSite": {
4951
"baseUrlSuffix": "jira.corp.adobe.com"
5052
},
53+
"colorInfo.languages": [
54+
{
55+
"colors": "css",
56+
"selector": "css"
57+
},
58+
{
59+
"colors": "css",
60+
"selector": "postcss"
61+
},
62+
{
63+
"colors": "css",
64+
"selector": "javascript"
65+
},
66+
{
67+
"colors": "css",
68+
"selector": "js"
69+
},
70+
{
71+
"colors": "css",
72+
"selector": "jsx"
73+
},
74+
{
75+
"colors": "css",
76+
"selector": "json"
77+
},
78+
{
79+
"colors": "css",
80+
"selector": "svg"
81+
},
82+
{
83+
"colors": "css",
84+
"selector": "markdown"
85+
},
86+
{
87+
"colors": "css",
88+
"selector": "md"
89+
},
90+
{
91+
"colors": "css",
92+
"selector": "mdx"
93+
},
94+
{
95+
"colors": "css",
96+
"selector": "html"
97+
},
98+
{
99+
"colors": "css",
100+
"selector": "yaml"
101+
}
102+
],
103+
"cssVariables.lookupFiles": [
104+
"${workspaceFolder}/tokens/dist/index.css",
105+
"${workspaceFolder}/tokens/**/*.css",
106+
"${workspaceFolder}/components/*/index.css",
107+
"${workspaceFolder}/components/*/themes/*.css"
108+
],
109+
"docthis.includeDescriptionTag": true,
110+
"docthis.inferTypesFromNames": true,
111+
"docthis.returnsTag": true,
51112
"editor.defaultFormatter": "esbenp.prettier-vscode",
113+
"editor.largeFileOptimizations": true,
114+
"editor.renderControlCharacters": true,
52115
"emmet.includeLanguages": {
53116
"postcss": "css"
54117
},
55118
"emmet.syntaxProfiles": {
56119
"postcss": "css"
57120
},
121+
"eslint.format.enable": true,
58122
"eslint.packageManager": "yarn",
123+
"eslint.useESLintClass": true,
59124
"files.associations": {
60125
"*.css": "postcss"
61126
},
127+
"files.insertFinalNewline": true,
128+
"files.trimFinalNewlines": true,
129+
"files.trimTrailingWhitespace": true,
130+
"github.copilot.enable": {
131+
"*": true,
132+
"plaintext": false,
133+
"scminput": false
134+
},
135+
"githubIssues.createIssueTriggers": ["TODO", "todo", "FIXME", "ISSUE", "BUG"],
62136
"githubIssues.issueBranchTitle": "${author}/${sanitizedIssueTitle}-gh-${issueNumber}",
63137
"githubIssues.queries": [
64138
{
@@ -92,14 +166,27 @@
92166
"query": "is:open mentions:${user}"
93167
}
94168
],
169+
"js/ts.implicitProjectConfig.experimentalDecorators": true,
95170
"prettier.configPath": ".prettierrc",
96171
"prettier.ignorePath": ".prettierignore",
97-
"prettier.prettierPath": "./node_modules/prettier",
172+
"prettier.prettierPath": "node_modules/prettier",
173+
"stylelint.enable": true,
98174
"stylelint.packageManager": "yarn",
175+
"stylelint.reportDescriptionlessDisables": true,
176+
"stylelint.reportInvalidScopeDisables": true,
99177
"stylelint.reportNeedlessDisables": true,
100178
"stylelint.validate": ["css", "postcss"],
101179
"yaml.schemas": {
102-
"~/.vscode/extensions/atlassian.atlascode-3.0.4/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml",
103-
"./schemas/documentation.schema.json": ["/metadata/*.yml", "/metadata/*.yaml"]
104-
}
180+
"./schemas/documentation.schema.json": [
181+
"/metadata/*.yml",
182+
"/metadata/*.yaml"
183+
],
184+
"~/.vscode/extensions/atlassian.atlascode-3.0.4/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml"
185+
},
186+
"storyExplorer.storiesGlobs": [
187+
".storybook/deprecated/*/*.stories.js",
188+
".storybook/deprecated/*/*.mdx",
189+
"components/*/stories/*.stories.js",
190+
"components/*/stories/*.mdx"
191+
]
105192
}

0 commit comments

Comments
 (0)