tweak code formatting rules

* output as "json-stringify" (which is most similar to most files currently in the repository)
* add .editorconfig
* drop (now) superfluous pretter settings
* add npm commands to check code style
This commit is contained in:
Martin Raifer
2022-01-25 14:04:40 +01:00
parent 627ced35bb
commit 21fc458f14
4 changed files with 23 additions and 5 deletions
+1 -4
View File
@@ -1,8 +1,5 @@
{
"tabWidth": 4,
"useTabs": false,
"semi": false,
"printWidth": 80,
"parser": "json-stringify",
"proseWrap": "never",
"bracketSpacing": true,
"endOfLine": "lf"