2.4.0 (2024-10-28)
- TypeScript < 4.8 is no longer supported.
- Improved TypeScript type declarations.
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 tofalse
.
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 optionsquiet
,warnIgnored
andwarnFileIgnored
. - Removed property
code
from the error thrown when an invalid value is specified for the optionconfigType
.
- Updated error messages to clarify that
- 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
andwarnIgnored
. - 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 afix
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 aLoadedFormatter
object is now passed a second argument, as in ESLint 8.25 or later. - If option
cwd
is not specified, thencwd
will be set to the current directory in theESLint
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 optionfix
. - 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
whengulpESLintNew
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
andresults
.
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
andformatEach
:formatter
can now be a formatter object as resolved by the ESLint methodloadFormatter
.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 propertiesusedDeprecatedRules
and (for ESLint ≥ 8.8)suppressedMessages
. - The functions
result
andresults
now throw aTypeError
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)
- Added support for new formatter features in ESLint 8.4:
- Updated TypeScript type declarations.
- Updated a link in the readme file.
1.0.0 (2021-11-14)
- Using the new ESLint formatter API.
- Added TypeScript type declarations.
result
andresults
streams now support async functions as handlers.- Updated examples and documentation.
- Added package.json to package exports.
- Fix:
format
andresults
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
andfatalErrorCount
, in addition to the previously featurederrorCount
andwarningCount
.
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)
- Accepting all appliable
ESLint
constructor andCLIEngine
constructor options. - Updated readme file.
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.