Skip to content

Commit

Permalink
Renormalize
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa committed Feb 23, 2024
2 parents f986c7d + 67110bf commit 4baaa07
Show file tree
Hide file tree
Showing 166 changed files with 9,213 additions and 9,169 deletions.
242 changes: 121 additions & 121 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,121 +1,121 @@
# Copied from: rasa/dotfiles/.editorconfig
# EDIT THE ABOVE FILE OR YOUR CHANGES WILL BE LOST!
# Docs: https://editorconfig.org/#file-format-details

# EditorConfig (is awesome): https://editorconfig.github.io

# * top-most EditorConfig file
root = true

# default style settings
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

# Batch files require CRLF newlines
[*.{bat,cmd,BAT,CMD}]
# a la VT102/Televideo 950
max_line_length = 132
end_of_line = crlf

# MSVC project files require CRLF newlines
[*.{dsp,dsw,sln,vcproj,vcprops,DSP,DSW,SLN,VCPROJ,VCPROPS}]
max_line_length = 132
end_of_line = crlf

# Google JavaScript Style Guide (https://google.github.io/styleguide/javascriptguide.xml)
[*.js]
max_line_length = 132
# @TODO max_line_length = 80

[*.json]
indent_size = unset
# https://github.com/zaach/jsonlint
# generates files that do not have final newlines
# so, the setting:
# "trailing-newline": false
# was added to
# https://github.com/rasa/workflows/blob/main/.github/linters/.jsonlintrc.json
# per
# https://github.com/prantlf/jsonlint/tree/master?tab=readme-ov-file#usage
# GitHub UI always adds final newlines, when files are edited
insert_final_newline = unset

# Makefiles require tab indentation
[{Makefile{,.*},makefile{,.*},GNUMakefile{,.*},*.mak,*.mk}]
indent_style = tab
max_line_length = 132
# @TODO max_line_length = 80

# Google Python Style Guide (https://google.github.io/styleguide/pyguide.html)
[*.py]
indent_size = 4
max_line_length = 132
# @TODO max_line_length = 80

# Google Shell Style Guide (https://google.github.io/styleguide/shellguide.html)
[*.sh]
# shfmt uses these settings:
# like -i=2
indent_style = space
indent_size = 2
# --language-variant
# shell_variant = posix # like -ln=posix
binary_next_line = true # like -bn
# --case-indent
switch_case_indent = true # like -ci
# space_redirects = true # like -sr
# keep_padding = true # like -kp
# --func-next-line
# function_next_line = true # like -fn
max_line_length = 132
# @TODO max_line_length = 80

[*.vbs]
indent_size = unset
max_line_length = 132
# @TODO max_line_length = 80

# json files without .json extension:
[{.ecrc,.textlintrc}]
insert_final_newline = unset

# unrooted file extensions:
[*.{cmd.*,diff,ignore,patch,txt,wip}]
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

# unrooted directories:
[{.ignore,.vendor,.wip,ignore,vendor,wip}/**]
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

# unrooted files:
[{archive,plug.vim}]
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

# rooted files/directories:
[/{.docker/*,.fonts.conf,.gitconfig,.mylogin.cnf*,.toprc,.vscode/default.code-snippets}]
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

# cspell:ignore ecrc, jsonlint, Makefiles, mylogin, textlintrc, toprc

# cSpell:ignore Televideo, vcproj, VCPROJ, vcprops, VCPROPS
# Copied from: rasa/dotfiles/.editorconfig
# EDIT THE ABOVE FILE OR YOUR CHANGES WILL BE LOST!
# Docs: https://editorconfig.org/#file-format-details

# EditorConfig (is awesome): https://editorconfig.github.io

# * top-most EditorConfig file
root = true

# default style settings
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

# Batch files require CRLF newlines
[*.{bat,cmd,BAT,CMD}]
# a la VT102/Televideo 950
max_line_length = 132
end_of_line = crlf

# MSVC project files require CRLF newlines
[*.{dsp,dsw,sln,vcproj,vcprops,DSP,DSW,SLN,VCPROJ,VCPROPS}]
max_line_length = 132
end_of_line = crlf

# Google JavaScript Style Guide (https://google.github.io/styleguide/javascriptguide.xml)
[*.js]
max_line_length = 132
# @TODO max_line_length = 80

[*.json]
indent_size = unset
# https://github.com/zaach/jsonlint
# generates files that do not have final newlines
# so, the setting:
# "trailing-newline": false
# was added to
# https://github.com/rasa/workflows/blob/main/.github/linters/.jsonlintrc.json
# per
# https://github.com/prantlf/jsonlint/tree/master?tab=readme-ov-file#usage
# GitHub UI always adds final newlines, when files are edited
insert_final_newline = unset

# Makefiles require tab indentation
[{Makefile{,.*},makefile{,.*},GNUMakefile{,.*},*.mak,*.mk}]
indent_style = tab
max_line_length = 132
# @TODO max_line_length = 80

# Google Python Style Guide (https://google.github.io/styleguide/pyguide.html)
[*.py]
indent_size = 4
max_line_length = 132
# @TODO max_line_length = 80

# Google Shell Style Guide (https://google.github.io/styleguide/shellguide.html)
[*.sh]
# shfmt uses these settings:
# like -i=2
indent_style = space
indent_size = 2
# --language-variant
# shell_variant = posix # like -ln=posix
binary_next_line = true # like -bn
# --case-indent
switch_case_indent = true # like -ci
# space_redirects = true # like -sr
# keep_padding = true # like -kp
# --func-next-line
# function_next_line = true # like -fn
max_line_length = 132
# @TODO max_line_length = 80

[*.vbs]
indent_size = unset
max_line_length = 132
# @TODO max_line_length = 80

# json files without .json extension:
[{.ecrc,.textlintrc}]
insert_final_newline = unset

# unrooted file extensions:
[*.{cmd.*,diff,ignore,patch,txt,wip}]
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

# unrooted directories:
[{.ignore,.vendor,.wip,ignore,vendor,wip}/**]
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

# unrooted files:
[{archive,plug.vim}]
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

# rooted files/directories:
[/{.docker/*,.fonts.conf,.gitconfig,.mylogin.cnf*,.toprc,.vscode/default.code-snippets}]
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

# cspell:ignore ecrc, jsonlint, Makefiles, mylogin, textlintrc, toprc

# cSpell:ignore Televideo, vcproj, VCPROJ, vcprops, VCPROPS
17 changes: 8 additions & 9 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# retain windows line-endings in case checked out on mac or linux
* text eol=crlf
.git/hooks/* text eol=lf

*.sh eol=lf
.github/* -text

# *.cmd eol=crlf
# *.bat eol=crlf
* -text
# retain windows line-endings when needed:
*.bat text eol=crlf
*.cmd text eol=crlf

.git/hooks/* text eol=lf

*.sh eol=lf
12 changes: 6 additions & 6 deletions .github/.cspell.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"import": [
".cspell/cspell.config.yml"
],
"version": "0.2"
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"import": [
".cspell/cspell.config.yml"
],
"version": "0.2"
}
12 changes: 6 additions & 6 deletions .github/.cspell/correct-words.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## cSpell:disable
## Copied from: rasa/dotfiles/.github/.cspell/correct-words.txt
## EDIT THE ABOVE FILE OR YOUR CHANGES WILL BE LOST!
## cSpell dictionary of manually curated list of words (and filenames) to treat as correctly spelled

cicd
## cSpell:disable
## Copied from: rasa/dotfiles/.github/.cspell/correct-words.txt
## EDIT THE ABOVE FILE OR YOUR CHANGES WILL BE LOST!
## cSpell dictionary of manually curated list of words (and filenames) to treat as correctly spelled
cicd
52 changes: 26 additions & 26 deletions .github/.cspell/cspell.config.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
---
# cSpell:disable
# Copied from: rasa/dotfiles/.github/.cspell/cspell.config.yml
# EDIT THE ABOVE FILE OR YOUR CHANGES WILL BE LOST!
# yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json

dictionaries:
- '.github/correct-words.txt'
- '.github/ignore-words.txt'
- '.github/ignore-filenames.txt'
dictionaryDefinitions:
- addWords: true
description: 'Manually curated list of words (and filenames) to treat as correctly spelled (in shared .github repo)'
name: '.github/correct-words.txt'
path: 'correct-words.txt'
- addWords: true
description: 'Auto-generated list of words assumed correctly spelled until triaged (in shared .github repo)'
name: '.github/ignore-words.txt'
path: 'ignore-words.txt'
- addWords: true
description: 'Auto-generated list of filenames assumed correctly spelled until triaged (in shared .github repo)'
name: '.github/ignore-filenames.txt'
path: 'ignore-filenames.txt'
import:
- '../../.cspell/common-settings.yml'
- 'overrides.yml'
---
# cSpell:disable
# Copied from: rasa/dotfiles/.github/.cspell/cspell.config.yml
# EDIT THE ABOVE FILE OR YOUR CHANGES WILL BE LOST!
# yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json

dictionaries:
- '.github/correct-words.txt'
- '.github/ignore-words.txt'
- '.github/ignore-filenames.txt'
dictionaryDefinitions:
- addWords: true
description: 'Manually curated list of words (and filenames) to treat as correctly spelled (in shared .github repo)'
name: '.github/correct-words.txt'
path: 'correct-words.txt'
- addWords: true
description: 'Auto-generated list of words assumed correctly spelled until triaged (in shared .github repo)'
name: '.github/ignore-words.txt'
path: 'ignore-words.txt'
- addWords: true
description: 'Auto-generated list of filenames assumed correctly spelled until triaged (in shared .github repo)'
name: '.github/ignore-filenames.txt'
path: 'ignore-filenames.txt'
import:
- '../../.cspell/common-settings.yml'
- 'overrides.yml'
40 changes: 20 additions & 20 deletions .github/.cspell/ignore-filenames.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
## cSpell:disable
## Copied from: rasa/dotfiles/.github/.cspell/ignore-filenames.txt
## EDIT THE ABOVE FILE OR YOUR CHANGES WILL BE LOST!
## Auto-generated cSpell dictionary of filenames to assume are correctly spelled
## See https://cspell.org/docs/dictionaries-custom/
##

codeql
ecrc
grype
hadolint
jsonlintrc
markdownlint
pydeps
pylintrc
pyrightconfig
rasa
regen
shiftleft
textlintrc
## cSpell:disable
## Copied from: rasa/dotfiles/.github/.cspell/ignore-filenames.txt
## EDIT THE ABOVE FILE OR YOUR CHANGES WILL BE LOST!
## Auto-generated cSpell dictionary of filenames to assume are correctly spelled
## See https://cspell.org/docs/dictionaries-custom/
##
codeql
ecrc
grype
hadolint
jsonlintrc
markdownlint
pydeps
pylintrc
pyrightconfig
rasa
regen
shiftleft
textlintrc
Loading

0 comments on commit 4baaa07

Please sign in to comment.