Added prettier config into the repo

This commit is contained in:
Alex Tselegidis 2021-11-06 17:35:35 +01:00
parent 7163111042
commit d8c12dce0a
4 changed files with 25 additions and 0 deletions

9
.prettierignore Normal file
View File

@ -0,0 +1,9 @@
.idea
application
build
docker
docs
storage
system
tests
vendor

9
.prettierrc.json Normal file
View File

@ -0,0 +1,9 @@
{
"printWidth": 120,
"tabWidth": 4,
"singleQuote": true,
"bracketSpacing": false,
"bracketSameLine": false,
"quoteProps": "preserve",
"trailingComma": "none"
}

6
package-lock.json generated
View File

@ -4445,6 +4445,12 @@
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
"dev": true "dev": true
}, },
"prettier": {
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz",
"integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==",
"dev": true
},
"pretty-hrtime": { "pretty-hrtime": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",

View File

@ -51,6 +51,7 @@
"jsdoc": "^3.6.6", "jsdoc": "^3.6.6",
"node-notifier": "^8.0.1", "node-notifier": "^8.0.1",
"plato": "^1.7.0", "plato": "^1.7.0",
"prettier": "^2.4.1",
"zip-dir": "^1.0.2" "zip-dir": "^1.0.2"
}, },
"scripts": { "scripts": {