chore: upgrade eslint from v8 to v9#156
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #156 +/- ##
===========================================
- Coverage 96.31% 85.09% -11.22%
===========================================
Files 3 3
Lines 190 208 +18
Branches 59 69 +10
===========================================
- Hits 183 177 -6
- Misses 6 30 +24
Partials 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
src/index.js
Outdated
| * @property {string} name - The name of the minimizer | ||
| * @property {string} input - The input content | ||
| * @property {{ implementation: MinimizerImplementation<T>, options: MinimizerOptions<T> }} minimizer - The minimizer configuration |
There was a problem hiding this comment.
| * @property {string} name - The name of the minimizer | |
| * @property {string} input - The input content | |
| * @property {{ implementation: MinimizerImplementation<T>, options: MinimizerOptions<T> }} minimizer - The minimizer configuration | |
| * @property {string} name The name of the minimizer | |
| * @property {string} input The input content | |
| * @property {{ implementation: MinimizerImplementation<T>, options: MinimizerOptions<T> }} minimizer The minimizer configuration |
src/index.js
Outdated
| * @property {Array<{ code: string }>} outputs - Array of output objects | ||
| * @property {Array<Warning | WarningObject | string>} warnings - Array of warnings | ||
| * @property {Array<Error | ErrorObject | string>} errors - Array of errors |
There was a problem hiding this comment.
| * @property {Array<{ code: string }>} outputs - Array of output objects | |
| * @property {Array<Warning | WarningObject | string>} warnings - Array of warnings | |
| * @property {Array<Error | ErrorObject | string>} errors - Array of errors | |
| * @property {Array<{ code: string }>} outputs Array of output objects | |
| * @property {Array<Warning | WarningObject | string>} warnings Array of warnings | |
| * @property {Array<Error | ErrorObject | string>} errors Array of errors |
src/index.js
Outdated
| * @property {Rule=} test - Test rule for files to process | ||
| * @property {Rule=} include - Include rule for files to process | ||
| * @property {Rule=} exclude - Exclude rule for files to process | ||
| * @property {Parallel=} parallel - Parallel processing configuration |
There was a problem hiding this comment.
| * @property {Rule=} test - Test rule for files to process | |
| * @property {Rule=} include - Include rule for files to process | |
| * @property {Rule=} exclude - Exclude rule for files to process | |
| * @property {Parallel=} parallel - Parallel processing configuration | |
| * @property {Rule=} test Test rule for files to process | |
| * @property {Rule=} include Include rule for files to process | |
| * @property {Rule=} exclude Exclude rule for files to process | |
| * @property {Parallel=} parallel Parallel processing configuration |
src/utils.js
Outdated
| errors: result.errors | ||
| ? result.errors.map((diagnostic) => { | ||
| const error = new Error(diagnostic.message); | ||
| // eslint-disable-next-line jsdoc/no-restricted-syntax |
There was a problem hiding this comment.
Avoid to use // eslint-disable-next-line jsdoc/no-restricted-syntax when any expected, just add
// eslint-disable-next-line jsdoc/no-restricted-syntax
/** @typedef {any} EXPECTED_ANY */And then use EXPECTED_ANY in place where you should have any
|
@ersachin3112 Can you look why the coverage is decreased? |
not sure, i have not added any additional code |
|
@ersachin3112 We have these changes - #156 (comment), please take a look why it was changed, maybe we need more tests or uncomment something, or we now use |
This PR contains a:
Motivation / Use-Case
upgrade eslint from v8 to v9
Breaking Changes
No
Additional Info
No