Skip to content

Latest commit

 

History

History
268 lines (191 loc) · 11.6 KB

CHANGELOG.md

File metadata and controls

268 lines (191 loc) · 11.6 KB

2.3.0 (2024-08-24)

  • Redefined TypeScript typings on the basis of @types/eslint 9.
  • Added main field to package.json file to support legacy tools.

2.2.0 (2024-07-08)

  • Updated TypeScript type declarations for ESLint 9 compatibility.
  • Added support for option flags, new in ESLint 9.6.
  • Improved readme file.

2.1.0 (2024-06-09)

  • Fixed and updated warning messages for ignored files.
  • Updated code examples and documentation.

2.0.0 (2024-04-06)

First release of gulp-eslint-new 2 supporting both ESLint 8 and 9.

  • Added support for ESLint 9.
  • Legacy options are no longer converted into the new format.
  • TypeScript < 4.6 is no longer supported.
  • Reorganized code examples to make them work with both ESLint 8 and 9.

1.9.1 (2024-02-11)

  • Fixed the type of the option quiet in the readme file.
  • Clarified that the option reportUnusedDisableDirectives is unsupported with flat config.
  • Updated code examples.

1.9.0 (2023-12-16)

  • The top level option reportUnusedDisableDirectives is no longer supported with flat config, as it was removed in ESLint 8.56.
  • Updated code examples.

1.8.4 (2023-10-02)

  • Fixed default setting and normalization of the option cwd with flat config.
  • Clarified that the option warnIgnored defaults to false.

1.8.3 (2023-07-30)

  • Using export = syntax in TypeScript type declaration file to enable type hinting in editors.

1.8.2 (2023-07-05)

  • Consolidated errors thrown when invalind options are passed to gulpESLintNew:
    • Updated error messages to clarify that undefined is a valid value for the options quiet, warnIgnored and warnFileIgnored.
    • Removed property code from the error thrown when an invalid value is specified for the option configType.
  • Improved TypeScript type declarations.

1.8.1 (2023-06-18)

  • Added validation for the legacy option warnFileIgnored.
  • gulp-eslint-new will now normalize cwd directories like ESLint 8.43.
  • overrideConfig validation is deferred to ESLint.

1.8.0 (2023-05-20)

  • Added validation for the options quiet and warnIgnored.
  • The miniumum supported TypeScript version is now 4.2.
  • Fixed and updated ignored file messages.
  • Improved TypeScript type declarations.
  • Improved readme file.

1.7.2 (2023-02-11)

  • Improved TypeScript type declarations for the flat configuration system.
  • Improved readme file.

1.7.1 (2022-12-02)

  • Fixed "premature close" error when piping into a failAfterError stream from a fix stream.
  • Removed useless text domainEmitter [object Object] from gulp error output.
  • Fixed a code example.

1.7.0 (2022-11-01)

  • Added support for the flat configuration system.
  • The format method of a LoadedFormatter object is now passed a second argument, as in ESLint 8.25 or later.
  • If option cwd is not specified, then cwd will be set to the current directory in the ESLint constructor options. This should avoid unexpected inconsistencies between ESLint and gulp-eslint-new in determining the current directory.
  • Updated TypeScript type declarations.
  • Updated examples and documentation.

1.6.0 (2022-09-12)

  • Improved performance by lazy loading all dependencies.
  • Allowing older versions of package @types/node (for Node.js < 18).
  • Printing a warning when legacy options are migrated.
  • Printing a warning when the function fix is used without the option fix.
  • Updated documentation.

1.5.1 (2022-06-14)

  • If ESLint ≥ 8.8 is used, ESLint results produced by ignored files now include the property suppressedMessages.

1.5.0 (2022-06-07)

  • Using the modified stylish formatter by default. If any fixable problems are found, the modified stylish formatter will output a link with instructions about the autofix function, instead of proposing the CLI option --fix.
  • Formalized support for any version of ESLint 8.
  • Transferred project to Origin₁.
  • Improved readme file.

1.4.4 (2022-05-19)

  • Fixed a regression in version 1.4.3 that caused a TypeError when gulpESLintNew was called with a string argument.
  • Minimal change in the readme file.

1.4.3 (2022-05-18)

  • When a dependency throws an error during an asynchronous stream operation, the emitted PluginError now includes the stack trace when printed.
  • Improved TypeScript type declarations.
  • Clarified code examples in the readme file.

1.4.2 (2022-02-27)

  • Added type definition for function fix.
  • Updated TSDoc.

1.4.1 (2022-02-26)

  • Fixed type inference for the arguments of callbacks provided to the functions result and results.

1.4.0 (2022-02-13)

  • Added support for legacy option extends.
  • Simplified and completed documentation of legacy options.
  • formatEach now uses one formatter per instance of ESLint.
  • Improved TypeScript type declarations.
  • Normalized markdown of readme file and changelog.

1.3.0 (2022-02-05)

  • Added support for new argument types to the functions format and formatEach:
    • formatter can now be a formatter object as resolved by the ESLint method loadFormatter.
    • writer can now be an async function.
  • Improved TypeScript type declarations.
  • Clarified the documentation.

1.2.0 (2022-01-29)

  • New function fix.
  • All functions exported by gulp-eslint-new are now available as named exports when gulp-eslint-new is imported with the import keyword (statically or dynamically).
  • When the option quiet is used, ESLint results now include the properties usedDeprecatedRules and (for ESLint ≥ 8.8) suppressedMessages.
  • The functions result and results now throw a TypeError when called with an invalid argument.
  • Updated examples and documentation.

1.1.2 (2022-01-15)

  • Formatting streams with ignored files no longer throws an exception when the option warnIgnored is used.
  • Added migration instructions to the readme file.
  • Updated examples.

1.1.1 (2022-01-08)

  • Changed installation instructions so that gulp-eslint-new gets added to the devDependencies.
  • Fixed a typo in an error message.

1.1.0 (2021-12-06)

1.0.0 (2021-11-14)

  • Using the new ESLint formatter API.
  • Added TypeScript type declarations.
  • result and results streams now support async functions as handlers.
  • Updated examples and documentation.
  • Added package.json to package exports.
  • Fix: format and results streams now stay open until the end of asynchronous operations in all supported versions of Node.js.

0.6.0 (2021-11-06)

  • Using ESLint 8.2.
  • Results lists have now the same "Count" properties of a single result: fixableErrorCount, fixableWarningCount and fatalErrorCount, in addition to the previously featured errorCount and warningCount.

0.5.1 (2021-11-04)

  • Unuseful ESLint options are now rejected: errorOnUnmatchedPattern, extensions, globInputPaths and cache-related ones.
  • Errors and warnings generated by gulp-eslint-new are now more similar to those generated by ESLint 8.
  • Updated examples and documentation.

0.5.0 (2021-10-27)

  • Using ESLint 8.1.
  • Updated documentation.

0.4.0 (2021-10-10)

  • Using ESLint 8.
  • Changed plugin name to gulp-eslint-new.

0.3.2 (2021-09-11)

  • Updated dependencies in prospect of ESLint 8.

0.3.1 (2021-05-03)

  • Updated readme file.

0.3.0 (2020-07-03)

  • Fixed plugins option handling to accept both an array (old API) or a map-like object (new API).

0.2.1 (2020-06-30)

  • Minor optimizations.
  • Showing npm badge in the readme file.

0.2.0 (2020-06-27)

0.1.0 (2020-06-22)

Initial release derived from gulp-eslint.

  • Using ESLint 7.
  • Disambiguated plugin name to gulp-eslint7.

For the changelog of gulp-eslint until forking, see here.