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 13:49:25 +01:00
parent 627ced35bb
commit 21fc458f14
No known key found for this signature in database
GPG key ID: 3CD561F7B1C461BD
4 changed files with 23 additions and 5 deletions

12
.editorconfig Normal file
View file

@ -0,0 +1,12 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
[{data/deprecated.json,data/discarded.json,package.json,.package-lock.json}]
indent_size = 2