Apicurio / apicurio-editors

React based editors for OpenAPI and AsyncAPI.
Apache License 2.0
1 stars 2 forks source link

Update Apicurio code styling #5

Open lordrip opened 1 month ago

lordrip commented 1 month ago

Context

Coming from: https://github.com/Apicurio/apicurio-editors/pull/4

Also, can we apply Apicurio code styling if there are no objections (expecting there might be)?

Originally posted by @EricWittmann in https://github.com/Apicurio/apicurio-editors/issues/4#issuecomment-2284169014

Goal

Since the last eslint 9.x release, the configuration file formatted changed, introducing a breaking change, more information in the release post: https://eslint.org/blog/2024/04/eslint-v9.0.0-released/

The goal is to have a compatible version of the apicurio code style that works with eslint 9.x. and use it in this project

Proposal

  1. Copy the .eslintrc file into this project
  2. Make the necessary updates to make it work with eslint 9.x
  3. Once that's done, push this change upstream and release a new version**

** Confirm with @EricWittmann if the latter is possible, as this could affect other consumers

EricWittmann commented 1 month ago

Pushing upstream and releasing is no problem.

lordrip commented 1 month ago

@EricWittmann where is that file located?