Skip to content

Commit 536e9c5

Browse files
committed
chore: cleanup configs
1 parent 7dc7c01 commit 536e9c5

File tree

4 files changed

+119
-78
lines changed

4 files changed

+119
-78
lines changed

.all-contributorsrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"contributions": ["code", "projectManagement"]
1717
}
1818
],
19-
"contributorsPerLine": 7,
19+
"contributorsPerLine": 5,
2020
"linkToUsage": false
2121
}
2222

.editorconfig

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
# http://editorconfig.org
22

3-
# is top-most EditorConfig file
3+
# #
4+
# is top-most EditorConfig file
5+
# #
6+
47
root = true
58

6-
# All Files
9+
# #
10+
# All Files
11+
# #
12+
713
[*]
814
indent_style = space
915
indent_size = 4
@@ -12,11 +18,17 @@ charset = utf-8
1218
trim_trailing_whitespace = true
1319
insert_final_newline = true
1420

15-
# Markdown Files
21+
# #
22+
# Markdown Files
23+
# #
24+
1625
[*.md]
1726
trim_trailing_whitespace = false
1827

19-
# Other
28+
# #
29+
# Other
30+
# #
31+
2032
[{*.nsh,*.yml,*.yaml,*.json}]
2133
indent_style = space
2234
indent_size = 2

.gitignore

Lines changed: 51 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,84 @@
1-
# ----------------------------------------
2-
# Ignore everything
3-
# ----------------------------------------
1+
# #
2+
# Ignore everything
3+
# #
4+
45
/*
56

6-
# ----------------------------------------
7-
# [WL]: Git Base Folders/Files
8-
# ----------------------------------------
7+
# #
8+
# [WL]: Git Base Folders/Files
9+
# #
10+
911
!/.github
1012
!/.gitea
1113
!*README.md
1214
!*CHANGELOG.md
1315
!*CONTRIBUTE.md
1416
!*CONTRIBUTING.md
1517

16-
# ----------------------------------------
17-
# [WL]: Electron
18-
# ----------------------------------------
18+
# #
19+
# [WL]: Electron
20+
# #
21+
1922
!/electron
2023

24+
# #
25+
# [WL]: Test Folder
26+
# #
2127

22-
# ----------------------------------------
23-
# [WL]: Test Folder
24-
# ----------------------------------------
2528
!/Tests
2629

27-
# ----------------------------------------
28-
# [WL]: Manifest Folders
29-
# ----------------------------------------
30+
# #
31+
# [WL]: Manifest Folders
32+
# #
33+
3034
!/Manifest
3135

32-
# ----------------------------------------
33-
# [WL]: Tools Folders
34-
# ----------------------------------------
36+
# #
37+
# [WL]: Tools Folders
38+
# #
39+
3540
!/Tools
3641

37-
# ----------------------------------------
38-
# [WL]: Dist
39-
# ----------------------------------------
42+
# #
43+
# [WL]: Dist
44+
# #
45+
4046
!/dist
4147

42-
# ----------------------------------------
43-
# [WL]: assets
44-
# ----------------------------------------
48+
# #
49+
# [WL]: assets
50+
# #
51+
4552
!/assets
4653

47-
# ----------------------------------------
48-
# [WL]: Gitignore File
49-
# ----------------------------------------
54+
# #
55+
# [WL]: Gitignore File
56+
# #
57+
5058
!.gitignore
5159

52-
# ----------------------------------------
53-
# [WL]: Docs Folder
54-
# ----------------------------------------
60+
# #
61+
# [WL]: Docs Folder
62+
# #
63+
5564
!/docs
5665

57-
# ----------------------------------------
58-
# [WL]: Source Folder
59-
# ----------------------------------------
66+
# #
67+
# [WL]: Source Folder
68+
# #
69+
6070
!/src
6171

62-
# ----------------------------------------
63-
# [WL]: Dist Folder
64-
# ----------------------------------------
72+
# #
73+
# [WL]: Dist Folder
74+
# #
75+
6576
!/dist
6677

67-
# ----------------------------------------
68-
# [WL]: Base Files
69-
# ----------------------------------------
78+
# #
79+
# [WL]: Base Files
80+
# #
81+
7082
!*.all-contributorsrc
7183
!*.editorconfig
7284
!*gistr.js

.prettierrc

Lines changed: 51 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# --------------------------------------------------------------------------------------
1+
#
22
# Try prettier's new ternary formatting before it becomes the
33
# default behavior.
44
#
@@ -12,34 +12,38 @@
1212
# @ref : https://prettier.io/docs/en/options.html
1313
# https://prettier.io/docs/en/options.html#experimental-ternaries
1414
# https://github.com/prettier/prettier/pull/13183
15-
# --------------------------------------------------------------------------------------
15+
# #
16+
1617
# experimentalTernaries: false
1718

18-
# --------------------------------------------------------------------------------------
19+
# #
1920
# Specify the line length that the printer will wrap on.
2021
#
2122
# @default : 80
2223
# @ref : https://prettier.io/docs/en/options.html#print-width
23-
# --------------------------------------------------------------------------------------
24+
# #
25+
2426
printWidth: 120
2527

26-
# --------------------------------------------------------------------------------------
28+
# #
2729
# Specify the number of spaces per indentation-level.
2830
#
2931
# @default : 2
3032
# @ref : https://prettier.io/docs/en/options.html#tab-width
31-
# --------------------------------------------------------------------------------------
33+
# #
34+
3235
tabWidth: 4
3336

34-
# --------------------------------------------------------------------------------------
37+
# #
3538
# Indent lines with tabs instead of spaces.
3639
#
3740
# @default : false
3841
# @ref : https://prettier.io/docs/en/options.html#tabs
39-
# --------------------------------------------------------------------------------------
42+
# #
43+
4044
useTabs: false
4145

42-
# --------------------------------------------------------------------------------------
46+
# #
4347
# Print semicolons at the ends of statements.
4448
#
4549
# true : Add a semicolon at the end of every statement.
@@ -48,18 +52,20 @@ useTabs: false
4852
#
4953
# @default : true
5054
# @ref : https://prettier.io/docs/en/options.html#semicolons
51-
# --------------------------------------------------------------------------------------
55+
# #
56+
5257
semi: false
5358

54-
# --------------------------------------------------------------------------------------
59+
# #
5560
# Use single quotes instead of double quotes.
5661
#
5762
# @default : false
5863
# @ref : https://prettier.io/docs/en/options.html#quotes
59-
# --------------------------------------------------------------------------------------
64+
# #
65+
6066
singleQuote: true
6167

62-
# --------------------------------------------------------------------------------------
68+
# #
6369
# Change when properties in objects are quoted.
6470
#
6571
# "as-needed" : Only add quotes around object properties where required.
@@ -69,18 +75,20 @@ singleQuote: true
6975
#
7076
# @default : "as-needed"
7177
# @ref : https://prettier.io/docs/en/options.html#quote-props
72-
# --------------------------------------------------------------------------------------
78+
# #
79+
7380
quoteProps: 'preserve'
7481

75-
# --------------------------------------------------------------------------------------
82+
# #
7683
# Use single quotes instead of double quotes in JSX.
7784
#
7885
# @default : false
7986
# @ref : https://prettier.io/docs/en/options.html#jsx-quotes
80-
# --------------------------------------------------------------------------------------
87+
# #
88+
8189
jsxSingleQuote: true
8290

83-
# --------------------------------------------------------------------------------------
91+
# #
8492
# Print trailing commas wherever possible in multi-line comma-separated
8593
# syntactic structures.
8694
#
@@ -104,21 +112,23 @@ jsxSingleQuote: true
104112
#
105113
# @default : "all"
106114
# @ref : https://prettier.io/docs/en/options.html#trailing-commas
107-
# --------------------------------------------------------------------------------------
115+
# #
116+
108117
trailingComma: none
109118

110-
# --------------------------------------------------------------------------------------
119+
# #
111120
# Print spaces between brackets in object literals.
112121
#
113122
# true : Example: { foo: bar }.
114123
# false : Example: {foo: bar}.
115124
#
116125
# @default : true
117126
# @ref : https://prettier.io/docs/en/options.html#bracket-spacing
118-
# --------------------------------------------------------------------------------------
127+
# #
128+
119129
bracketSpacing: true
120130

121-
# --------------------------------------------------------------------------------------
131+
# #
122132
# Put the > of a multi-line HTML (HTML, JSX, Vue, Angular) element at the end of the
123133
# last line instead of being alone on the next line (does not apply to self closing
124134
# elements).
@@ -144,10 +154,11 @@ bracketSpacing: true
144154
#
145155
# @default : false
146156
# @ref : https://prettier.io/docs/en/options.html#bracket-line
147-
# --------------------------------------------------------------------------------------
157+
# #
158+
148159
bracketSameLine: false
149160

150-
# --------------------------------------------------------------------------------------
161+
# #
151162
# Include parentheses around a sole arrow function parameter.
152163
#
153164
# First available in v1.9.0, default value changed from avoid to always in v2.0.0
@@ -158,10 +169,11 @@ bracketSameLine: false
158169
#
159170
# @default : "always"
160171
# @ref : https://prettier.io/docs/en/options.html#arrow-function-parentheses
161-
# --------------------------------------------------------------------------------------
172+
# #
173+
162174
arrowParens: always
163175

164-
# --------------------------------------------------------------------------------------
176+
# #
165177
# By default, Prettier will not change wrapping in markdown text since some services
166178
# use a linebreak-sensitive renderer, e.g. GitHub comments and BitBucket. To have
167179
# Prettier wrap prose to the print width, change this option to "always". If you want
@@ -177,10 +189,11 @@ arrowParens: always
177189
#
178190
# @default : "preserve"
179191
# @ref : https://prettier.io/docs/en/options.html#prose-wrap
180-
# --------------------------------------------------------------------------------------
192+
# #
193+
181194
proseWrap: 'preserve'
182195

183-
# --------------------------------------------------------------------------------------
196+
# #
184197
# Specify the global whitespace sensitivity for HTML, Vue, Angular, and Handlebars.
185198
# See whitespace-sensitive formatting for more info.
186199
#
@@ -195,10 +208,11 @@ proseWrap: 'preserve'
195208
# @default : "css"
196209
# @ref : https://prettier.io/docs/en/options.html#html-whitespace-sensitivity
197210
# https://prettier.io/blog/2018/11/07/1.15.0.html#whitespace-sensitive-formatting
198-
# --------------------------------------------------------------------------------------
211+
# #
212+
199213
htmlWhitespaceSensitivity: 'ignore'
200214

201-
# --------------------------------------------------------------------------------------
215+
# #
202216
# For historical reasons, there exist two common flavors of line endings in text
203217
# files. That is:
204218
# - \n (or LF for Line Feed)
@@ -227,10 +241,11 @@ htmlWhitespaceSensitivity: 'ignore'
227241
#
228242
# @default : "lf"
229243
# @ref : https://prettier.io/docs/en/options.html#end-of-line
230-
# --------------------------------------------------------------------------------------
244+
# #
245+
231246
endOfLine: 'auto'
232247

233-
# --------------------------------------------------------------------------------------
248+
# #
234249
# Control whether Prettier formats quoted code embedded in the file.
235250
#
236251
# When Prettier identifies cases where it looks like you've placed some code it knows
@@ -249,16 +264,18 @@ endOfLine: 'auto'
249264
#
250265
# @default : "auto"
251266
# @ref : https://prettier.io/docs/en/options.html#embedded-language-formatting
252-
# --------------------------------------------------------------------------------------
267+
# #
268+
253269
embeddedLanguageFormatting: 'auto'
254270

255-
# --------------------------------------------------------------------------------------
271+
# #
256272
# Enforce single attribute per line in HTML, Vue and JSX.
257273
#
258274
# true : Enforce single attribute per line.
259275
# false : Do not enforce single attribute per line.
260276
#
261277
# @default : false
262278
# @ref : https://prettier.io/docs/en/options.html#single-attribute-per-line
263-
# --------------------------------------------------------------------------------------
279+
# #
280+
264281
singleAttributePerLine: false

0 commit comments

Comments
 (0)