Skip to content

Commit d68703a

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

Some content is hidden

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

73 files changed

+18765
-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", "internal-resolution-error"],
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 {
8+
RuleConfigSeverity as Severity,
9+
type UserConfig
10+
} from '@commitlint/types'
11+
import { scopes } from '@flex-development/commitlint-config'
12+
13+
/**
14+
* `commitlint` configuration object.
15+
*
16+
* @const {UserConfig} config
17+
*/
18+
const config: UserConfig = {
19+
extends: ['@flex-development'],
20+
rules: {
21+
'scope-enum': [Severity.Error, 'always', scopes(['chore'])]
22+
}
23+
}
24+
25+
export default config

.cspell.json

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

.dictionary.txt

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

.dprint.jsonc

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
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",
33+
".env.local",
34+
".env.repo",
35+
".eslintcache",
36+
".eslintignore",
37+
".gitattributes",
38+
".gitconfig",
39+
".gitignore",
40+
".npmrc",
41+
".nvmrc",
42+
"Brewfile",
43+
"commit-msg",
44+
"pre-commit",
45+
"pre-push"
46+
],
47+
"stdin": true
48+
}
49+
],
50+
"cwd": "${configDir}"
51+
},
52+
"indentWidth": 2,
53+
"json": {
54+
"associations": ["**/*.{jsonc,json}"],
55+
"array.preferSingleLine": false,
56+
"commentLine.forceSpaceAfterSlashes": true,
57+
"ignoreNodeCommentText": "dprint-ignore",
58+
"object.preferSingleLine": false,
59+
"trailingCommas": "never"
60+
},
61+
"lineWidth": 80,
62+
"newLineKind": "lf",
63+
"plugins": [
64+
"https://plugins.dprint.dev/typescript-0.93.3.wasm",
65+
"https://plugins.dprint.dev/json-0.19.4.wasm",
66+
"https://plugins.dprint.dev/exec-0.5.1.json@492414e39dea4dccc07b4af796d2f4efdb89e84bae2bd4e1e924c0cc050855bf"
67+
],
68+
"typescript": {
69+
"arrowFunction.useParentheses": "preferNone",
70+
"binaryExpression.linePerExpression": false,
71+
"binaryExpression.operatorPosition": "sameLine",
72+
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
73+
"bracePosition": "sameLine",
74+
"commentLine.forceSpaceAfterSlashes": false,
75+
"constructSignature.spaceAfterNewKeyword": true,
76+
"constructor.spaceBeforeParentheses": false,
77+
"constructorType.spaceAfterNewKeyword": true,
78+
"doWhileStatement.spaceAfterWhileKeyword": true,
79+
"enumDeclaration.memberSpacing": "maintain",
80+
"exportDeclaration.forceMultiLine": "never",
81+
"exportDeclaration.forceSingleLine": false,
82+
"exportDeclaration.sortNamedExports": "maintain",
83+
"exportDeclaration.spaceSurroundingNamedExports": true,
84+
"forInStatement.spaceAfterForKeyword": true,
85+
"forOfStatement.spaceAfterForKeyword": true,
86+
"forStatement.spaceAfterForKeyword": true,
87+
"forStatement.spaceAfterSemiColons": true,
88+
"functionDeclaration.spaceBeforeParentheses": false,
89+
"functionExpression.spaceAfterFunctionKeyword": false,
90+
"functionExpression.spaceBeforeParentheses": false,
91+
"getAccessor.spaceBeforeParentheses": false,
92+
"ifStatement.spaceAfterIfKeyword": true,
93+
"ignoreFileCommentText": "dprint-ignore-file",
94+
"ignoreNodeCommentText": "dprint-ignore",
95+
"importDeclaration.forceMultiLine": "never",
96+
"importDeclaration.forceSingleLine": false,
97+
"importDeclaration.sortNamedImports": "maintain",
98+
"importDeclaration.spaceSurroundingNamedImports": true,
99+
"jsx.bracketPosition": "nextLine",
100+
"jsx.forceNewLinesSurroundingContent": false,
101+
"jsx.multiLineParens": "prefer",
102+
"jsx.quoteStyle": "preferSingle",
103+
"jsxExpressionContainer.spaceSurroundingExpression": false,
104+
"jsxSelfClosingElement.spaceBeforeSlash": true,
105+
"memberExpression.linePerExpression": false,
106+
"method.spaceBeforeParentheses": false,
107+
"module.sortExportDeclarations": "caseSensitive",
108+
"module.sortImportDeclarations": "caseSensitive",
109+
"newLineKind": "lf",
110+
"nextControlFlowPosition": "sameLine",
111+
"objectExpression.spaceSurroundingProperties": true,
112+
"objectPattern.spaceSurroundingProperties": true,
113+
"operatorPosition": "nextLine",
114+
"preferHanging": true,
115+
"preferSingleLine": false,
116+
"quoteProps": "asNeeded",
117+
"quoteStyle": "alwaysSingle",
118+
"semiColons": "asi",
119+
"setAccessor.spaceBeforeParentheses": false,
120+
"singleBodyPosition": "sameLine",
121+
"spaceAround": false,
122+
"spaceSurroundingProperties": true,
123+
"taggedTemplate.spaceBeforeLiteral": false,
124+
"trailingCommas": "never",
125+
"typeAnnotation.spaceBeforeColon": false,
126+
"typeAssertion.spaceBeforeExpression": false,
127+
"typeLiteral.separatorKind.singleLine": "semiColon",
128+
"typeLiteral.spaceSurroundingProperties": true,
129+
"useBraces": "maintain",
130+
"whileStatement.spaceAfterWhileKeyword": true
131+
},
132+
"useTabs": false
133+
}

.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+
# repository variables
2+
3+
GH_PROJECT_NUMBER=57

.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+
HOMEBREW_BREWFILE=./Brewfile
10+
NODE_NO_WARNINGS=1

.gitattributes

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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+
*.cjs text eol=lf
22+
*.cts text eol=lf
23+
*.gql text eol=lf
24+
*.html text eol=lf diff=html
25+
*.js text eol=lf
26+
*.json text eol=lf linguist-language=JSON-with-Comments
27+
*.json5 text eol=lf
28+
*.jsonc text eol=lf
29+
*.jsx text eol=lf
30+
*.md text eol=lf diff=markdown
31+
*.mjs text eol=lf
32+
*.mts text eol=lf
33+
*.sh text eol=lf
34+
*.snap text eol=lf
35+
*.ts text eol=lf
36+
*.tsx text eol=lf
37+
*.txt text eol=lf
38+
*.yml text eol=lf
39+
40+
# configuration files
41+
# ------------------------------------------------------------------------------
42+
*.*ignore text eol=lf
43+
*.*rc text eol=lf
44+
.editorconfig text eol=lf
45+
.env* text eol=lf
46+
.gitattributes text eol=lf
47+
.gitconfig text eol=lf
48+
package.json text eol=lf
49+
yarn.lock text -diff

0 commit comments

Comments
 (0)