mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-13 14:26:37 +00:00
chore: update prettier
config
narrow the `resources` folder constraint in the .gitignore Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
parent
7f660d76a8
commit
5939b65511
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,7 +1,7 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
lib/
|
lib/
|
||||||
downloads/
|
downloads/
|
||||||
resources/
|
arduino-ide-extension/src/node/resources
|
||||||
arduino-ide-extension/Examples/
|
arduino-ide-extension/Examples/
|
||||||
src-gen/
|
src-gen/
|
||||||
gen-webpack.config.js
|
gen-webpack.config.js
|
||||||
|
11
.prettierignore
Normal file
11
.prettierignore
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
lib
|
||||||
|
dist
|
||||||
|
plugins
|
||||||
|
src-gen
|
||||||
|
i18n
|
||||||
|
gen-webpack*
|
||||||
|
.browser_modules
|
||||||
|
arduino-ide-extension/src/node/resources
|
||||||
|
cli-protocol
|
||||||
|
*color-theme.json
|
||||||
|
arduino-icons.json
|
@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"singleQuote": true,
|
|
||||||
"tabWidth": 2,
|
|
||||||
"useTabs": false,
|
|
||||||
"printWidth": 80,
|
|
||||||
"endOfLine": "auto"
|
|
||||||
}
|
|
28
.prettierrc.json
Normal file
28
.prettierrc.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"singleQuote": true,
|
||||||
|
"tabWidth": 2,
|
||||||
|
"useTabs": false,
|
||||||
|
"printWidth": 80,
|
||||||
|
"endOfLine": "auto",
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": "*.json",
|
||||||
|
"options": {
|
||||||
|
"tabWidth": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": "*.css",
|
||||||
|
"options": {
|
||||||
|
"tabWidth": 4,
|
||||||
|
"singleQuote": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": "*.html",
|
||||||
|
"options": {
|
||||||
|
"tabWidth": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user