Skip to content

Commit 00d5dcb

Browse files
author
Akos Kitta
committed
chore: update prettier config
narrow the `resources` folder constraint in the .gitignore Signed-off-by: Akos Kitta <[email protected]>
1 parent fe53b8e commit 00d5dcb

File tree

4 files changed

+40
-8
lines changed

4 files changed

+40
-8
lines changed

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
node_modules/
22
lib/
33
downloads/
4-
resources/
4+
arduino-ide-extension/src/node/resources
55
arduino-ide-extension/Examples/
66
src-gen/
77
gen-webpack.config.js

Diff for: .prettierignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
lib
2+
dist
3+
plugins
4+
src-gen
5+
i18n
6+
gen-webpack*
7+
.browser_modules
8+
arduino-ide-extension/src/node/resources
9+
cli-protocol
10+
*color-theme.json
11+
arduino-icons.json

Diff for: .prettierrc

-7
This file was deleted.

Diff for: .prettierrc.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"singleQuote": true,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"printWidth": 80,
6+
"endOfLine": "auto",
7+
"overrides": [
8+
{
9+
"files": "*.json",
10+
"options": {
11+
"tabWidth": 2
12+
}
13+
},
14+
{
15+
"files": "*.css",
16+
"options": {
17+
"tabWidth": 4,
18+
"singleQuote": false
19+
}
20+
},
21+
{
22+
"files": "*.html",
23+
"options": {
24+
"tabWidth": 4
25+
}
26+
}
27+
]
28+
}

0 commit comments

Comments
 (0)