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

Remove unused eslint config #700

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

JulianKniephoff
Copy link
Member

@JulianKniephoff JulianKniephoff commented Jun 18, 2024

WIth #471 we unfortunately lost ESLint. I plan to add it back, but for now, we don't need this config anymore, and the new one will look different anyway.

Copy link
Contributor

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 ghcr.io/opencast/opencast-admin-interface:pr-700

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org ghcr.io/opencast/opencast-admin-interface:pr-700

It may take a few seconds for the interface to spin up.
It will then be available at http://127.0.0.1:3000.
For more options you can pass on to the proxy, take a look at the README.md.

Copy link
Contributor

This pull request is deployed at test.admin-interface.opencast.org/700/2024-06-18_09-13-51/ .
It might take a few minutes for it to become available.

@JulianKniephoff JulianKniephoff added the type:code-enhancement Internal improvements to the codebase label Jun 18, 2024
JulianKniephoff added a commit to JulianKniephoff/opencast-admin-interface that referenced this pull request Jun 19, 2024
I removed our leftover config in opencast#700 with a promise to bring ESLint back.
Well this is it, for now!

This introduces an ESLint config file in the new flat file format,
which will be required for ESLint `>= 9`. It is already supported in version 8, though,
which we are still stuck on because of the (unmaintained) config we are/were using.
I briefly tried to port this project over to `@opencast/eslint-config-ts-react`,
but the code said "no," basically. ;P

This has a few unfortunate consequences. See opencast#713. I plan to address these in due time, though.

Note that this does **not** introduce automatic/live checking of the code
during development. I only added a call to the linter to the build command,
in turn making CI fail when there are warnings.
I created opencast#712 to track the live thing if we want that.
@Arnei Arnei merged commit 7979b14 into opencast:main Jun 19, 2024
6 of 7 checks passed
JulianKniephoff added a commit to JulianKniephoff/opencast-admin-interface that referenced this pull request Jun 25, 2024
I removed our leftover config in opencast#700 with a promise to bring ESLint back.
Well this is it, for now!

This introduces an ESLint config file in the new flat file format,
which will be required for ESLint `>= 9`. It is already supported in version 8, though,
which we are still stuck on because of the (unmaintained) config we are/were using.
I briefly tried to port this project over to `@opencast/eslint-config-ts-react`,
but the code said "no," basically. ;P

This has a few unfortunate consequences. See opencast#713. I plan to address these in due time, though.

Note that this does **not** introduce automatic/live checking of the code
during development. I only added a call to the linter to the build command,
in turn making CI fail when there are warnings.
I created opencast#712 to track the live thing if we want that.
@JulianKniephoff JulianKniephoff deleted the remove-eslint-config branch June 25, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:code-enhancement Internal improvements to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants