zaengle / base-eslint-configuration

0 stars 0 forks source link

Publish as a preset to npm #4

Open tomdavies opened 1 year ago

tomdavies commented 1 year ago

We should publish this config as a preset to npm so that we can consume it as a dependency in our projects, rather than duplicating it

eslint.org/docs/latest/extend/shareable-configs#publishing-a-shareable-config

Then our downstream projects' .eslintrc can just be

{
    "extends": "@zaengle/eslint-config"
}
jesseschutt commented 1 year ago

It's been a few years since we initially created this. @movntains - how closely does it represent our current workflow?

movntains commented 1 year ago

@jesseschutt Not very closely at all. I was thinking about turning this into a monorepo with different configs that could be pulled in (as Tom suggests) -- for example, a config with Vue (non-Nuxt), a config without Vue, and perhaps a config for Nuxt projects.

jesseschutt commented 1 year ago

Would you like to update this repo or should I archive it and we start a new one?

movntains commented 1 year ago

Since we'll be publishing to npm, it may be better to start a new repo and archive this one.