-
Notifications
You must be signed in to change notification settings - Fork 1
chore(deps-dev): bump to ESLint v9 #375
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
Conversation
@csouchet this PR is going to have a very large scope (both config change and update of eslint rules) I'd like to be able to review it more quickly than process-analytics/bpmn-visualization-js#3081. |
15666ba
to
8e0905e
Compare
🎊 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 |
Converted to draft, as the PR depends on #376 |
972c51f
to
ae73e19
Compare
- Add typescript-eslint and @eslint/js - Remove @typescript-eslint/eslint-plugin and @typescript-eslint/parser
60f7e7f
to
8783e4d
Compare
|
|
*/ | ||
|
||
import type { Overlay } from 'bpmn-visualization'; | ||
// eslint-disable-next-line n/no-extraneous-import |
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.
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": { |
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.
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 |
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.
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 { |
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.
issue: renaming ShapeUtil is a breaking change. This should not be done as part of an eslint configuration change.
Closing. This PR will be recreated from the main branch and will not include bump of the unicorn plugin. This will be done later. |
Depends on #376