Skip to content

Upgrade to ESLint v9, fix all React issues#272

Merged
colinrotherham merged 21 commits intoexportsfrom
eslint
Oct 7, 2025
Merged

Upgrade to ESLint v9, fix all React issues#272
colinrotherham merged 21 commits intoexportsfrom
eslint

Conversation

@colinrotherham
Copy link
Collaborator

This PR upgrades to ESLint v9 and removes the following disabled rules:

rules: {
  'react/prop-types': 0,
  'jsx-a11y/anchor-has-content': 0,
  'jsx-a11y/alt-text': 0,
  'jsx-a11y/heading-has-content': 0,
  'react-hooks/exhaustive-deps': 0,
},

They've now been fixed instead

Other linting tasks

The following linting tasks have been split out for convenience:

yarn lint:types
yarn lint:js
yarn lint:prettier

@colinrotherham
Copy link
Collaborator Author

Thanks @JoshuaBates-NHS, just going to update TypeScript as well

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 7, 2025

@colinrotherham colinrotherham merged commit 95ef36b into exports Oct 7, 2025
3 checks passed
@colinrotherham colinrotherham deleted the eslint branch October 7, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants