@gooddata/eslint-config 11.62.0-alpha.2 → 11.62.0-alpha.3

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.
@@ -1,12 +0,0 @@
1
- export interface FlatConfig {
2
- files?: string[];
3
- ignores?: string[];
4
- languageOptions?: Record<string, unknown>;
5
- linterOptions?: Record<string, unknown>;
6
- processor?: unknown;
7
- plugins?: Record<string, unknown>;
8
- rules?: Record<string, unknown>;
9
- settings?: Record<string, unknown>;
10
- }
11
- declare const config: FlatConfig[];
12
- export default config;
@@ -1,146 +0,0 @@
1
- // This file is auto-generated. Do not edit manually.
2
-
3
- import globals from "globals";
4
- import plugin0001 from "@typescript-eslint/eslint-plugin";
5
- import plugin0002 from "@typescript-eslint/parser";
6
- import plugin0003 from "eslint-plugin-jsdoc";
7
- import plugin0004 from "eslint-plugin-react";
8
-
9
- export default [
10
- {
11
- languageOptions: {
12
- globals: { ...globals.node, ...globals.es2022 },
13
- },
14
- },
15
- {
16
- languageOptions: {
17
- parser: plugin0002,
18
- sourceType: "module",
19
- },
20
- plugins: {
21
- "@typescript-eslint": plugin0001,
22
- },
23
- },
24
- {
25
- files: [
26
- "**/*.ts",
27
- "**/*.tsx",
28
- "**/*.mts",
29
- "**/*.cts",
30
- ],
31
- languageOptions: {
32
- parserOptions: {
33
- projectService: true,
34
- },
35
- },
36
- rules: {
37
- "constructor-super": "off",
38
- "getter-return": "off",
39
- "no-class-assign": "off",
40
- "no-const-assign": "off",
41
- "no-dupe-class-members": "off",
42
- "no-dupe-keys": "off",
43
- "no-func-assign": "off",
44
- "no-import-assign": "off",
45
- "no-new-native-nonconstructor": "off",
46
- "no-obj-calls": "off",
47
- "no-redeclare": "off",
48
- "no-setter-return": "off",
49
- "no-this-before-super": "off",
50
- "no-undef": "off",
51
- "no-unreachable": "off",
52
- "no-unsafe-negation": "off",
53
- "no-var": "error",
54
- "no-with": "off",
55
- "prefer-const": "error",
56
- "prefer-rest-params": "error",
57
- "prefer-spread": "error",
58
- "no-array-constructor": "off",
59
- "no-unused-vars": "off",
60
- "no-dupe-args": "off",
61
- "no-new-symbol": "off",
62
- "@typescript-eslint/naming-convention": [
63
- "error",
64
- {
65
- selector: "interface",
66
- format: [
67
- "PascalCase",
68
- ],
69
- custom: {
70
- regex: "^I[A-Z]",
71
- match: true,
72
- },
73
- },
74
- ],
75
- },
76
- },
77
- {
78
- files: [
79
- "**/*.{js,cjs,mjs,jsx}",
80
- ],
81
- plugins: {
82
- jsdoc: plugin0003,
83
- },
84
- settings: {
85
- jsdoc: {
86
- mode: "jsdoc",
87
- },
88
- },
89
- rules: {
90
- "jsdoc/require-param": "error",
91
- },
92
- },
93
- {
94
- ignores: [
95
- "**/dist/**/*.*",
96
- "**/esm/**/*.*",
97
- "**/node_modules/**/*.*",
98
- "**/ci/results/**",
99
- "**/__version.ts",
100
- "**/cypress/results/**",
101
- "**/cypress/screenshots/**",
102
- "**/cypress/videos/**",
103
- "**/temp/**",
104
- "**/reference_workspace/**",
105
- ],
106
- },
107
- {
108
- languageOptions: {
109
- globals: { ...globals.browser },
110
- },
111
- },
112
- {
113
- languageOptions: {
114
- ecmaVersion: 2022,
115
- sourceType: "module",
116
- },
117
- },
118
- {
119
- plugins: {
120
- react: plugin0004,
121
- },
122
- settings: {
123
- react: {
124
- version: "detect",
125
- },
126
- },
127
- rules: {
128
- "react/jsx-no-leaked-render": [
129
- "warn",
130
- {
131
- validStrategies: [
132
- "ternary",
133
- "coerce",
134
- ],
135
- },
136
- ],
137
- "react/function-component-definition": [
138
- "error",
139
- {
140
- namedComponents: "function-declaration",
141
- unnamedComponents: "arrow-function",
142
- },
143
- ],
144
- },
145
- },
146
- ];
@@ -1,12 +0,0 @@
1
- export interface FlatConfig {
2
- files?: string[];
3
- ignores?: string[];
4
- languageOptions?: Record<string, unknown>;
5
- linterOptions?: Record<string, unknown>;
6
- processor?: unknown;
7
- plugins?: Record<string, unknown>;
8
- rules?: Record<string, unknown>;
9
- settings?: Record<string, unknown>;
10
- }
11
- declare const config: FlatConfig[];
12
- export default config;
@@ -1,146 +0,0 @@
1
- // This file is auto-generated. Do not edit manually.
2
-
3
- import globals from "globals";
4
- import plugin0001 from "@typescript-eslint/eslint-plugin";
5
- import plugin0002 from "@typescript-eslint/parser";
6
- import plugin0003 from "eslint-plugin-jsdoc";
7
- import plugin0004 from "eslint-plugin-react";
8
-
9
- export default [
10
- {
11
- languageOptions: {
12
- globals: { ...globals.node, ...globals.es2022 },
13
- },
14
- },
15
- {
16
- languageOptions: {
17
- parser: plugin0002,
18
- sourceType: "module",
19
- },
20
- plugins: {
21
- "@typescript-eslint": plugin0001,
22
- },
23
- },
24
- {
25
- files: [
26
- "**/*.ts",
27
- "**/*.tsx",
28
- "**/*.mts",
29
- "**/*.cts",
30
- ],
31
- languageOptions: {
32
- parserOptions: {
33
- projectService: true,
34
- },
35
- },
36
- rules: {
37
- "constructor-super": "off",
38
- "getter-return": "off",
39
- "no-class-assign": "off",
40
- "no-const-assign": "off",
41
- "no-dupe-class-members": "off",
42
- "no-dupe-keys": "off",
43
- "no-func-assign": "off",
44
- "no-import-assign": "off",
45
- "no-new-native-nonconstructor": "off",
46
- "no-obj-calls": "off",
47
- "no-redeclare": "off",
48
- "no-setter-return": "off",
49
- "no-this-before-super": "off",
50
- "no-undef": "off",
51
- "no-unreachable": "off",
52
- "no-unsafe-negation": "off",
53
- "no-var": "error",
54
- "no-with": "off",
55
- "prefer-const": "error",
56
- "prefer-rest-params": "error",
57
- "prefer-spread": "error",
58
- "no-array-constructor": "off",
59
- "no-unused-vars": "off",
60
- "no-dupe-args": "off",
61
- "no-new-symbol": "off",
62
- "@typescript-eslint/naming-convention": [
63
- "error",
64
- {
65
- selector: "interface",
66
- format: [
67
- "PascalCase",
68
- ],
69
- custom: {
70
- regex: "^I[A-Z]",
71
- match: true,
72
- },
73
- },
74
- ],
75
- },
76
- },
77
- {
78
- files: [
79
- "**/*.{js,cjs,mjs,jsx}",
80
- ],
81
- plugins: {
82
- jsdoc: plugin0003,
83
- },
84
- settings: {
85
- jsdoc: {
86
- mode: "jsdoc",
87
- },
88
- },
89
- rules: {
90
- "jsdoc/require-param": "error",
91
- },
92
- },
93
- {
94
- ignores: [
95
- "**/dist/**/*.*",
96
- "**/esm/**/*.*",
97
- "**/node_modules/**/*.*",
98
- "**/ci/results/**",
99
- "**/__version.ts",
100
- "**/cypress/results/**",
101
- "**/cypress/screenshots/**",
102
- "**/cypress/videos/**",
103
- "**/temp/**",
104
- "**/reference_workspace/**",
105
- ],
106
- },
107
- {
108
- languageOptions: {
109
- globals: { ...globals.browser },
110
- },
111
- },
112
- {
113
- languageOptions: {
114
- ecmaVersion: 2022,
115
- sourceType: "module",
116
- },
117
- },
118
- {
119
- plugins: {
120
- react: plugin0004,
121
- },
122
- settings: {
123
- react: {
124
- version: "detect",
125
- },
126
- },
127
- rules: {
128
- "react/jsx-no-leaked-render": [
129
- "warn",
130
- {
131
- validStrategies: [
132
- "ternary",
133
- "coerce",
134
- ],
135
- },
136
- ],
137
- "react/function-component-definition": [
138
- "error",
139
- {
140
- namedComponents: "function-declaration",
141
- unnamedComponents: "arrow-function",
142
- },
143
- ],
144
- },
145
- },
146
- ];
@@ -1,12 +0,0 @@
1
- export interface FlatConfig {
2
- files?: string[];
3
- ignores?: string[];
4
- languageOptions?: Record<string, unknown>;
5
- linterOptions?: Record<string, unknown>;
6
- processor?: unknown;
7
- plugins?: Record<string, unknown>;
8
- rules?: Record<string, unknown>;
9
- settings?: Record<string, unknown>;
10
- }
11
- declare const config: FlatConfig[];
12
- export default config;