diff --git a/README.md b/README.md index 1cde9600..c891ed7d 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,7 @@ The default settings don't conflict, and Prettier plugins can quickly fix up ord | Name                         | Description | 💼 | 🔧 | 💡 | ❌ | | :------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ | :--- | :- | :- | :- | | [no-empty-fields](docs/rules/no-empty-fields.md) | Reports on unnecessary empty arrays and objects. | ✔️ ✅ | | 💡 | | -| [no-redundant-files](docs/rules/no-redundant-files.md) | Prevents adding unnecessary / redundant files. | | | 💡 | | +| [no-redundant-files](docs/rules/no-redundant-files.md) | Prevents adding unnecessary / redundant files. | ✔️ ✅ | | 💡 | | | [order-properties](docs/rules/order-properties.md) | Package properties must be declared in standard order | ✔️ ✅ | 🔧 | | | | [repository-shorthand](docs/rules/repository-shorthand.md) | Enforce either object or shorthand declaration for repository. | ✔️ ✅ | 🔧 | | | | [require-author](docs/rules/require-author.md) | Requires the `author` property to be present. | | | | | diff --git a/docs/rules/no-redundant-files.md b/docs/rules/no-redundant-files.md index abfd79c0..7d7c8054 100644 --- a/docs/rules/no-redundant-files.md +++ b/docs/rules/no-redundant-files.md @@ -1,5 +1,7 @@ # no-redundant-files +💼 This rule is enabled in the following configs: ✔️ `legacy-recommended`, ✅ `recommended`. + 💡 This rule is manually fixable by [editor suggestions](https://eslint.org/docs/latest/use/core-concepts#rule-suggestions). diff --git a/src/rules/no-redundant-files.ts b/src/rules/no-redundant-files.ts index 582e5d6c..8854afd4 100644 --- a/src/rules/no-redundant-files.ts +++ b/src/rules/no-redundant-files.ts @@ -181,7 +181,7 @@ export const rule = createRule({ docs: { category: "Best Practices", description: "Prevents adding unnecessary / redundant files.", - recommended: false, + recommended: true, }, hasSuggestions: true, messages: {