Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to ESLint 9 #622

Merged
merged 5 commits into from
Oct 20, 2024
Merged

Update to ESLint 9 #622

merged 5 commits into from
Oct 20, 2024

Conversation

3flex
Copy link
Contributor

@3flex 3flex commented Oct 20, 2024

I'm no expert here, so there may be some issues in the migration of the config file. The new config file format is very different to the old, and some things weren't clear in the ESLint config migration guide for v9, so it's possible that there are some unintended behaviour changes that have been introduced.

I've verified that the typescript checks are working which is probably the most important thing.

globals: {
$scope: 'writable',
cast: 'readonly'
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't understand the reason for including these items in the globals block, and a look at the commit history and a few searches online didn't help.

They have not been carried over to the new config.

@nielsvanvelzen
Copy link
Member

The linter seems to run fine, we can always update the config later if any issues with it arise.

@nielsvanvelzen nielsvanvelzen merged commit 9c76742 into jellyfin:master Oct 20, 2024
5 checks passed
@3flex 3flex deleted the eslint9 branch October 20, 2024 10:29
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