Content-Length: 410635 | pFad | https://github.com/eslint/eslint/compare/v9.8.0...v9.9.0

89 Comparing v9.8.0...v9.9.0 · eslint/eslint · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: eslint/eslint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.8.0
Choose a base ref
...
head repository: eslint/eslint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.9.0
Choose a head ref
  • 15 commits
  • 63 files changed
  • 12 contributors

Commits on Jul 27, 2024

  1. docs: Update README

    GitHub Actions Bot committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    f9ac978 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    3c32a9e View commit details
    Browse the repository at this point in the history
  2. docs: Fix typo (#18735)

    docs: Fix misspelled word
    zalhabash authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    38a0661 View commit details
    Browse the repository at this point in the history
  3. docs: add version support page to the dropdown (#18730)

    * docs: add version support page to the dropdown
    
    * update url
    
    * rename version opt
    
    * Update versions-list.html
    amareshsm authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    fec2951 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    48117b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. feat: add suggestion to require-await to remove async keyword (#1…

    …8716)
    
    * feat: add suggestion to require-await to remove async keyword
    
    Fixes #18713
    
    * use tokens to find async keyword
    
    * check value of parent when finding async keyword
    
    * only remove async keyword plus trailing space
    
    * remove all whitespace after async token
    
    * do not offer suggestion if ASI is currently in use before async keyword
    
    * replace async keyword with semicolon when ASI is used.
    
    * Use isStartOfExpressionStatement to determine if semicolon is needed.
    
    * Updated documentation for needsPrecedingSemicolon.
    
    * always create suggestion
    
    * do not add semicolon between methods.
    reduckted authored Aug 4, 2024
    Configuration menu
    Copy the full SHA
    3a4eaf9 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

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

Commits on Aug 7, 2024

  1. docs: how to author plugins with configs that extend other configs (#…

    …18753)
    
    * docs: how to author plugins with configs that extend other configs
    
    It's not immediately clear from the current documentation how authors
    should migrate configs that extend other configs.
    
    According to the [full documentation][1], an array is actually
    expected, which isn't clear in the migration documentation.
    
    This change updates the documentation to include an array example, and
    links back to the full documentation.
    
    [1]: https://eslint.org/docs/latest/extend/plugins#configs-in-plugins
    
    * Review markups
    
     - fix quote style
     - remove stale comment
     - clarify copy on spreading
    
    * Copy tweak
    alecgibson authored Aug 7, 2024
    Configuration menu
    Copy the full SHA
    9fe068c View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. chore: update dependency @eslint/json to ^0.3.0 (#18760)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    aac191e View commit details
    Browse the repository at this point in the history
  2. feat: Add support for TS config files (#18134)

    * Initial working implementation of TS config files
    
    * Simplify implementation
    
    * Use typescript's `transpile()` instead of `tsx` to avoid side effects
    
    * Remove unnecessary nullish coalescing
    
    * Use `jiti` instead of TypeScript
    
    * Add missing section related to `importedConfigFileModificationTime`
    
    * Enable `esmResolve` for `jiti`
    
    * Make `jiti` an optional peer dependency
    
    * Throw an error if `jiti` is not installed
    
    * Add `jiti` to `ignoreDependencies` in `knip.jsonc`
    
    * Fix broken unit tests caused by stubbed `process.version`
    
    Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
    
    * Prioritize JavaScript config files over TypeScript config files
    
    * Add some basic tests for loading TS config files
    
    * Fix minor type issues in JSDocs
    
    * 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.
    
    * Stringify `mtime`
    
    * Check if ESLint is running in Deno or Bun
    
    Note: `isRunningInBun` and `isRunningInDeno` are functions to make treeshaking for consuming libraries easier.
    
    * 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.
    
    * Add tests for `lintFiles` with TS config files
    
    * Revert "Try a different approach for loading TS config files"
    
    This reverts commit 209c791.
    
    * Convert `Severity` type to a `const enum`
    
    * Add tests for TS config files containing `const enum`s
    
    * Add `ESLintNameSpace` local `namespace`
    
    * Add tests for TS config files containing importing a local `namespace`
    
    * Fix minor type issues in JSDocs
    
    * Add tests for passing TS config files to `overrideConfigFile`
    
    * Bump `jiti` to version 1.21.1
    
    * Bump `jiti` to version 1.21.6
    
    * Add basic docs for loading TypeScript configuration files
    
    * Fix lint issues
    
    * Bump `jiti` to version 2.0.0-beta.1
    
    * Remove `esmResolve` as it has been removed in v2 of `jiti`
    
    * Fix types for `createCustomTeardown`
    
    * Remove `interopDefault: true`
    
    - `interopDefault: true` does not work well with `jiti.import()`.
    
    * Fix type of `eslint` in test file
    
    * Fix lint issues in test file
    
    * Add more tests
    
    - Added tests for top-level `await`, interoperability, and mixed ESM/CJS syntax.
    
    * Defer to v10 in docs
    
    * Bump `jiti` to version 2.0.0-beta.3
    
    * Fix import of `jiti`
    
    * Fix `jiti` link in docs
    
    * Fix `jiti` link in docs
    
    * Add `unstable_ts_config` to `activeFlags`
    
    * Fix issues in `configuration-files.md`
    
    * Fix `LintResults` in `eslint.js`
    
    * Change `LintResults` to `LintResult` in `eslint.js`
    
    * Remove warning regarding top-level `await`
    
    * Explicitly check for `.ts`, `.mts` or `.cts` extensions
    
    * Check if `"unstable_ts_config"` flag is enabled
    
    * Fix import and export assignment tests
    
    * Fix remaining issues in `configuration-files.md`
    
    * Fix test title
    
    * De-duplicate test
    
    * Revert "Fix broken unit tests caused by stubbed `process.version`"
    
    This reverts commit f339591.
    
    * Remove unnecessary checks for `"unstable_ts_config"` flag
    
    * Fix type of `findConfigFile`
    
    * Make sure tests fail when the correct config file is not loaded
    
    * Add a test for `"unstable_ts_config"`
    
    - Added a test to check that the TS config file is not loaded when the `"unstable_ts_config"` flag is not set.
    
    * Remove fallback to `default` when loading `jiti.createJiti`
    
    * Update `configuration-files.md`
    
    * Update description of `"unstable_ts_config"` flag
    
    * Add comment explaining purpose of `helper.ts`
    
    * Disable `moduleCache`
    
    * Add test to check reloading logic for TS config files
    
    * Add comment for disabling `moduleCache`
    
    * Rework `hasUnstableTSConfigFlag` logic
    
    * Fix unit tests
    
    * Fallback to `default` when loading `jiti`
    
    * Rework logic for loading TS config files
    
    - Rework the logic to ensure `overrideConfigFile` does not load TS config files unless the `unstable_ts_config` flag is set.
    
    * Remove default value for `hasUnstableTSConfigFlag` parameter
    
    * Remove type assertion
    
    * Remove unnecessary `process?.versions?.bun` check
    
    * Remove unnecessary `LintResults` type
    
    * Fix parameter type of `eslintWithPlugins`
    
    - We avoid potential repetition by using the new [`@import JSDoc tags`](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#the-jsdoc-import-tag) released in TypeScript 5.5.
    
    * Add tests for loading TypeScript config files that export a promise
    
    * Update `jiti` peer dependency to allow any version
    
    * Warn about using an outdated version of `jiti`
    
    * Fix minor issue in `configuration-files.md`
    
    * Add section about `--flag` in `configuration-files.md`
    
    * Reapply "Fix broken unit tests caused by stubbed `process.version`"
    
    This reverts commit f369145.
    
    * Switch to `jiti` v1 until `jiti` v2 becomes stable
    
    * Add commented-out unit tests for `jiti` v2
    
    * Throw a `TypeError` if `jiti.import` is not a function
    
    * Change `TypeError` to `Error`
    
    ---------
    
    Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
    aryaemami59 and antfu authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    41d0206 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. chore: update dependency @eslint/core to ^0.3.0 (#18724)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    fea8563 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59dba1b View commit details
    Browse the repository at this point in the history
  3. chore: upgrade to @eslint/js@9.9.0 (#18765)

    chore: upgrade to @eslint/js@9.9.0
    fasttime authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    461b2c3 View commit details
    Browse the repository at this point in the history
  4. Build: changelog update for 9.9.0

    Jenkins committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    2e5ba77 View commit details
    Browse the repository at this point in the history
  5. 9.9.0

    Jenkins committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    0dd3863 View commit details
    Browse the repository at this point in the history
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/eslint/eslint/compare/v9.8.0...v9.9.0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy