ci: improve code formatting [skip ci]
This commit is contained in:
2
.github/config/dprint.json
vendored
2
.github/config/dprint.json
vendored
@@ -4,7 +4,7 @@
|
|||||||
"incremental": true,
|
"incremental": true,
|
||||||
"indentWidth": 2,
|
"indentWidth": 2,
|
||||||
"typescript": {
|
"typescript": {
|
||||||
"lineWidth": 280,
|
"lineWidth": 360,
|
||||||
"semiColons": "asi",
|
"semiColons": "asi",
|
||||||
"quoteStyle": "preferDouble",
|
"quoteStyle": "preferDouble",
|
||||||
"useBraces": "preferNone",
|
"useBraces": "preferNone",
|
||||||
|
|||||||
@@ -35,10 +35,9 @@ rules:
|
|||||||
|
|
||||||
# Avoid visual pollution
|
# Avoid visual pollution
|
||||||
semi: [error, never]
|
semi: [error, never]
|
||||||
semi-spacing: error
|
|
||||||
semi-style: [error, first]
|
semi-style: [error, first]
|
||||||
curly: [error, multi-or-nest]
|
|
||||||
dot-notation: error
|
dot-notation: error
|
||||||
|
no-extra-semi: off
|
||||||
|
|
||||||
# Avoid confusing code
|
# Avoid confusing code
|
||||||
no-label-var: error
|
no-label-var: error
|
||||||
@@ -147,4 +146,3 @@ rules:
|
|||||||
no-extra-parens: [error, functions]
|
no-extra-parens: [error, functions]
|
||||||
arrow-body-style: [error, as-needed]
|
arrow-body-style: [error, as-needed]
|
||||||
arrow-parens: [error, as-needed]
|
arrow-parens: [error, as-needed]
|
||||||
implicit-arrow-linebreak: error
|
|
||||||
|
|||||||
Reference in New Issue
Block a user