Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
build: add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Apr 28, 2020
1 parent 5fe0f1f commit 701869b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .prettierignore
@@ -0,0 +1,5 @@
node_modules/
dist/
app/dist/
app/vendor/
app/extensions/
2 changes: 1 addition & 1 deletion .prettierrc
@@ -1,3 +1,3 @@
{
"singleQuote": true
"singleQuote": true
}
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -38,6 +38,7 @@
"lodash": "^4.17.15",
"mime-types": "^2.1.26",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"spectron": "^10.0.1",
Expand Down Expand Up @@ -100,7 +101,9 @@
"start": "electron . --enable-logging --icon _icon/icon.png --testing-INSECURE",
"clean": "rimraf app/dist/",
"setup": "npm install && npm --prefix ./app install ./app && git submodule update --init --force --remote",
"format": "prettier --write .",
"lint": "npm-run-all --parallel lint:*",
"lint:formatting": "prettier --check .",
"lint:eslint": "eslint app/index.ts app/application.ts app/javascripts/**/*.ts test/*.ts",
"lint:types": "tsc --noEmit",
"test": "ava"
Expand Down

0 comments on commit 701869b

Please sign in to comment.