Skip to content

Commit

Permalink
Upgrade to Foundry v7 (#2406)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer authored Mar 4, 2024
1 parent 4d99508 commit 455e5ed
Show file tree
Hide file tree
Showing 65 changed files with 6,204 additions and 3,861 deletions.
5 changes: 5 additions & 0 deletions .changeset/empty-camels-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/stylelint-plugin-circuit-ui': major
---

Upgraded to [Stylelint 16](https://stylelint.io/migration-guide/to-16/#removed-support-for-nodejs-less-than-18120) and migrated to ECMAScript modules (ESM). The minimum required Node.js version is 18.12.0.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ public/
__coverage__/
__reports__/
*.config.*
package.json
package-lock.json
*rc.*
/scripts/
# disable linting for templates because it will have its own rules when used in a new app
Expand Down
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ module.exports = require('@sumup/foundry/eslint')({
tsconfigRootDir: __dirname,
},
overrides: [
{
files: [
'**/*.spec.*',
'**/jest*',
'**/setupTests.*',
'**/test-utils.*',
'**/*Fixtures.*',
'**/__fixtures__/**/*',
'**/__mocks__/**/*',
],
rules: {
'testing-library/no-container': 'warn',
},
},
{
files: ['**/*.stories.*'],
rules: {
Expand Down
Loading

0 comments on commit 455e5ed

Please sign in to comment.