mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Add .prettierrc.js
This commit is contained in:
4
.prettierrc.js
Normal file
4
.prettierrc.js
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
module.exports = {
|
||||||
|
singleQuote: true,
|
||||||
|
trailingComma: 'es5',
|
||||||
|
};
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
"jshint": "yarn grunt jshint",
|
"jshint": "yarn grunt jshint",
|
||||||
"lint": "yarn eslint && yarn grunt lint && yarn tslint",
|
"lint": "yarn eslint && yarn grunt lint && yarn tslint",
|
||||||
"tslint": "tslint --config tslint.json --format stylish --project .",
|
"tslint": "tslint --config tslint.json --format stylish --project .",
|
||||||
"format": "prettier --single-quote --trailing-comma es5 --write \"*.js\" \"js/**/*.js\" \"ts/**/*.{ts,tsx}\" \"test/**/*.js\"",
|
"format": "prettier --write \"*.js\" \"js/**/*.js\" \"ts/**/*.{ts,tsx}\" \"test/**/*.js\"",
|
||||||
"transpile": "tsc",
|
"transpile": "tsc",
|
||||||
"clean-transpile": "rimraf ts/**/*.js ts/*.js",
|
"clean-transpile": "rimraf ts/**/*.js ts/*.js",
|
||||||
"open-coverage": "open coverage/lcov-report/index.html",
|
"open-coverage": "open coverage/lcov-report/index.html",
|
||||||
|
|||||||
Reference in New Issue
Block a user