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

feat: support flat configs #196

Merged
merged 2 commits into from
Mar 23, 2024
Merged

feat: support flat configs #196

merged 2 commits into from
Mar 23, 2024

Commits on Mar 18, 2024

  1. feat: support flat configs

    This adds support for eslint's new flat config file feature.
    
    Supporting both systems in one config object is a rather messy
    situation, so we've opted here for multiple distinct configs instead.
    
    Old style config files can continue using config objects:
    
    ```json
    {
      extends: ['plugin:lit/recommended']
    }
    ```
    
    While new style config files can use the `flat/recommended` variety:
    
    ```json
    [
      {
        "files": ["*.js"],
        ...configs['flat/recommended']
      }
    ]
    ```
    43081j committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    ce776bf View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. feat: add flat/all config

    43081j committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    010412c View commit details
    Browse the repository at this point in the history