Skip to content

Commit

Permalink
Tweak linting rules (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer authored Apr 16, 2023
1 parent a1e9345 commit 8f3630f
Show file tree
Hide file tree
Showing 7 changed files with 334 additions and 214 deletions.
5 changes: 5 additions & 0 deletions .changeset/eleven-plants-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/foundry': patch
---

Disabled the [`jest/unbound-method`](https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/unbound-method.md) ESLint rule as it requires type information to work.
5 changes: 5 additions & 0 deletions .changeset/mean-frogs-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/foundry': patch
---

Disabled the [`import/no-anonymous-default-export`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-anonymous-default-export.md) ESLint rule in Storybook files.
5 changes: 0 additions & 5 deletions .changeset/neat-frogs-develop.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/old-books-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/foundry': patch
---

Set a [maximum depth](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-cycle.md#maxdepth) for the expansion of dependency trees in the [`import/no-cycle`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-cycle.md) ESLint rule.
5 changes: 5 additions & 0 deletions .changeset/red-shoes-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/foundry': major
---

Removed the Jest globals from the ESLint config. Import the functions from your test utils file instead.
Loading

0 comments on commit 8f3630f

Please sign in to comment.