WildCodeSchool / create-harmonia

pedagogical framework for React-Express-MySQL projects
https://www.npmjs.com/package/create-harmonia
MIT License
56 stars 402 forks source link

Import order linter errors in server config.js #156

Open Acetoshi opened 1 week ago

Acetoshi commented 1 week ago

Linter gives imports order error when uncommenting line 111, conflicts with line 87.

i suggest to swap them, is it ok if i open a PR ?

image

Acetoshi commented 1 week ago

EDIT : swapping them won't work. const path = require("path"); needs to be put at the top of the document.

rocambille commented 1 week ago

Next major release will use Biome to replace ESLint and Prettier. This import order is compatible with Biome: that will fix the issue :slightly_smiling_face: