Skip to content

Commit

Permalink
Fix warnings listed as errors in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matejchalk committed Dec 2, 2024
1 parent 9c4b5aa commit 424b29e
Show file tree
Hide file tree
Showing 7 changed files with 294 additions and 276 deletions.
104 changes: 52 additions & 52 deletions docs/angular.md

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions docs/graphql.md

Large diffs are not rendered by default.

290 changes: 145 additions & 145 deletions docs/javascript.md

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/jest.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,37 +33,37 @@ Config for projects using **Jest** for testing.

> πŸ”§ Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).<br>πŸ’‘ Manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
### 🚨 Errors (16)
### 🚨 Errors (8)

| Plugin | Rule | Options | Autofix | Overrides |
| :-----------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------ | :-----: | :-------: |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-alias-methods](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-alias-methods.md)<br />Disallow alias methods | | πŸ”§ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-conditional-expect](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-conditional-expect.md)<br />Disallow calling `expect` conditionally | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-deprecated-functions](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-deprecated-functions.md)<br />Disallow use of deprecated functions | | πŸ”§ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-done-callback](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-done-callback.md)<br />Disallow using a callback in asynchronous tests and hooks | | πŸ’‘ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-export](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-export.md)<br />Disallow using `exports` in files containing tests | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-focused-tests](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-focused-tests.md)<br />Disallow focused tests | | πŸ’‘ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-identical-title](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-identical-title.md)<br />Disallow identical titles | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-interpolation-in-snapshots](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-interpolation-in-snapshots.md)<br />Disallow string interpolation inside snapshots | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-jasmine-globals](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-jasmine-globals.md)<br />Disallow Jasmine globals | | πŸ”§ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-mocks-import](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-mocks-import.md)<br />Disallow manually importing from `__mocks__` | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-standalone-expect](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-standalone-expect.md)<br />Disallow using `expect` outside of `it` or `test` blocks | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-test-prefixes](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-test-prefixes.md)<br />Require using `.only` and `.skip` over `f` and `x` | | πŸ”§ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [valid-describe-callback](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/valid-describe-callback.md)<br />Enforce valid `describe()` callback | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [valid-expect](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/valid-expect.md)<br />Enforce valid `expect()` usage | | πŸ”§ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [valid-expect-in-promise](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/valid-expect-in-promise.md)<br />Require promises that have expectations in their chain to be valid | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [valid-title](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/valid-title.md)<br />Enforce valid titles | | πŸ”§ | |

### ⚠️ Warnings (27)
### ⚠️ Warnings (35)

| Plugin | Rule | Options | Autofix | Overrides |
| :-----------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------- | :-----: | :-------: |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [consistent-test-it](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/consistent-test-it.md)<br />Enforce `test` and `it` usage conventions | | πŸ”§ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [expect-expect](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/expect-expect.md)<br />Enforce assertion to be made in a test body | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [max-nested-describe](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/max-nested-describe.md)<br />Enforces a maximum depth to nested describe calls | <details><summary>max: 2</summary><pre lang="json"><code>{&#13; "max": 2&#13;}</code></pre></details> | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-alias-methods](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-alias-methods.md)<br />Disallow alias methods | | πŸ”§ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-commented-out-tests](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-commented-out-tests.md)<br />Disallow commented out tests | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-conditional-expect](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-conditional-expect.md)<br />Disallow calling `expect` conditionally | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-deprecated-functions](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-deprecated-functions.md)<br />Disallow use of deprecated functions | | πŸ”§ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-disabled-tests](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-disabled-tests.md)<br />Disallow disabled tests | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-done-callback](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-done-callback.md)<br />Disallow using a callback in asynchronous tests and hooks | | πŸ’‘ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-duplicate-hooks](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-duplicate-hooks.md)<br />Disallow duplicate setup and teardown hooks | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-export](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-export.md)<br />Disallow using `exports` in files containing tests | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-focused-tests](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-focused-tests.md)<br />Disallow focused tests | | πŸ’‘ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-mocks-import](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-mocks-import.md)<br />Disallow manually importing from `__mocks__` | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-standalone-expect](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-standalone-expect.md)<br />Disallow using `expect` outside of `it` or `test` blocks | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [no-test-return-statement](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/no-test-return-statement.md)<br />Disallow explicitly returning from tests | | | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [padding-around-after-all-blocks](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/padding-around-after-all-blocks.md)<br />Enforce padding around `afterAll` blocks | | πŸ”§ | |
| [![jest](./icons/material/jest.png)](https://github.com/jest-community/eslint-plugin-jest#readme) | [padding-around-after-each-blocks](https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.0/docs/rules/padding-around-after-each-blocks.md)<br />Enforce padding around `afterEach` blocks | | πŸ”§ | |
Expand Down
Loading

0 comments on commit 424b29e

Please sign in to comment.