Add XML
parent
49bc591154
commit
143d27932d
|
@ -1 +1,2 @@
|
||||||
public/vendor/
|
public/vendor/
|
||||||
|
public/javascript/vendor/
|
||||||
|
|
10
.prettierrc
10
.prettierrc
|
@ -2,5 +2,13 @@
|
||||||
"proseWrap": "never",
|
"proseWrap": "never",
|
||||||
"quoteProps": "consistent",
|
"quoteProps": "consistent",
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
"trailingComma": "all"
|
"trailingComma": "all",
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": "*.{json,xml}",
|
||||||
|
"options": {
|
||||||
|
"printWidth": 500
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,13 +22,14 @@
|
||||||
"yarn": "^1"
|
"yarn": "^1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@prettier/plugin-xml": "0.12.0",
|
||||||
"prettier": "2.2.1",
|
"prettier": "2.2.1",
|
||||||
"xml2js": "0.4.19"
|
"xml2js": "0.4.19"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "yarn prettier --write",
|
"format": "yarn prettier --write",
|
||||||
"lint": "yarn prettier --list-different",
|
"lint": "yarn prettier --list-different",
|
||||||
"prettier": "prettier \"**/*.{ts,js,json,md,scss,yaml,yml}\""
|
"prettier": "prettier \"**/*.{ts,js,json,md,scss,yaml,yml,xml}\""
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"ui",
|
"ui",
|
||||||
|
|
Loading…
Reference in New Issue