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: Add support for TS config files #18134

Draft
wants to merge 69 commits into
base: main
Choose a base branch
from

Commits on Feb 20, 2024

  1. Configuration menu
    Copy the full SHA
    eac9360 View commit details
    Browse the repository at this point in the history
  2. Simplify implementation

    aryaemami59 committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    3833b5b View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Configuration menu
    Copy the full SHA
    840378c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    150d567 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

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

Commits on Feb 28, 2024

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

Commits on Feb 29, 2024

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

Commits on Mar 2, 2024

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

Commits on Mar 5, 2024

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

Commits on Mar 6, 2024

  1. Configuration menu
    Copy the full SHA
    00af268 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ee0c4c View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

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

Commits on Mar 9, 2024

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

Commits on Mar 11, 2024

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

Commits on Mar 13, 2024

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

Commits on Mar 15, 2024

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

Commits on Mar 17, 2024

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

Commits on Mar 19, 2024

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

Commits on Mar 21, 2024

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

Commits on Mar 26, 2024

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

Commits on Mar 28, 2024

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

Commits on Apr 2, 2024

  1. Configuration menu
    Copy the full SHA
    7b00b03 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c341646 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8614fd3 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

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

Commits on Apr 6, 2024

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

Commits on Apr 9, 2024

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

Commits on Apr 12, 2024

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

Commits on Apr 17, 2024

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

Commits on Apr 22, 2024

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

Commits on Apr 23, 2024

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

Commits on Apr 29, 2024

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

Commits on Apr 30, 2024

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

Commits on May 6, 2024

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

Commits on May 9, 2024

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

Commits on May 11, 2024

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

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    360cf38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b162744 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8aca3eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b532667 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

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

Commits on May 25, 2024

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

Commits on May 29, 2024

  1. Configuration menu
    Copy the full SHA
    5ac3927 View commit details
    Browse the repository at this point in the history
  2. Fix broken unit tests caused by stubbed process.version

    Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
    aryaemami59 and antfu committed May 29, 2024
    Configuration menu
    Copy the full SHA
    f339591 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8fa2ddb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    822baf7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    33f5ee6 View commit details
    Browse the repository at this point in the history
  6. Partially Inline the FlatConfig type from @types/eslint to reuse

    - This is not only done to reduce some potential redundancy down the line, but to ensure that TS config files are able to handle `type` imports as that is something most people are likely going to do.
    aryaemami59 committed May 29, 2024
    Configuration menu
    Copy the full SHA
    90657fa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9da10d4 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

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

Commits on May 31, 2024

  1. Stringify mtime

    aryaemami59 committed May 31, 2024
    Configuration menu
    Copy the full SHA
    76c3d28 View commit details
    Browse the repository at this point in the history
  2. Check if ESLint is running in Deno or Bun

    Note: `isRunningInBun` and `isRunningInDeno` are functions to make treeshaking for consuming libraries easier.
    aryaemami59 committed May 31, 2024
    Configuration menu
    Copy the full SHA
    b0e5f96 View commit details
    Browse the repository at this point in the history
  3. Try a different approach for loading TS config files

    - This is done for mainly 2 reasons:
    
      1. We don't know how many runtime environments are going to support loading TS files natively in the future, so this saves us having to check for every single one.
      2. This also ensures that we give the user the option of passing their own TS loader of choice through `NODE_OPTIONS` in CLI for example: `NODE_OPTIONS=--import=tsx/esm`, without ESLint getting in the way and potentially causing conflicts between multiple loaders.
    aryaemami59 committed May 31, 2024
    Configuration menu
    Copy the full SHA
    209c791 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ce4b72b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    61abc9b View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

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

Commits on Jun 3, 2024

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

Commits on Jun 4, 2024

  1. Configuration menu
    Copy the full SHA
    bfa5b0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    730e5cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f0edb14 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8a988ca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3d16b62 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    391ff9d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    60a66d4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    33f77d0 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    0112441 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7df58cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de86b20 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fe914db View commit details
    Browse the repository at this point in the history