@jsse/eslint-config 0.1.3 → 0.1.4

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
@@ -121,6 +121,11 @@ type OptionsConfig = {
121
121
  off?: string[];
122
122
  fast?: boolean;
123
123
  prettier?: boolean;
124
+ /**
125
+ * The prefix for the name of the config item.
126
+ * @default "jsse"
127
+ */
128
+ rootId?: string;
124
129
  /**
125
130
  * Optional function to run before the final config is returned.
126
131
  */
@@ -381,7 +386,8 @@ declare const sortTsconfig: EslintConfigFn;
381
386
  type TestOptions = OptionsIsInEditor & OptionsOverrides;
382
387
  declare const test: EslintConfigFn<TestOptions>;
383
388
 
384
- declare function typescript(options?: OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsReact & OptionsPrefix): Promise<FlatConfigItem[]>;
389
+ type TypescriptOptions = OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsReact & OptionsPrefix;
390
+ declare const typescript: EslintConfigFn<TypescriptOptions>;
385
391
 
386
392
  declare const unicorn: EslintConfigFn;
387
393
 
package/dist/index.d.ts CHANGED
@@ -121,6 +121,11 @@ type OptionsConfig = {
121
121
  off?: string[];
122
122
  fast?: boolean;
123
123
  prettier?: boolean;
124
+ /**
125
+ * The prefix for the name of the config item.
126
+ * @default "jsse"
127
+ */
128
+ rootId?: string;
124
129
  /**
125
130
  * Optional function to run before the final config is returned.
126
131
  */
@@ -381,7 +386,8 @@ declare const sortTsconfig: EslintConfigFn;
381
386
  type TestOptions = OptionsIsInEditor & OptionsOverrides;
382
387
  declare const test: EslintConfigFn<TestOptions>;
383
388
 
384
- declare function typescript(options?: OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsReact & OptionsPrefix): Promise<FlatConfigItem[]>;
389
+ type TypescriptOptions = OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsReact & OptionsPrefix;
390
+ declare const typescript: EslintConfigFn<TypescriptOptions>;
385
391
 
386
392
  declare const unicorn: EslintConfigFn;
387
393