@ttsc/lint 0.7.3 → 0.8.0-dev.20260505
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ The `config` field accepts:
|
|
|
130
130
|
|
|
131
131
|
`@ttsc/lint` must be the first plugin in `compilerOptions.plugins`.
|
|
132
132
|
|
|
133
|
-
It inspects the source you wrote, so
|
|
133
|
+
It inspects the source you wrote, so transform plugins such as `@ttsc/banner`, `@ttsc/paths`, and `@ttsc/strip` have to come after it.
|
|
134
134
|
|
|
135
135
|
```jsonc
|
|
136
136
|
{
|
|
@@ -139,8 +139,8 @@ It inspects the source you wrote, so output plugins (`@ttsc/banner`, `@ttsc/path
|
|
|
139
139
|
// Keep lint first.
|
|
140
140
|
{ "transform": "@ttsc/lint", "config": { "no-var": "error", "prefer-const": "error" } },
|
|
141
141
|
|
|
142
|
-
//
|
|
143
|
-
{ "transform": "@ttsc/banner", "banner": "
|
|
142
|
+
// First-party utilities use their documented source/emit hook order.
|
|
143
|
+
{ "transform": "@ttsc/banner", "banner": "License MIT" },
|
|
144
144
|
{ "transform": "@ttsc/paths" },
|
|
145
145
|
{ "transform": "@ttsc/strip", "calls": ["console.log"] }
|
|
146
146
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttsc/lint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0-dev.20260505",
|
|
4
4
|
"description": "Reference ttsc plugin: ESLint-style lint rules hosted in the same Program/Checker as the type-check pass.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"plugin"
|
|
28
28
|
],
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
30
|
+
"@typescript/native-preview": "7.0.0-dev.20260504.1",
|
|
31
31
|
"@types/node": "^25.3.0",
|
|
32
32
|
"rimraf": "^6.1.2",
|
|
33
|
-
"ttsc": "0.
|
|
33
|
+
"ttsc": "0.8.0-dev.20260505"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|