powsybl / powsybl-diagram-viewer

Other
2 stars 1 forks source link

ESlint not block Vite build when in development mode #56

Closed Tristan-WorkGH closed 4 months ago

Tristan-WorkGH commented 4 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

No.

What kind of change does this PR introduce?

Fix build blocked when developing with npm start command.

What is the current behavior?

When a warning is throw by ESLint (like Prettier syntax), it will block build and hot-reload.

What is the new behavior (if this is a feature change)? ESLint warnings will not be blocking in development mode only.

Does this PR introduce a breaking change or deprecate an API?

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps)

None.

Other information:

cherry pick https://github.com/gridsuite/gridstudy-app/pull/1995