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

Fix parsing errors #1

Merged
merged 14 commits into from
Sep 20, 2023
Merged

Fix parsing errors #1

merged 14 commits into from
Sep 20, 2023

Commits on Aug 27, 2023

  1. Configuration menu
    Copy the full SHA
    8a2e874 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. docs(brace-style): update docs

    Fixes lint issues & adds relevant links/examples.
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    cef660e View commit details
    Browse the repository at this point in the history
  2. refactor(brace-style): fix lint issues

    In additional to switching to `messageId`, additional lint rules are
    also added and followed.
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    d917a2f View commit details
    Browse the repository at this point in the history
  3. test(brace-style): add failing test case

    Encountered when trying to use the plugin on a large code base.
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    929c31c View commit details
    Browse the repository at this point in the history
  4. chore{package.json}: update engines, license & files

    Updates the minimum node version to 18 to address the EOL for security
    updates of Node 16 on 2023-09-11.
    
    Commands ran to update the `package*.json` files:
    
    ```console
    npm pkg set engines.node='>=18'
    npm install --package-lock-only
    ```
    
    Also fixed audit issues with `npm audit fix`.
    
    Refs: https://nodejs.dev/en/about/releases/
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    a335151 View commit details
    Browse the repository at this point in the history
  5. build(npm): switch to forked eslint-plugin-node

    The forked version is maintained.
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    983580b View commit details
    Browse the repository at this point in the history
  6. chore: switch from mocha to vitest

    Mainly for a better DX.
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    799120f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a37e03f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    55b7813 View commit details
    Browse the repository at this point in the history
  9. fix: fix edge cases missed

    Added a lot more test cases and refactored the custom rule to be based
    on the core `brace-style` rule from ESLint.
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    44e3de4 View commit details
    Browse the repository at this point in the history
  10. feat: add recommended config

    Makes it easier to configure the plugin.
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    931179b View commit details
    Browse the repository at this point in the history
  11. chore: add @distributive eslint config

    In addition to adding the config, lint issues were addressed.
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    a33f512 View commit details
    Browse the repository at this point in the history
  12. chore: get exported meta data from package.json

    Make sure `package.json` is used as the single source of truth for the
    package's name & version.
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    ad2fd41 View commit details
    Browse the repository at this point in the history
  13. build(npm): Bump minimum peer dep of eslint to 8.40.0

    The plugin uses `context.souceCode` which was only recently added in May
    this year.
    
    If the version of the peer dependency isn't satisfied, the plugin breaks
    when the property is undefined.
    
    Refs: https://eslint.org/blog/2023/05/eslint-v8.40.0-released/#highlights
    bryan-hoang committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    b6ffb3e View commit details
    Browse the repository at this point in the history