add prettier configuration

This commit is contained in:
Vishwas Shashidhar 2021-01-29 11:36:48 +05:30
parent 74cb527690
commit f1a0c840ec
3 changed files with 14 additions and 0 deletions

5
.prettierignore Normal file
View File

@ -0,0 +1,5 @@
/lib/**/*
/docs/**/*
/dictionaries/**/*
/images/**/*
/installer/**/*

8
.prettierrc Normal file
View File

@ -0,0 +1,8 @@
{
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": true,
"arrowParens": "always"
}

View File

@ -143,6 +143,7 @@
"ncp": "2.0.0",
"node-abi": "^2.17.0",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"robotjs": "0.6.0",
"run-script-os": "1.0.7",
"spectron": "^11.0.0",