Skip to content

Conversation

csouchet
Copy link
Contributor

@csouchet csouchet commented Feb 21, 2025

Depends on #376

@csouchet csouchet added the dependencies Pull requests that update a dependency (dev or runtime) label Feb 21, 2025
@tbouffard
Copy link
Member

@csouchet this PR is going to have a very large scope (both config change and update of eslint rules)
Could we first try to migrate to the eslint flat configuration then bump to eslint v9 in a new PR?

I'd like to be able to review it more quickly than process-analytics/bpmn-visualization-js#3081.

@csouchet csouchet added the depends on another PR ⚠️ Pull request depending on another one. The depending must be merged first label Feb 24, 2025
Copy link

github-actions bot commented Feb 24, 2025

🎊 PR Preview e0eb8ef has been successfully built and deployed to https://process-analytics-bpmn-visualization-addons-demo-pr-375.surge.sh

🕐 Build time: 0.011s

🤖 By surge-preview

@csouchet csouchet marked this pull request as ready for review February 24, 2025 12:37
@tbouffard
Copy link
Member

Converted to draft, as the PR depends on #376

@tbouffard tbouffard marked this pull request as draft February 25, 2025 08:52
@csouchet csouchet force-pushed the chore/eslint9 branch 2 times, most recently from 60f7e7f to 8783e4d Compare March 10, 2025 09:43
Copy link

Copy link

*/

import type { Overlay } from 'bpmn-visualization';
// eslint-disable-next-line n/no-extraneous-import
Copy link
Member

Choose a reason for hiding this comment

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

question: why adding this? this plugin is not supposed to be bump and when using it with eslint v8, there is no need to disable the rule here.

"strict": true,
"noEmit": true,
"skipLibCheck": false,
"paths": {
Copy link
Member

Choose a reason for hiding this comment

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

question: verify if this is really needed. May be required if the addons package is not built.

import './assets/overlays.css';
import type { FitOptions } from 'bpmn-visualization';

// eslint-disable-next-line n/file-extension-in-import, n/no-missing-import
Copy link
Member

Choose a reason for hiding this comment

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

question: verify if this is really needed. May be required if the addons package is not built.
This remark applies to all demo code.

}

export class ShapeUtil extends BaseShapeUtil {
export class ShapeUtility extends BaseShapeUtility {
Copy link
Member

Choose a reason for hiding this comment

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

issue: renaming ShapeUtil is a breaking change. This should not be done as part of an eslint configuration change.

@tbouffard
Copy link
Member

Closing. This PR will be recreated from the main branch and will not include bump of the unicorn plugin. This will be done later.

@tbouffard tbouffard closed this Jun 20, 2025
@tbouffard tbouffard deleted the chore/eslint9 branch June 20, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency (dev or runtime) depends on another PR ⚠️ Pull request depending on another one. The depending must be merged first

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants