Skip to content
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

Split ESLint config package into multiple modular packages #244

Open
karlhorky opened this issue Jun 3, 2023 · 0 comments
Open

Split ESLint config package into multiple modular packages #244

karlhorky opened this issue Jun 3, 2023 · 0 comments

Comments

@karlhorky
Copy link
Member

Instead of providing one monolithic package that has all of our configuration inside (JavaScript, Node.js, React, Next.js, PostgreSQL), it would be nice to be able to only install the configuration and dependencies that a certain student project absolutely needs.

The ESLint configuration option extends receives an array of configurations, which we can add multiple items to:

{
    "extends": [
        "upleveled-js",
        "upleveled-react",
        "upleveled-next-js",
        "upleveled-postgres-js",
    ],

Important: Each of these separate packages should not have rules or plugins which overlap or conflict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant