Skip to content

Commit 0a9162e

Browse files
committed
feat: add tsl-shared package for shared utilities
- Create new `tsl-shared` package containing common type utilities: - type checking functions (isBooleanType, isStringType, etc.) - type variant utilities (isTruthyNumberType, isFalsyStringType, etc.) - getFullyQualifiedNameEx helper - Remove source-file.ts utility from tsl-rules-of-react (moved to shared) - Add rulesOfKeys rule documentation to tsl-rules-of-react - Update typedoc configurations and regenerate docs
1 parent efa0f85 commit 0a9162e

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

+1377
-164
lines changed

dprint.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
"packages/**/docs"
2626
],
2727
"plugins": [
28-
"https://plugins.dprint.dev/typescript-0.95.13.wasm",
28+
"https://plugins.dprint.dev/typescript-0.95.15.wasm",
2929
"https://plugins.dprint.dev/json-0.21.1.wasm",
30-
"https://plugins.dprint.dev/markdown-0.20.0.wasm",
30+
"https://plugins.dprint.dev/markdown-0.21.1.wasm",
3131
"https://plugins.dprint.dev/toml-0.7.0.wasm",
3232
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.6.0.wasm",
33-
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.25.3.wasm"
33+
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.26.0.wasm"
3434
]
3535
}

packages/tsl-dx/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# tsl-module
1+
# tsl-dx
22

33
## Variables
44

packages/tsl-dx/docs/variables/noDuplicateExports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[tsl-module](../README.md) / noDuplicateExports
1+
[tsl-dx](../README.md) / noDuplicateExports
22

33
# Variable: noDuplicateExports()
44

packages/tsl-dx/docs/variables/noDuplicateImports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[tsl-module](../README.md) / noDuplicateImports
1+
[tsl-dx](../README.md) / noDuplicateImports
22

33
# Variable: noDuplicateImports()
44

packages/tsl-dx/docs/variables/noMultilineTemplateExpressionWithoutAutoDedent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[tsl-module](../README.md) / noMultilineTemplateExpressionWithoutAutoDedent
1+
[tsl-dx](../README.md) / noMultilineTemplateExpressionWithoutAutoDedent
22

33
# Variable: noMultilineTemplateExpressionWithoutAutoDedent()
44

packages/tsl-dx/docs/variables/nullish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[tsl-module](../README.md) / nullish
1+
[tsl-dx](../README.md) / nullish
22

33
# Variable: nullish()
44

packages/tsl-dx/typedoc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": [
33
"@local/configs/typedoc.base.json"
44
],
5-
"name": "tsl-module",
5+
"name": "tsl-dx",
66
"entryPoints": [
77
"src/index.ts"
88
],
Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# tsl-module
1+
# tsl-rules-of-react
22

33
## Variables
44

5-
| Variable | Description |
6-
| ------ | ------ |
7-
| [noDuplicateExports](variables/noDuplicateExports.md) | Rule to detect and merge duplicate `export from` statements from the same module. |
8-
| [noDuplicateImports](variables/noDuplicateImports.md) | Rule to detect and merge duplicate `import from` statements from the same module. |
9-
| [noMultilineTemplateExpressionWithoutAutoDedent](variables/noMultilineTemplateExpressionWithoutAutoDedent.md) | Rule to enforce the use of a dedent tag for multiline template expressions. |
10-
| [nullish](variables/nullish.md) | Rule to enforce the use of `unit` instead of `undefined` and loose equality for nullish checks. |
5+
| Variable | Description |
6+
| --------------------------------------------------- | --------------------- |
7+
| [rulesOfComponents](variables/rulesOfComponents.md) | @todo: implement this |
8+
| [rulesOfEffect](variables/rulesOfEffect.md) | @todo: implement this |
9+
| [rulesOfJsx](variables/rulesOfJsx.md) | @todo: implement this |
10+
| [rulesOfKeys](variables/rulesOfKeys.md) | @todo: implement this |
11+
| [rulesOfProps](variables/rulesOfProps.md) | @todo: implement this |
12+
| [rulesOfRefs](variables/rulesOfRefs.md) | @todo: implement this |
13+
| [rulesOfRender](variables/rulesOfRender.md) | @todo: implement this |
14+
| [rulesOfState](variables/rulesOfState.md) | @todo: implement this |

packages/tsl-rules-of-react/docs/variables/noDuplicateExports.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

packages/tsl-rules-of-react/docs/variables/noDuplicateImports.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)