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

Allow some per file compiler options #49886

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

Commits on Aug 24, 2022

  1. Parsing for per-file options, WIP

    WIP 2
    
    Less WIP - Only exactOptionalPropertyTypes and strictNullChecks left
    
    Pragmas are case-insensitive
    
    Fix harness types
    
    Fixup baselines
    
    File-local support for exactOptionalPropertyTypes
    
    Fix lints
    
    Cache getSourceFileOfNode within the checker
    weswigham committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    913e68b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5134a5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b45165d View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. Tests for all new pragmas

    weswigham committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    fe5600e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e25d5a8 View commit details
    Browse the repository at this point in the history
  3. Fix lint

    weswigham committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    5b336c6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4bde2e7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    562f5ea View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    84b15d9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1050e18 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6492a76 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c869597 View commit details
    Browse the repository at this point in the history
  10. undefined properties from widening should use an appropriately permis…

    …sive undefined in loose mode
    weswigham committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    82a7b3c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b18eca0 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2022

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

Commits on Sep 14, 2022

  1. Merge branch 'main' into per-file-options

    To make recent changes mesh better in the merge, move on from syntactically
    approximating old union behavior for null/undefined to fully
    semantically replicating it using the permissive types.
    weswigham committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    529bda0 View commit details
    Browse the repository at this point in the history
  2. Fix break in RWC

    weswigham committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    8f14a2c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Configuration menu
    Copy the full SHA
    9291e74 View commit details
    Browse the repository at this point in the history
  2. Accept updated baselines

    weswigham committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    3410b4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83ec34f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7a9751e View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Revert "Remove sourcefile lookup to see perf impact"

    This reverts commit 7a9751e.
    weswigham committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    de8bdbe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcee526 View commit details
    Browse the repository at this point in the history
  3. Revert "Use fixed value for SNC to see perf floor of optimizing the f…

    …unction"
    
    This reverts commit fcee526.
    weswigham committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    454e854 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e71de9c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b632e6a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    08dfb4c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    638a3bf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5b77328 View commit details
    Browse the repository at this point in the history