-
Notifications
You must be signed in to change notification settings - Fork 1
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
Create ESLint flat config setup #258
base: main
Are you sure you want to change the base?
Conversation
I decided to not change the package setup right now, because we need to merge all dependencies to one package which could cause some dependencies to be unused when for example only the configuration for JavaScript is used. What are your thoughts on merging everything in one package @ThaNarie? |
468f4a2
to
a6bd899
Compare
…r base and typescript
Merging the packages simplifies the setup and package management and most projects use typescript anyway so I believe this is a much better strategy |
"exports": { | ||
".": "./src/index.js" | ||
}, |
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.
Should we also export the non-index files, which might make it easier to construct your own presets from these building blocks?
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.
I don't mind but it also encourages creating custom presets. We can just re-export the rules from the index.js file
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.
That also works for me :)
Co-authored-by: Arjan van Wijk <[email protected]>
No description provided.