@tsslint/config 3.0.0-alpha.1 → 3.0.0
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/bin/tsslint-docgen.js +0 -6
- package/lib/eslint-types.d.ts +2 -4666
- package/lib/eslint.d.ts +1 -13
- package/lib/eslint.js +1 -13
- package/lib/tslint-types.d.ts +2 -3792
- package/lib/tslint.d.ts +1 -13
- package/lib/tslint.js +1 -13
- package/package.json +4 -7
package/lib/tslint.d.ts
CHANGED
|
@@ -6,19 +6,7 @@ type Severity = boolean | 'error' | 'warn';
|
|
|
6
6
|
*
|
|
7
7
|
* ⚠️ **Type definitions not generated**
|
|
8
8
|
*
|
|
9
|
-
* Please
|
|
10
|
-
*
|
|
11
|
-
* ```json
|
|
12
|
-
* {
|
|
13
|
-
* "pnpm": {
|
|
14
|
-
* "onlyBuiltDependencies": ["@tsslint/config"]
|
|
15
|
-
* }
|
|
16
|
-
* }
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* After that, run `pnpm install` again to generate type definitions.
|
|
20
|
-
*
|
|
21
|
-
* If the type definitions become outdated, please run `npx tsslint-docgen` to update them.
|
|
9
|
+
* Please run `npx tsslint-docgen` to update them.
|
|
22
10
|
*/
|
|
23
11
|
export declare function importTSLintRules(config: {
|
|
24
12
|
[K in keyof TSLintRulesConfig]: Severity | [Severity, ...TSLintRulesConfig[K]];
|
package/lib/tslint.js
CHANGED
|
@@ -10,19 +10,7 @@ const noop = () => { };
|
|
|
10
10
|
*
|
|
11
11
|
* ⚠️ **Type definitions not generated**
|
|
12
12
|
*
|
|
13
|
-
* Please
|
|
14
|
-
*
|
|
15
|
-
* ```json
|
|
16
|
-
* {
|
|
17
|
-
* "pnpm": {
|
|
18
|
-
* "onlyBuiltDependencies": ["@tsslint/config"]
|
|
19
|
-
* }
|
|
20
|
-
* }
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* After that, run `pnpm install` again to generate type definitions.
|
|
24
|
-
*
|
|
25
|
-
* If the type definitions become outdated, please run `npx tsslint-docgen` to update them.
|
|
13
|
+
* Please run `npx tsslint-docgen` to update them.
|
|
26
14
|
*/
|
|
27
15
|
async function importTSLintRules(config) {
|
|
28
16
|
const rules = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsslint/config",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.6.0"
|
|
@@ -17,16 +17,13 @@
|
|
|
17
17
|
"url": "https://github.com/johnsoncodehk/tsslint.git",
|
|
18
18
|
"directory": "packages/config"
|
|
19
19
|
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"postinstall": "tsslint-docgen"
|
|
22
|
-
},
|
|
23
20
|
"dependencies": {
|
|
24
|
-
"@tsslint/types": "3.0.0
|
|
21
|
+
"@tsslint/types": "3.0.0",
|
|
25
22
|
"minimatch": "^10.0.1",
|
|
26
23
|
"ts-api-utils": "^2.0.0"
|
|
27
24
|
},
|
|
28
25
|
"devDependencies": {
|
|
29
|
-
"@tsslint/compat-eslint": "3.0.0
|
|
26
|
+
"@tsslint/compat-eslint": "3.0.0",
|
|
30
27
|
"tslint": "^6.1.3"
|
|
31
28
|
},
|
|
32
29
|
"peerDependencies": {
|
|
@@ -41,5 +38,5 @@
|
|
|
41
38
|
"optional": true
|
|
42
39
|
}
|
|
43
40
|
},
|
|
44
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "69bc86cf2dd81f9e48fc15ed9b9f0351fa2fc19e"
|
|
45
42
|
}
|