-
Notifications
You must be signed in to change notification settings - Fork 100
Closed
Labels
FrontendIssue or PR related to the frontend codeIssue or PR related to the frontend codebugSomething isn't workingSomething isn't working
Milestone
Description
With 601de51 a regression was introduced into the code base. I do not know why the CI did not trigger a warning/error but with that commit the check of eslint fails.
To check this, simply checkout the corresponding commit and run npm ci && npm run eslint
. Eslint reports a dozen errors like this:
/home/christian/Dokumente/nextcloud-docker-dev/workspace/server/apps-extra/cookbook/src/components/AppControls/AppControls.vue
201:23 error Unexpected use of file extension "js" for "@nextcloud/vue/dist/Components/NcActions.js" import/extensions
202:28 error Unexpected use of file extension "js" for "@nextcloud/vue/dist/Components/NcActionButton.js" import/extensions
204:22 error Unexpected use of file extension "js" for "@nextcloud/vue/dist/Components/NcButton.js" import/extensions
205:27 error Unexpected use of file extension "js" for "@nextcloud/vue/dist/Components/NcActionInput.js" import/extensions
206:27 error Unexpected use of file extension "js" for "@nextcloud/vue/dist/Components/NcLoadingIcon.js" import/extensions
Just dropping the extension from the import
statements will render the app non-buildable. For the parent commit, the linter seems to be perfectly happy.
As I am not used to and not experienced with typescript, could you have a look, @seyfeb?
Metadata
Metadata
Assignees
Labels
FrontendIssue or PR related to the frontend codeIssue or PR related to the frontend codebugSomething isn't workingSomething isn't working