-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Refactor plugin paths and move custom reveal plugin #1898
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
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Yukai Huang <[email protected]>
Signed-off-by: Yukai Huang <[email protected]>
…ugins Signed-off-by: Yukai Huang <[email protected]>
241c612
to
9f0e3a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the plugin paths for spotlight and elapsed-time-bar in slide.js and relocates the custom reveal plugin to the public/js directory.
- Updated webpack rules to copy the plugins from public/js
- Modified dependency URLs in slide.js to reflect the new plugin paths
- Relocated and added ESLint disabling comments to the spotlight and elapsed-time-bar plugins
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
webpack.common.js | Added a new rule to copy plugins from public/js into revealjs-plugins |
public/js/slide.js | Updated dependency URLs for spotlight and elapsed-time-bar plugins |
public/js/revealjs-plugins/spotlight/spotlight.js | Added an ESLint disable comment at the top |
public/js/revealjs-plugins/elapsed-time-bar/elapsed-time-bar.js | Added an ESLint disable comment at the top |
@@ -1,3 +1,4 @@ | |||
/* eslint-disable */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Using a blanket 'eslint-disable' can hide potential issues; consider disabling only the specific ESLint rules that require suppression.
/* eslint-disable */ | |
/* eslint-disable no-var, no-unused-vars */ |
Copilot uses AI. Check for mistakes.
@@ -1,3 +1,4 @@ | |||
/* eslint-disable */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Consider disabling only targeted ESLint rules instead of using a blanket disable to maintain better code quality.
/* eslint-disable */ | |
/* eslint-disable no-var, prefer-arrow-callback, no-unused-vars */ |
Copilot uses AI. Check for mistakes.
Update plugin paths for spotlight and elapsed-time-bar in slide.js and relocate the custom reveal plugin to the public/js directory.