chore: add prettier and reformat lib

This commit is contained in:
waterplea
2022-07-24 17:53:24 +03:00
committed by Matt Hill
parent c7006e0eb2
commit 2fef1e572c
12 changed files with 2600 additions and 112 deletions

View File

@@ -2,17 +2,9 @@
"rules": {
"no-unused-variable": true,
"no-unused-expression": true,
"space-before-function-paren": true,
"semicolon": [
true,
"never"
],
"semicolon": [true, "never"],
"no-trailing-whitespace": true,
"indent": [
true,
"spaces",
2
],
"indent": [true, "spaces", 2],
"whitespace": [
true,
"check-branch",
@@ -24,8 +16,7 @@
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock",
"check-postbrace"
"check-preblock"
],
"trailing-comma": [
true,
@@ -39,9 +30,6 @@
"singleline": "never"
}
],
"quotemark": [
true,
"single"
]
"quotemark": [true, "single"]
}
}