@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.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?: boolean | OptionsTypeScriptWithTypes;
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?: boolean;
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?: boolean | OptionsTypeScriptWithTypes;
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?: boolean;
167
+ typescript?: OptionsConfig['typescript'];
172
168
  }
173
169
 
174
170
  declare function vinicuncaESLint({ options, userConfigs }?: {