Skip to content

Work together on eslint-config-defaults #638

@baer

Description

@baer

Hello! I wanted to propose a collaboration between this repo and https://github.com/walmartlabs/eslint-config-defaults.

I originally set out to build config-defaults because I was tired of copy pasting my eslint config around and trying to keep them up to date across lots of projects. Eslint's extends key fixes the distribution problem but there are still two issues:

  1. Managing the eslint config file is a pain in the ass even though it is centralized. New rules are added, removed, moved and deprecated all the time!
  2. Just get up and running for a new project was not straightforward and I strongly believe that code quality tooling should be well suited to those who are just starting out. They're often the ones who need it most after all.

It's obvious that you all saw the same problems and it has been enormously helpful to a lot of people. and we've already worked together in #366 and #526 but I want to take your config one step further and I am asking for your help. With eslint-config-defaults I want to try to centralize the config from a few thought leaders around the web so that folks have fast, standard and up to date options from the start.

I've been maintaining an "unofficial" airbnb config for a while now but it's duplicate effort and my hope is to try to collaborate/consolidate. For my part, I am committed to staying on top of the latest rules (and deprecations). I should mention that you all have quite a few missing rules already :).

Potential Objections(?):

  • We need quick access to the repo to make changes. - I'm happy to try to get your maintainers added to the project.
  • The project is under walmartlabs and I'm not too sure I like that. - It's possible we could spin this out into it's own org - I'd have to talk to legal and such about what we can do.
  • We don't want to install all the configs! - Maybe we can do what babel does and have multiple npm packages under the same project. We can figure that out.
  • This project is really popular and is an exceptional part of our OSS portfolio that we're not going to shut down. - You could easily take config-defaults as a dependency and keep this exactly how it is. Really, this repo's strength is it's plain english documentation and is kindof an awkward place to store ESLint rules.

Anyway, I wanted to start a conversation and see if we can make it work for both of us.

@justjake @taion @ljharb @hshoff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions