typescript-eslint 8.29.2-alpha.1 → 8.29.2-alpha.10
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/dist/index.d.ts +1 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -64
- package/package.json +7 -17
- package/dist/configs/all.d.ts +0 -8
- package/dist/configs/all.d.ts.map +0 -1
- package/dist/configs/all.js +0 -175
- package/dist/configs/base.d.ts +0 -9
- package/dist/configs/base.d.ts.map +0 -1
- package/dist/configs/base.js +0 -17
- package/dist/configs/disable-type-checked.d.ts +0 -8
- package/dist/configs/disable-type-checked.d.ts.map +0 -1
- package/dist/configs/disable-type-checked.js +0 -78
- package/dist/configs/eslint-recommended.d.ts +0 -10
- package/dist/configs/eslint-recommended.d.ts.map +0 -1
- package/dist/configs/eslint-recommended.js +0 -16
- package/dist/configs/recommended-type-checked-only.d.ts +0 -8
- package/dist/configs/recommended-type-checked-only.d.ts.map +0 -1
- package/dist/configs/recommended-type-checked-only.js +0 -53
- package/dist/configs/recommended-type-checked.d.ts +0 -8
- package/dist/configs/recommended-type-checked.d.ts.map +0 -1
- package/dist/configs/recommended-type-checked.js +0 -76
- package/dist/configs/recommended.d.ts +0 -8
- package/dist/configs/recommended.d.ts.map +0 -1
- package/dist/configs/recommended.js +0 -49
- package/dist/configs/strict-type-checked-only.d.ts +0 -8
- package/dist/configs/strict-type-checked-only.d.ts.map +0 -1
- package/dist/configs/strict-type-checked-only.js +0 -91
- package/dist/configs/strict-type-checked.d.ts +0 -8
- package/dist/configs/strict-type-checked.d.ts.map +0 -1
- package/dist/configs/strict-type-checked.js +0 -126
- package/dist/configs/strict.d.ts +0 -8
- package/dist/configs/strict.d.ts.map +0 -1
- package/dist/configs/strict.js +0 -61
- package/dist/configs/stylistic-type-checked-only.d.ts +0 -8
- package/dist/configs/stylistic-type-checked-only.d.ts.map +0 -1
- package/dist/configs/stylistic-type-checked-only.js +0 -35
- package/dist/configs/stylistic-type-checked.d.ts +0 -8
- package/dist/configs/stylistic-type-checked.d.ts.map +0 -1
- package/dist/configs/stylistic-type-checked.js +0 -49
- package/dist/configs/stylistic.d.ts +0 -8
- package/dist/configs/stylistic.d.ts.map +0 -1
- package/dist/configs/stylistic.js +0 -40
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
-
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
-
// SEE https://typescript-eslint.io/users/configs
|
|
5
|
-
//
|
|
6
|
-
// For developers working in the typescript-eslint monorepo:
|
|
7
|
-
// You can regenerate it using `yarn generate:configs`
|
|
8
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const base_1 = __importDefault(require("./base"));
|
|
13
|
-
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
|
14
|
-
/**
|
|
15
|
-
* Contains all of `stylistic`, along with additional stylistic rules that require type information.
|
|
16
|
-
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked}
|
|
17
|
-
*/
|
|
18
|
-
exports.default = (plugin, parser) => [
|
|
19
|
-
(0, base_1.default)(plugin, parser),
|
|
20
|
-
(0, eslint_recommended_1.default)(plugin, parser),
|
|
21
|
-
{
|
|
22
|
-
name: 'typescript-eslint/stylistic-type-checked',
|
|
23
|
-
rules: {
|
|
24
|
-
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
|
25
|
-
'@typescript-eslint/array-type': 'error',
|
|
26
|
-
'@typescript-eslint/ban-tslint-comment': 'error',
|
|
27
|
-
'@typescript-eslint/class-literal-property-style': 'error',
|
|
28
|
-
'@typescript-eslint/consistent-generic-constructors': 'error',
|
|
29
|
-
'@typescript-eslint/consistent-indexed-object-style': 'error',
|
|
30
|
-
'@typescript-eslint/consistent-type-assertions': 'error',
|
|
31
|
-
'@typescript-eslint/consistent-type-definitions': 'error',
|
|
32
|
-
'dot-notation': 'off',
|
|
33
|
-
'@typescript-eslint/dot-notation': 'error',
|
|
34
|
-
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
|
|
35
|
-
'no-empty-function': 'off',
|
|
36
|
-
'@typescript-eslint/no-empty-function': 'error',
|
|
37
|
-
'@typescript-eslint/no-inferrable-types': 'error',
|
|
38
|
-
'@typescript-eslint/non-nullable-type-assertion-style': 'error',
|
|
39
|
-
'@typescript-eslint/prefer-find': 'error',
|
|
40
|
-
'@typescript-eslint/prefer-for-of': 'error',
|
|
41
|
-
'@typescript-eslint/prefer-function-type': 'error',
|
|
42
|
-
'@typescript-eslint/prefer-includes': 'error',
|
|
43
|
-
'@typescript-eslint/prefer-nullish-coalescing': 'error',
|
|
44
|
-
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
45
|
-
'@typescript-eslint/prefer-regexp-exec': 'error',
|
|
46
|
-
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
|
2
|
-
/**
|
|
3
|
-
* Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic.
|
|
4
|
-
* @see {@link https://typescript-eslint.io/users/configs#stylistic}
|
|
5
|
-
*/
|
|
6
|
-
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
|
7
|
-
export default _default;
|
|
8
|
-
//# sourceMappingURL=stylistic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stylistic.d.ts","sourceRoot":"","sources":["../../src/configs/stylistic.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;yBAED,QAAQ,UAAU,CAAC,MAAM,EACzB,QAAQ,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAyBE"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
-
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
-
// SEE https://typescript-eslint.io/users/configs
|
|
5
|
-
//
|
|
6
|
-
// For developers working in the typescript-eslint monorepo:
|
|
7
|
-
// You can regenerate it using `yarn generate:configs`
|
|
8
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const base_1 = __importDefault(require("./base"));
|
|
13
|
-
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
|
14
|
-
/**
|
|
15
|
-
* Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic.
|
|
16
|
-
* @see {@link https://typescript-eslint.io/users/configs#stylistic}
|
|
17
|
-
*/
|
|
18
|
-
exports.default = (plugin, parser) => [
|
|
19
|
-
(0, base_1.default)(plugin, parser),
|
|
20
|
-
(0, eslint_recommended_1.default)(plugin, parser),
|
|
21
|
-
{
|
|
22
|
-
name: 'typescript-eslint/stylistic',
|
|
23
|
-
rules: {
|
|
24
|
-
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
|
25
|
-
'@typescript-eslint/array-type': 'error',
|
|
26
|
-
'@typescript-eslint/ban-tslint-comment': 'error',
|
|
27
|
-
'@typescript-eslint/class-literal-property-style': 'error',
|
|
28
|
-
'@typescript-eslint/consistent-generic-constructors': 'error',
|
|
29
|
-
'@typescript-eslint/consistent-indexed-object-style': 'error',
|
|
30
|
-
'@typescript-eslint/consistent-type-assertions': 'error',
|
|
31
|
-
'@typescript-eslint/consistent-type-definitions': 'error',
|
|
32
|
-
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
|
|
33
|
-
'no-empty-function': 'off',
|
|
34
|
-
'@typescript-eslint/no-empty-function': 'error',
|
|
35
|
-
'@typescript-eslint/no-inferrable-types': 'error',
|
|
36
|
-
'@typescript-eslint/prefer-for-of': 'error',
|
|
37
|
-
'@typescript-eslint/prefer-function-type': 'error',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
];
|