@ncontiero/eslint-config 8.0.0-beta.6 → 8.0.0-beta.8
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.mts +6 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -16492,7 +16492,7 @@ type ConfigNames = 'ncontiero/gitignore' | 'ncontiero/ignores' | 'ncontiero/java
|
|
|
16492
16492
|
//#region src/types.d.ts
|
|
16493
16493
|
type Awaitable<T> = T | Promise<T>;
|
|
16494
16494
|
interface Rules extends RuleOptions {}
|
|
16495
|
-
interface FlatConfigItem extends Omit<Linter.Config
|
|
16495
|
+
interface FlatConfigItem extends Omit<Linter.Config, "plugins" | "rules"> {
|
|
16496
16496
|
/**
|
|
16497
16497
|
* An object containing a name-value mapping of plugin names to plugin objects.
|
|
16498
16498
|
* When `files` is specified, these plugins are only available to the matching files.
|
|
@@ -16500,6 +16500,11 @@ interface FlatConfigItem extends Omit<Linter.Config<Linter.RulesRecord & Rules>,
|
|
|
16500
16500
|
* @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
|
|
16501
16501
|
*/
|
|
16502
16502
|
plugins?: Record<string, any>;
|
|
16503
|
+
/**
|
|
16504
|
+
* An object containing the configured rules. When `files` or `ignores` are
|
|
16505
|
+
* specified, these rule configurations are only available to the matching files.
|
|
16506
|
+
*/
|
|
16507
|
+
rules?: Rules;
|
|
16503
16508
|
}
|
|
16504
16509
|
interface OptionsFiles {
|
|
16505
16510
|
/**
|