Skip to content

Commit

Permalink
chore: cleanup configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aetherinox committed Oct 5, 2024
1 parent 7dc7c01 commit 536e9c5
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 78 deletions.
2 changes: 1 addition & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"contributions": ["code", "projectManagement"]
}
],
"contributorsPerLine": 7,
"contributorsPerLine": 5,
"linkToUsage": false
}

20 changes: 16 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# http://editorconfig.org

# is top-most EditorConfig file
# #
# is top-most EditorConfig file
# #

root = true

# All Files
# #
# All Files
# #

[*]
indent_style = space
indent_size = 4
Expand All @@ -12,11 +18,17 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

# Markdown Files
# #
# Markdown Files
# #

[*.md]
trim_trailing_whitespace = false

# Other
# #
# Other
# #

[{*.nsh,*.yml,*.yaml,*.json}]
indent_style = space
indent_size = 2
90 changes: 51 additions & 39 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,72 +1,84 @@
# ----------------------------------------
# Ignore everything
# ----------------------------------------
# #
# Ignore everything
# #

/*

# ----------------------------------------
# [WL]: Git Base Folders/Files
# ----------------------------------------
# #
# [WL]: Git Base Folders/Files
# #

!/.github
!/.gitea
!*README.md
!*CHANGELOG.md
!*CONTRIBUTE.md
!*CONTRIBUTING.md

# ----------------------------------------
# [WL]: Electron
# ----------------------------------------
# #
# [WL]: Electron
# #

!/electron

# #
# [WL]: Test Folder
# #

# ----------------------------------------
# [WL]: Test Folder
# ----------------------------------------
!/Tests

# ----------------------------------------
# [WL]: Manifest Folders
# ----------------------------------------
# #
# [WL]: Manifest Folders
# #

!/Manifest

# ----------------------------------------
# [WL]: Tools Folders
# ----------------------------------------
# #
# [WL]: Tools Folders
# #

!/Tools

# ----------------------------------------
# [WL]: Dist
# ----------------------------------------
# #
# [WL]: Dist
# #

!/dist

# ----------------------------------------
# [WL]: assets
# ----------------------------------------
# #
# [WL]: assets
# #

!/assets

# ----------------------------------------
# [WL]: Gitignore File
# ----------------------------------------
# #
# [WL]: Gitignore File
# #

!.gitignore

# ----------------------------------------
# [WL]: Docs Folder
# ----------------------------------------
# #
# [WL]: Docs Folder
# #

!/docs

# ----------------------------------------
# [WL]: Source Folder
# ----------------------------------------
# #
# [WL]: Source Folder
# #

!/src

# ----------------------------------------
# [WL]: Dist Folder
# ----------------------------------------
# #
# [WL]: Dist Folder
# #

!/dist

# ----------------------------------------
# [WL]: Base Files
# ----------------------------------------
# #
# [WL]: Base Files
# #

!*.all-contributorsrc
!*.editorconfig
!*gistr.js
Expand Down
85 changes: 51 additions & 34 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------
#
# Try prettier's new ternary formatting before it becomes the
# default behavior.
#
Expand All @@ -12,34 +12,38 @@
# @ref : https://prettier.io/docs/en/options.html
# https://prettier.io/docs/en/options.html#experimental-ternaries
# https://github.com/prettier/prettier/pull/13183
# --------------------------------------------------------------------------------------
# #

# experimentalTernaries: false

# --------------------------------------------------------------------------------------
# #
# Specify the line length that the printer will wrap on.
#
# @default : 80
# @ref : https://prettier.io/docs/en/options.html#print-width
# --------------------------------------------------------------------------------------
# #

printWidth: 120

# --------------------------------------------------------------------------------------
# #
# Specify the number of spaces per indentation-level.
#
# @default : 2
# @ref : https://prettier.io/docs/en/options.html#tab-width
# --------------------------------------------------------------------------------------
# #

tabWidth: 4

# --------------------------------------------------------------------------------------
# #
# Indent lines with tabs instead of spaces.
#
# @default : false
# @ref : https://prettier.io/docs/en/options.html#tabs
# --------------------------------------------------------------------------------------
# #

useTabs: false

# --------------------------------------------------------------------------------------
# #
# Print semicolons at the ends of statements.
#
# true : Add a semicolon at the end of every statement.
Expand All @@ -48,18 +52,20 @@ useTabs: false
#
# @default : true
# @ref : https://prettier.io/docs/en/options.html#semicolons
# --------------------------------------------------------------------------------------
# #

semi: false

# --------------------------------------------------------------------------------------
# #
# Use single quotes instead of double quotes.
#
# @default : false
# @ref : https://prettier.io/docs/en/options.html#quotes
# --------------------------------------------------------------------------------------
# #

singleQuote: true

# --------------------------------------------------------------------------------------
# #
# Change when properties in objects are quoted.
#
# "as-needed" : Only add quotes around object properties where required.
Expand All @@ -69,18 +75,20 @@ singleQuote: true
#
# @default : "as-needed"
# @ref : https://prettier.io/docs/en/options.html#quote-props
# --------------------------------------------------------------------------------------
# #

quoteProps: 'preserve'

# --------------------------------------------------------------------------------------
# #
# Use single quotes instead of double quotes in JSX.
#
# @default : false
# @ref : https://prettier.io/docs/en/options.html#jsx-quotes
# --------------------------------------------------------------------------------------
# #

jsxSingleQuote: true

# --------------------------------------------------------------------------------------
# #
# Print trailing commas wherever possible in multi-line comma-separated
# syntactic structures.
#
Expand All @@ -104,21 +112,23 @@ jsxSingleQuote: true
#
# @default : "all"
# @ref : https://prettier.io/docs/en/options.html#trailing-commas
# --------------------------------------------------------------------------------------
# #

trailingComma: none

# --------------------------------------------------------------------------------------
# #
# Print spaces between brackets in object literals.
#
# true : Example: { foo: bar }.
# false : Example: {foo: bar}.
#
# @default : true
# @ref : https://prettier.io/docs/en/options.html#bracket-spacing
# --------------------------------------------------------------------------------------
# #

bracketSpacing: true

# --------------------------------------------------------------------------------------
# #
# Put the > of a multi-line HTML (HTML, JSX, Vue, Angular) element at the end of the
# last line instead of being alone on the next line (does not apply to self closing
# elements).
Expand All @@ -144,10 +154,11 @@ bracketSpacing: true
#
# @default : false
# @ref : https://prettier.io/docs/en/options.html#bracket-line
# --------------------------------------------------------------------------------------
# #

bracketSameLine: false

# --------------------------------------------------------------------------------------
# #
# Include parentheses around a sole arrow function parameter.
#
# First available in v1.9.0, default value changed from avoid to always in v2.0.0
Expand All @@ -158,10 +169,11 @@ bracketSameLine: false
#
# @default : "always"
# @ref : https://prettier.io/docs/en/options.html#arrow-function-parentheses
# --------------------------------------------------------------------------------------
# #

arrowParens: always

# --------------------------------------------------------------------------------------
# #
# By default, Prettier will not change wrapping in markdown text since some services
# use a linebreak-sensitive renderer, e.g. GitHub comments and BitBucket. To have
# Prettier wrap prose to the print width, change this option to "always". If you want
Expand All @@ -177,10 +189,11 @@ arrowParens: always
#
# @default : "preserve"
# @ref : https://prettier.io/docs/en/options.html#prose-wrap
# --------------------------------------------------------------------------------------
# #

proseWrap: 'preserve'

# --------------------------------------------------------------------------------------
# #
# Specify the global whitespace sensitivity for HTML, Vue, Angular, and Handlebars.
# See whitespace-sensitive formatting for more info.
#
Expand All @@ -195,10 +208,11 @@ proseWrap: 'preserve'
# @default : "css"
# @ref : https://prettier.io/docs/en/options.html#html-whitespace-sensitivity
# https://prettier.io/blog/2018/11/07/1.15.0.html#whitespace-sensitive-formatting
# --------------------------------------------------------------------------------------
# #

htmlWhitespaceSensitivity: 'ignore'

# --------------------------------------------------------------------------------------
# #
# For historical reasons, there exist two common flavors of line endings in text
# files. That is:
# - \n (or LF for Line Feed)
Expand Down Expand Up @@ -227,10 +241,11 @@ htmlWhitespaceSensitivity: 'ignore'
#
# @default : "lf"
# @ref : https://prettier.io/docs/en/options.html#end-of-line
# --------------------------------------------------------------------------------------
# #

endOfLine: 'auto'

# --------------------------------------------------------------------------------------
# #
# Control whether Prettier formats quoted code embedded in the file.
#
# When Prettier identifies cases where it looks like you've placed some code it knows
Expand All @@ -249,16 +264,18 @@ endOfLine: 'auto'
#
# @default : "auto"
# @ref : https://prettier.io/docs/en/options.html#embedded-language-formatting
# --------------------------------------------------------------------------------------
# #

embeddedLanguageFormatting: 'auto'

# --------------------------------------------------------------------------------------
# #
# Enforce single attribute per line in HTML, Vue and JSX.
#
# true : Enforce single attribute per line.
# false : Do not enforce single attribute per line.
#
# @default : false
# @ref : https://prettier.io/docs/en/options.html#single-attribute-per-line
# --------------------------------------------------------------------------------------
# #

singleAttributePerLine: false

0 comments on commit 536e9c5

Please sign in to comment.