Skip to content

Commit fc3c16c

Browse files
committed
chore: initial commit
Signed-off-by: Lexus Drumgold <[email protected]>
0 parents  commit fc3c16c

Some content is hidden

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

81 files changed

+18480
-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"],
6+
"summary": true
7+
}

.codecov.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# CODECOV CONFIGURATION
2+
# https://docs.codecov.com/docs/codecovyml-reference
3+
4+
---
5+
codecov:
6+
notify:
7+
after_n_builds: 3
8+
wait_for_ci: true
9+
require_ci_to_pass: true
10+
11+
comment:
12+
after_n_builds: 3
13+
behavior: default
14+
layout: header,diff,flags,components,tree,footer
15+
require_base: false
16+
require_changes: false
17+
require_head: true
18+
show_carryforward_flags: true
19+
show_critical_paths: true
20+
21+
coverage:
22+
precision: 2
23+
range: 90..100
24+
round: nearest
25+
status:
26+
changes:
27+
default:
28+
branches:
29+
- feat/*
30+
- hotfix/*
31+
- main
32+
- release/*
33+
if_ci_failed: error
34+
if_not_found: success
35+
informational: false
36+
only_pulls: false
37+
patch:
38+
default:
39+
branches:
40+
- dependabot/*
41+
- feat/*
42+
- hotfix/*
43+
- main
44+
- release/*
45+
if_ci_failed: error
46+
if_not_found: success
47+
informational: false
48+
only_pulls: false
49+
target: 100%
50+
threshold: 0%
51+
project:
52+
default:
53+
branches:
54+
- dependabot/*
55+
- feat/*
56+
- hotfix/*
57+
- main
58+
- release/*
59+
if_ci_failed: error
60+
if_not_found: success
61+
informational: false
62+
only_pulls: false
63+
target: 100%
64+
threshold: 0%
65+
66+
flags:
67+
node20:
68+
carryforward: false
69+
paths:
70+
- src/
71+
node19:
72+
carryforward: false
73+
paths:
74+
- src/
75+
node18:
76+
carryforward: false
77+
paths:
78+
- src/
79+
80+
github_checks:
81+
annotations: true
82+
83+
ignore:
84+
- '**/__mocks__/**'
85+
- '**/__tests__/**'
86+
- '**/index.ts'
87+
- src/interfaces/
88+
- src/types/
89+
90+
profiling:
91+
critical_files_paths: []

.commitlintrc.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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([
22+
'chore',
23+
'lexer',
24+
'parser',
25+
'reader'
26+
])]
27+
}
28+
}
29+
30+
export default config

.cspell.json

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

.dictionary.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
attw
2+
cefc
3+
commitlintrc
4+
dedupe
5+
dessant
6+
docast
7+
dohm
8+
dprint
9+
fbca
10+
ggshield
11+
gpgsign
12+
hmarr
13+
iife
14+
jchen
15+
jsdoc
16+
kaisugi
17+
lintstagedrc
18+
mdast
19+
mkbuild
20+
mlly
21+
nocheck
22+
nvmrc
23+
pathe
24+
pkgs
25+
preid
26+
shfmt
27+
tsdoc
28+
unstub
29+
vates
30+
vfile
31+
vite
32+
vitest
33+
yarnrc

.dprint.jsonc

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
{
2+
"$schema": "https://dprint.dev/schemas/v0.json",
3+
"excludes": [
4+
"!**/__fixtures__/**/dist/",
5+
"!**/__fixtures__/**/node_modules/",
6+
"!**/typings/**/dist/",
7+
"**/*.patch",
8+
"**/*.snap",
9+
"**/*config.*.timestamp*",
10+
"**/.temp/",
11+
"**/.vercel/",
12+
"**/__fixtures__/git/**/*.txt",
13+
"**/__tests__/benchmark.json",
14+
"**/__tests__/report.json",
15+
"**/__tests__/typecheck.json",
16+
"**/coverage/",
17+
"**/dist/",
18+
"**/node_modules",
19+
"**/tsconfig*temp.json",
20+
".git/",
21+
".husky/_/",
22+
".yarn/",
23+
"CHANGELOG.md",
24+
"LICENSE.md",
25+
"RELEASE_NOTES.md",
26+
"yarn.lock"
27+
],
28+
"exec": {
29+
"commands": [
30+
{
31+
"command": "node ./dprint/prettier.mjs {{file_path}}",
32+
"exts": ["css", "html", "json5", "scss", "yaml", "yml"],
33+
"stdin": true
34+
},
35+
{
36+
"command": "node ./dprint/shfmt.mjs {{file_path}}",
37+
"exts": ["sh", "txt", "zsh"],
38+
"fileNames": [
39+
".editorconfig",
40+
".env",
41+
".env.local",
42+
".env.repo",
43+
".eslintcache",
44+
".eslintignore",
45+
".gitattributes",
46+
".gitconfig",
47+
".gitignore",
48+
".markdownlintignore",
49+
".npmrc",
50+
".nvmrc",
51+
"Brewfile",
52+
"commit-msg",
53+
"pre-commit",
54+
"pre-push"
55+
],
56+
"stdin": true
57+
}
58+
]
59+
},
60+
"incremental": true,
61+
"indentWidth": 2,
62+
"json": {
63+
"associations": ["**/*.{jsonc,json}"],
64+
"array.preferSingleLine": false,
65+
"commentLine.forceSpaceAfterSlashes": true,
66+
"ignoreNodeCommentText": "dprint-ignore",
67+
"object.preferSingleLine": false,
68+
"trailingCommas": "never"
69+
},
70+
"lineWidth": 80,
71+
"markdown": {
72+
"associations": ["**/*.{md,mdx}"],
73+
"emphasisKind": "asterisks",
74+
"ignoreDirective": "dprint-ignore",
75+
"ignoreEndDirective": "dprint-ignore-end",
76+
"ignoreFileDirective": "dprint-ignore-file",
77+
"ignoreStartDirective": "dprint-ignore-start",
78+
"lineWidth": 120,
79+
"strongKind": "asterisks",
80+
"textWrap": "maintain"
81+
},
82+
"newLineKind": "lf",
83+
"plugins": [
84+
"https://plugins.dprint.dev/typescript-0.88.10.wasm",
85+
"https://plugins.dprint.dev/json-0.19.1.wasm",
86+
"https://plugins.dprint.dev/markdown-0.16.3.wasm",
87+
"https://plugins.dprint.dev/exec-0.4.4.json@c207bf9b9a4ee1f0ecb75c594f774924baf62e8e53a2ce9d873816a408cecbf7"
88+
],
89+
"typescript": {
90+
"arrowFunction.useParentheses": "preferNone",
91+
"binaryExpression.linePerExpression": false,
92+
"binaryExpression.operatorPosition": "sameLine",
93+
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
94+
"bracePosition": "sameLine",
95+
"commentLine.forceSpaceAfterSlashes": true,
96+
"constructSignature.spaceAfterNewKeyword": true,
97+
"constructor.spaceBeforeParentheses": false,
98+
"constructorType.spaceAfterNewKeyword": true,
99+
"doWhileStatement.spaceAfterWhileKeyword": true,
100+
"enumDeclaration.memberSpacing": "maintain",
101+
"exportDeclaration.forceMultiLine": false,
102+
"exportDeclaration.forceSingleLine": false,
103+
"exportDeclaration.sortNamedExports": "maintain",
104+
"exportDeclaration.spaceSurroundingNamedExports": true,
105+
"forInStatement.spaceAfterForKeyword": true,
106+
"forOfStatement.spaceAfterForKeyword": true,
107+
"forStatement.spaceAfterForKeyword": true,
108+
"forStatement.spaceAfterSemiColons": true,
109+
"functionDeclaration.spaceBeforeParentheses": false,
110+
"functionExpression.spaceAfterFunctionKeyword": false,
111+
"functionExpression.spaceBeforeParentheses": false,
112+
"getAccessor.spaceBeforeParentheses": false,
113+
"ifStatement.spaceAfterIfKeyword": true,
114+
"ignoreFileCommentText": "dprint-ignore-file",
115+
"ignoreNodeCommentText": "dprint-ignore",
116+
"importDeclaration.forceMultiLine": false,
117+
"importDeclaration.forceSingleLine": false,
118+
"importDeclaration.sortNamedImports": "maintain",
119+
"importDeclaration.spaceSurroundingNamedImports": true,
120+
"jsx.bracketPosition": "nextLine",
121+
"jsx.forceNewLinesSurroundingContent": false,
122+
"jsx.multiLineParens": "prefer",
123+
"jsx.quoteStyle": "preferSingle",
124+
"jsxExpressionContainer.spaceSurroundingExpression": false,
125+
"jsxSelfClosingElement.spaceBeforeSlash": true,
126+
"memberExpression.linePerExpression": false,
127+
"method.spaceBeforeParentheses": false,
128+
"module.sortExportDeclarations": "caseSensitive",
129+
"module.sortImportDeclarations": "caseSensitive",
130+
"newLineKind": "lf",
131+
"nextControlFlowPosition": "sameLine",
132+
"objectExpression.spaceSurroundingProperties": true,
133+
"objectPattern.spaceSurroundingProperties": true,
134+
"operatorPosition": "nextLine",
135+
"preferHanging": true,
136+
"preferSingleLine": false,
137+
"quoteProps": "asNeeded",
138+
"quoteStyle": "alwaysSingle",
139+
"semiColons": "asi",
140+
"setAccessor.spaceBeforeParentheses": false,
141+
"singleBodyPosition": "sameLine",
142+
"spaceAround": false,
143+
"spaceSurroundingProperties": true,
144+
"taggedTemplate.spaceBeforeLiteral": false,
145+
"trailingCommas": "never",
146+
"typeAnnotation.spaceBeforeColon": false,
147+
"typeAssertion.spaceBeforeExpression": false,
148+
"typeLiteral.separatorKind.singleLine": "semiColon",
149+
"typeLiteral.spaceSurroundingProperties": true,
150+
"useBraces": "maintain",
151+
"whileStatement.spaceAfterWhileKeyword": true
152+
},
153+
"useTabs": false
154+
}

0 commit comments

Comments
 (0)