Skip to content

Commit

Permalink
feat!: remove consistent-output from recommended (#462)
Browse files Browse the repository at this point in the history
fixes #284
  • Loading branch information
aladdin-add committed Apr 9, 2024
1 parent 1692fe2 commit c27e18b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ module.exports = [

| Name                        | Description | 💼 | 🔧 | 💡 | 💭 |
| :----------------------------------------------------------------------- | :--------------------------------------------------------------------------- | :-- | :-- | :-- | :-- |
| [consistent-output](docs/rules/consistent-output.md) | enforce consistent use of `output` assertions in rule tests | | | | |
| [consistent-output](docs/rules/consistent-output.md) | enforce consistent use of `output` assertions in rule tests | | | | |
| [no-identical-tests](docs/rules/no-identical-tests.md) | disallow identical tests || 🔧 | | |
| [no-only-tests](docs/rules/no-only-tests.md) | disallow the test case property `only` || | 💡 | |
| [prefer-output-null](docs/rules/prefer-output-null.md) | disallow invalid RuleTester test cases where the `output` matches the `code` || 🔧 | | |
Expand Down
2 changes: 0 additions & 2 deletions docs/rules/consistent-output.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Enforce consistent use of `output` assertions in rule tests (`eslint-plugin/consistent-output`)

💼 This rule is enabled in the ✅ `recommended` [config](https://github.com/eslint-community/eslint-plugin-eslint-plugin#presets).

<!-- end auto-generated rule header -->

When writing tests for fixable rules, the `output` property on each test case can be used to assert what autofixed code is produced, or to assert that no autofix is produced using `output: null`.
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/consistent-output.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
description:
'enforce consistent use of `output` assertions in rule tests',
category: 'Tests',
recommended: true,
recommended: false,
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/consistent-output.md',
},
fixable: null, // or "code" or "whitespace"
Expand Down

0 comments on commit c27e18b

Please sign in to comment.