@violetflux/eslint-plugin-kerros 0.2.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.
@@ -0,0 +1,37 @@
1
+ import parser from "@typescript-eslint/parser";
2
+ import { TSESLint } from "@typescript-eslint/utils";
3
+ //#region src/index.d.ts
4
+ declare const rules: NonNullable<TSESLint.FlatConfig.Plugin['rules']>;
5
+ declare const plugin: TSESLint.FlatConfig.Plugin;
6
+ declare const configs: {
7
+ fastTypeChecked: {
8
+ name: string;
9
+ files: string[];
10
+ languageOptions: {
11
+ parser: typeof parser;
12
+ parserOptions: {
13
+ projectService: true;
14
+ };
15
+ };
16
+ plugins: {
17
+ kerros: TSESLint.FlatConfig.Plugin;
18
+ };
19
+ rules: Partial<Record<string, TSESLint.SharedConfig.RuleEntry>>;
20
+ };
21
+ recommendedTypeChecked: {
22
+ name: string;
23
+ files: string[];
24
+ languageOptions: {
25
+ parser: typeof parser;
26
+ parserOptions: {
27
+ projectService: true;
28
+ };
29
+ };
30
+ plugins: {
31
+ kerros: TSESLint.FlatConfig.Plugin;
32
+ };
33
+ rules: Partial<Record<string, TSESLint.SharedConfig.RuleEntry>>;
34
+ };
35
+ };
36
+ //#endregion
37
+ export { configs, plugin as default, rules };
@@ -0,0 +1,37 @@
1
+ import parser from "@typescript-eslint/parser";
2
+ import { TSESLint } from "@typescript-eslint/utils";
3
+ //#region src/index.d.ts
4
+ declare const rules: NonNullable<TSESLint.FlatConfig.Plugin['rules']>;
5
+ declare const plugin: TSESLint.FlatConfig.Plugin;
6
+ declare const configs: {
7
+ fastTypeChecked: {
8
+ name: string;
9
+ files: string[];
10
+ languageOptions: {
11
+ parser: typeof parser;
12
+ parserOptions: {
13
+ projectService: true;
14
+ };
15
+ };
16
+ plugins: {
17
+ kerros: TSESLint.FlatConfig.Plugin;
18
+ };
19
+ rules: Partial<Record<string, TSESLint.SharedConfig.RuleEntry>>;
20
+ };
21
+ recommendedTypeChecked: {
22
+ name: string;
23
+ files: string[];
24
+ languageOptions: {
25
+ parser: typeof parser;
26
+ parserOptions: {
27
+ projectService: true;
28
+ };
29
+ };
30
+ plugins: {
31
+ kerros: TSESLint.FlatConfig.Plugin;
32
+ };
33
+ rules: Partial<Record<string, TSESLint.SharedConfig.RuleEntry>>;
34
+ };
35
+ };
36
+ //#endregion
37
+ export { configs, plugin as default, rules };