@vinicunca/eslint-config 2.0.0-beta.9 → 2.0.1
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.cjs +1012 -85
- package/dist/index.d.cts +5 -9
- package/dist/index.d.ts +5 -9
- package/dist/index.js +1012 -85
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -57,7 +57,9 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
57
57
|
*
|
|
58
58
|
* @default auto-detect based on the dependencies
|
|
59
59
|
*/
|
|
60
|
-
typescript?:
|
|
60
|
+
typescript?: OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & {
|
|
61
|
+
enabled?: boolean;
|
|
62
|
+
};
|
|
61
63
|
/**
|
|
62
64
|
* Enable JSX related rules.
|
|
63
65
|
*
|
|
@@ -102,12 +104,6 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
102
104
|
* @default true
|
|
103
105
|
*/
|
|
104
106
|
stylistic?: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Enable sonarjs rules.
|
|
107
|
-
*
|
|
108
|
-
* @default true
|
|
109
|
-
*/
|
|
110
|
-
sonar?: boolean;
|
|
111
107
|
/**
|
|
112
108
|
* Enable react support.
|
|
113
109
|
* In This plugin, react is not supported as a first class citizen. 😎
|
|
@@ -165,10 +161,10 @@ interface OptionsTypeScriptWithTypes {
|
|
|
165
161
|
* When this options is provided, type aware rules will be enabled.
|
|
166
162
|
* @see https://typescript-eslint.io/linting/typed-linting/
|
|
167
163
|
*/
|
|
168
|
-
tsconfigPath?: string;
|
|
164
|
+
tsconfigPath?: string[];
|
|
169
165
|
}
|
|
170
166
|
interface OptionsHasTypeScript {
|
|
171
|
-
typescript?:
|
|
167
|
+
typescript?: OptionsConfig['typescript'];
|
|
172
168
|
}
|
|
173
169
|
|
|
174
170
|
declare function vinicuncaESLint({ options, userConfigs }?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -57,7 +57,9 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
57
57
|
*
|
|
58
58
|
* @default auto-detect based on the dependencies
|
|
59
59
|
*/
|
|
60
|
-
typescript?:
|
|
60
|
+
typescript?: OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & {
|
|
61
|
+
enabled?: boolean;
|
|
62
|
+
};
|
|
61
63
|
/**
|
|
62
64
|
* Enable JSX related rules.
|
|
63
65
|
*
|
|
@@ -102,12 +104,6 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
102
104
|
* @default true
|
|
103
105
|
*/
|
|
104
106
|
stylistic?: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Enable sonarjs rules.
|
|
107
|
-
*
|
|
108
|
-
* @default true
|
|
109
|
-
*/
|
|
110
|
-
sonar?: boolean;
|
|
111
107
|
/**
|
|
112
108
|
* Enable react support.
|
|
113
109
|
* In This plugin, react is not supported as a first class citizen. 😎
|
|
@@ -165,10 +161,10 @@ interface OptionsTypeScriptWithTypes {
|
|
|
165
161
|
* When this options is provided, type aware rules will be enabled.
|
|
166
162
|
* @see https://typescript-eslint.io/linting/typed-linting/
|
|
167
163
|
*/
|
|
168
|
-
tsconfigPath?: string;
|
|
164
|
+
tsconfigPath?: string[];
|
|
169
165
|
}
|
|
170
166
|
interface OptionsHasTypeScript {
|
|
171
|
-
typescript?:
|
|
167
|
+
typescript?: OptionsConfig['typescript'];
|
|
172
168
|
}
|
|
173
169
|
|
|
174
170
|
declare function vinicuncaESLint({ options, userConfigs }?: {
|