Skip to content

Commit 404b4ed

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

Some content is hidden

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

75 files changed

+18004
-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: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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+
- '**/interfaces/'
87+
- '**/types/'
88+
- '**/index.ts'
89+
- '!src/index.ts'
90+
91+
profiling:
92+
critical_files_paths: []

.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: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
3+
"allowCompoundWords": true,
4+
"caseSensitive": false,
5+
"dictionaries": ["@flex-development/vfile-lexer"],
6+
"dictionaryDefinitions": [
7+
{
8+
"name": "@flex-development/vfile-lexer",
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+
"\\\\u001B\\[\\d+m",
39+
"import\\(.*\\)"
40+
],
41+
"ignoreWords": [],
42+
"language": "en-US",
43+
"patterns": [],
44+
"readonly": true,
45+
"useGitignore": true,
46+
"usePnP": false,
47+
"version": "0.2"
48+
}

.dictionary.txt

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

.dprint.jsonc

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

0 commit comments

Comments
 (0)