Skip to content

Commit 93e696c

Browse files
committed
chore: initial commit
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
0 parents  commit 93e696c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+16417
-0
lines changed

.attw.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"color": true,
3+
"emoji": true,
4+
"format": "ascii",
5+
"ignoreRules": ["cjs-resolves-to-esm", "no-resolution"],
6+
"summary": true
7+
}

.commitlintrc.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/**
2+
* @file Configuration - commitlint
3+
* @module config/commitlint
4+
* @see https://commitlint.js.org
5+
*/
6+
7+
import { RuleConfigSeverity, type UserConfig } from '@commitlint/types'
8+
import { scopes } from '@flex-development/commitlint-config'
9+
10+
/**
11+
* `commitlint` configuration object.
12+
*
13+
* @const {UserConfig} config
14+
*/
15+
const config: UserConfig = {
16+
extends: ['@flex-development'],
17+
rules: {
18+
'scope-enum': [RuleConfigSeverity.Error, 'always', scopes([
19+
'preset',
20+
'settings'
21+
])]
22+
}
23+
}
24+
25+
export default config

.cspell.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
3+
"allowCompoundWords": true,
4+
"caseSensitive": false,
5+
"dictionaries": ["@flex-development/remark-preset"],
6+
"dictionaryDefinitions": [
7+
{
8+
"name": "@flex-development/remark-preset",
9+
"path": "./.dictionary.txt"
10+
}
11+
],
12+
"enableGlobDot": true,
13+
"failFast": false,
14+
"flagWords": [],
15+
"ignorePaths": [
16+
"**/.*ignore",
17+
"**/.gitconfig",
18+
"**/CHANGELOG.md",
19+
"**/LICENSE.md",
20+
"**/RELEASE_NOTES.md",
21+
".cspell.json",
22+
".dictionary.txt",
23+
".git/",
24+
".husky/_/",
25+
".vscode/settings.json",
26+
".yarn/",
27+
"yarn.lock"
28+
],
29+
"ignoreRegExpList": [],
30+
"ignoreWords": [],
31+
"language": "en-US",
32+
"readonly": true,
33+
"useGitignore": true,
34+
"usePnP": false,
35+
"version": "0.2"
36+
}

.dictionary.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
attw
2+
cefc
3+
commitlintrc
4+
dedupe
5+
devlop
6+
docast
7+
fbca
8+
fldv
9+
ggshield
10+
gpgsign
11+
hmarr
12+
jchen
13+
kaisugi
14+
nvmrc
15+
pkgs
16+
sarif
17+
shfmt
18+
vates
19+
yarnrc

.dprint.jsonc

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
{
2+
"$schema": "https://dprint.dev/schemas/v0.json",
3+
"excludes": [
4+
"!scratch.*",
5+
"**/*.patch",
6+
"**/*.snap",
7+
"**/CHANGELOG.md",
8+
"**/LICENSE.md",
9+
"**/RELEASE_NOTES.md",
10+
".git/",
11+
".husky/_/",
12+
".yarn/",
13+
"yarn.lock"
14+
],
15+
"exec": {
16+
"commands": [
17+
{
18+
"command": "node --experimental-strip-types --experimental-transform-types ./dprint/prettier.mts {{file_path}}",
19+
"exts": ["css", "html", "json5", "scss", "yaml", "yml"],
20+
"stdin": true
21+
},
22+
{
23+
"command": "node --experimental-strip-types --experimental-transform-types ./dprint/remark.mts {{file_path}}",
24+
"exts": ["md", "mdx"],
25+
"stdin": true
26+
},
27+
{
28+
"command": "node --experimental-strip-types --experimental-transform-types ./dprint/shfmt.mts {{file_path}}",
29+
"exts": ["sh", "zsh"],
30+
"fileNames": [
31+
".editorconfig",
32+
".env.vars",
33+
".eslintcache",
34+
".eslintignore",
35+
".gitattributes",
36+
".gitconfig",
37+
".gitignore",
38+
".nvmrc",
39+
"Brewfile",
40+
"commit-msg"
41+
],
42+
"stdin": true
43+
}
44+
],
45+
"cwd": "${configDir}"
46+
},
47+
"indentWidth": 2,
48+
"json": {
49+
"associations": ["**/*.{jsonc,json}"],
50+
"array.preferSingleLine": false,
51+
"commentLine.forceSpaceAfterSlashes": true,
52+
"ignoreNodeCommentText": "dprint-ignore",
53+
"object.preferSingleLine": false,
54+
"trailingCommas": "never"
55+
},
56+
"lineWidth": 80,
57+
"newLineKind": "lf",
58+
"plugins": [
59+
"https://plugins.dprint.dev/typescript-0.94.0.wasm",
60+
"https://plugins.dprint.dev/json-0.20.0.wasm",
61+
"https://plugins.dprint.dev/exec-0.5.1.json@492414e39dea4dccc07b4af796d2f4efdb89e84bae2bd4e1e924c0cc050855bf"
62+
],
63+
"typescript": {
64+
"arrowFunction.useParentheses": "preferNone",
65+
"binaryExpression.linePerExpression": false,
66+
"binaryExpression.operatorPosition": "sameLine",
67+
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
68+
"bracePosition": "sameLine",
69+
"commentLine.forceSpaceAfterSlashes": false,
70+
"constructSignature.spaceAfterNewKeyword": true,
71+
"constructor.spaceBeforeParentheses": false,
72+
"constructorType.spaceAfterNewKeyword": true,
73+
"doWhileStatement.spaceAfterWhileKeyword": true,
74+
"enumDeclaration.memberSpacing": "maintain",
75+
"exportDeclaration.forceMultiLine": "never",
76+
"exportDeclaration.forceSingleLine": false,
77+
"exportDeclaration.sortNamedExports": "maintain",
78+
"exportDeclaration.spaceSurroundingNamedExports": true,
79+
"forInStatement.spaceAfterForKeyword": true,
80+
"forOfStatement.spaceAfterForKeyword": true,
81+
"forStatement.spaceAfterForKeyword": true,
82+
"forStatement.spaceAfterSemiColons": true,
83+
"functionDeclaration.spaceBeforeParentheses": false,
84+
"functionExpression.spaceAfterFunctionKeyword": false,
85+
"functionExpression.spaceBeforeParentheses": false,
86+
"getAccessor.spaceBeforeParentheses": false,
87+
"ifStatement.spaceAfterIfKeyword": true,
88+
"ignoreFileCommentText": "dprint-ignore-file",
89+
"ignoreNodeCommentText": "dprint-ignore",
90+
"importDeclaration.forceMultiLine": "never",
91+
"importDeclaration.forceSingleLine": false,
92+
"importDeclaration.sortNamedImports": "maintain",
93+
"importDeclaration.spaceSurroundingNamedImports": true,
94+
"jsx.bracketPosition": "nextLine",
95+
"jsx.forceNewLinesSurroundingContent": false,
96+
"jsx.multiLineParens": "prefer",
97+
"jsx.quoteStyle": "preferSingle",
98+
"jsxExpressionContainer.spaceSurroundingExpression": false,
99+
"jsxSelfClosingElement.spaceBeforeSlash": true,
100+
"memberExpression.linePerExpression": false,
101+
"method.spaceBeforeParentheses": false,
102+
"module.sortExportDeclarations": "caseSensitive",
103+
"module.sortImportDeclarations": "caseSensitive",
104+
"newLineKind": "lf",
105+
"nextControlFlowPosition": "sameLine",
106+
"objectExpression.spaceSurroundingProperties": true,
107+
"objectPattern.spaceSurroundingProperties": true,
108+
"operatorPosition": "nextLine",
109+
"preferHanging": true,
110+
"preferSingleLine": false,
111+
"quoteProps": "asNeeded",
112+
"quoteStyle": "alwaysSingle",
113+
"semiColons": "asi",
114+
"setAccessor.spaceBeforeParentheses": false,
115+
"singleBodyPosition": "sameLine",
116+
"spaceAround": false,
117+
"spaceSurroundingProperties": true,
118+
"taggedTemplate.spaceBeforeLiteral": false,
119+
"trailingCommas": "never",
120+
"typeAnnotation.spaceBeforeColon": false,
121+
"typeAssertion.spaceBeforeExpression": false,
122+
"typeLiteral.separatorKind.singleLine": "semiColon",
123+
"typeLiteral.spaceSurroundingProperties": true,
124+
"useBraces": "maintain",
125+
"whileStatement.spaceAfterWhileKeyword": true
126+
},
127+
"useTabs": false
128+
}

.editorconfig

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# EDITORCONFIG
2+
# https://editorconfig.org
3+
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
4+
5+
# indicate top-most editorconfig file
6+
root = true
7+
8+
# universal rules
9+
[*]
10+
charset = utf-8
11+
continuation_indent_size = 2
12+
curly_bracket_next_line = false
13+
end_of_line = lf
14+
indent_brace_style = BSD
15+
indent_size = 2
16+
indent_style = space
17+
insert_final_newline = true
18+
max_line_length = 80
19+
quote_type = single
20+
spaces_around_brackets = inside
21+
spaces_around_operators = true
22+
tab_width = 2
23+
trim_trailing_whitespace = true
24+
25+
# markdown
26+
[{*.md,*.mdx}]
27+
max_line_length = 120
28+
29+
# shellscript
30+
[*.sh]
31+
binary_next_line = true
32+
function_next_line = false
33+
keep_comments = true
34+
keep_padding = false
35+
max_line_length = 100
36+
shell_variant = 0
37+
space_redirects = false
38+
switch_case_indent = true
39+
40+
# snapshots
41+
[*.snap]
42+
max_line_length = 130
43+
44+
# yaml
45+
[{*.yaml,*.yml}]
46+
max_line_length = 100

.env.vars

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# variables
2+
3+
GH_PROJECT_NUMBER=62

.env.zsh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ENVIRONMENT VARIABLES - ZSH
2+
#
3+
# References:
4+
#
5+
# - https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/dotenv
6+
# - https://homebrew-file.readthedocs.io/en/latest/usage.html
7+
8+
[ -f $PWD/.env.repo ] && source $PWD/.env.repo
9+
[ -f $PWD/.env.vars ] && source $PWD/.env.vars
10+
HOMEBREW_BREWFILE=./Brewfile

.gitattributes

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# GITATTRIBUTES
2+
# https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
3+
#
4+
# details per file setting:
5+
# binary: these files are binary and should be left untouched
6+
# text: these files should be normalized (i.e. convert crlf to lf)
7+
#
8+
# note that binary is a macro for -text -diff.
9+
# ------------------------------------------------------------------------------
10+
11+
# ------------------------------------------------------------------------------
12+
# AUTO DETECT
13+
# handle line endings automatically for files detected as text and leave files
14+
# detected as binary untouched. this will catch all files not defined below.
15+
# ------------------------------------------------------------------------------
16+
* text=auto
17+
18+
# ------------------------------------------------------------------------------
19+
# TEXT FILE ATTRIBUTES
20+
# ------------------------------------------------------------------------------
21+
*.json text eol=lf linguist-language=JSON-with-Comments
22+
*.md text eol=lf diff=markdown
23+
*.mjs text eol=lf
24+
*.mts text eol=lf
25+
*.sh text eol=lf
26+
*.ts text eol=lf
27+
*.yml text eol=lf
28+
29+
# configuration files
30+
# ------------------------------------------------------------------------------
31+
*.*ignore text eol=lf
32+
*.*rc text eol=lf
33+
.editorconfig text eol=lf
34+
.env* text eol=lf
35+
.gitattributes text eol=lf
36+
.gitconfig text eol=lf
37+
package.json text eol=lf
38+
yarn.lock text -diff

0 commit comments

Comments
 (0)