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

Update dependency eslint-plugin-functional to v7 #1053

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 5, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-functional 4.4.1 -> 7.2.0 age adoption passing confidence

Release Notes

eslint-functional/eslint-plugin-functional (eslint-plugin-functional)

v7.2.0

Compare Source

Features
  • no-conditional-statements: add option ignoreCodePattern for ignoring if conditions (#​909) (d3cf5d8)

v7.1.0

Compare Source

Features

7.0.3 (2024-10-20)

Bug Fixes
  • ensure default options are applied (#​889) (5b57cd2)
  • functional-parameters: default options not being applied to option overrides (#​888) (06f2b80)

7.0.2 (2024-08-26)

Bug Fixes
  • no-expression-statements: ignore Promise<void> when ignoreVoid is set (#​866) (2e1a992)

7.0.1 (2024-08-07)

Bug Fixes
  • don't throw when typescript can't be resolved (afb05bd)

v7.0.3

Compare Source

Bug Fixes
  • ensure default options are applied (#​889) (5b57cd2)
  • functional-parameters: default options not being applied to option overrides (#​888) (06f2b80)

v7.0.2

Compare Source

Bug Fixes
  • no-expression-statements: ignore Promise<void> when ignoreVoid is set (#​866) (2e1a992)

v7.0.1

Compare Source

Bug Fixes
  • don't throw when typescript can't be resolved (afb05bd)

v7.0.0

Compare Source

Bug Fixes
  • checking of types from ts's lib are now more strict (#​862) (39beb25)
Features
  • eslint 9 migration (#​809) (de4e3ea)
  • functional-parameters: allow overriding options based on where the function type is declared (#​803) (21396d5), closes #​575
  • functional-parameters: change options in recommended and lite configs (#​811) (b3cb8d9)
  • immutable-data: allows for applying overrides to the options based on the root object's type (#​826) (c04e425)
  • no-classes: add options ignoreIdentifierPattern and ignoreCodePattern (#​863) (18aede1), closes #​851
  • no-throw-statements: replace option allowInAsyncFunctions with allowToRejectPromises (#​839) (c2c589c), closes #​838
  • prefer-immutable-types: allow overriding options based on where the type is declared (#​804) (86fa76a), closes #​800
  • prefer-immutable-types: change the options in recommeneded and lite configs (#​810) (defd713)
BREAKING CHANGES
  • The minimum supported Node version is now 18.18.0 (#​809)
  • The minimum supported TypeScript version is now 4.7.4 (#​809)
  • The minimum supported Eslint version is now 9.0.0 (#​809)
  • no-throw-statements: replace option allowInAsyncFunctions with allowToRejectPromises (#​839)

6.6.3 (2024-07-11)

Bug Fixes
  • immutable-data: ignoreAccessorPattern can now handle NonNullExpressions and ChainExpressions (#​849) (f6ff69b), closes #​840

6.6.2 (2024-07-11)

Bug Fixes
  • no-conditional-statements: allow continue and break statements with labels to be considered "returning" (#​846) (969b77b)
  • no-expression-statements: arrow functions cannot be self returning (#​847) (7217fa4)
  • no-promise-reject: new Promises and throw statements are now also checked (#​848) (fbe27ad)

6.6.1 (2024-07-06)

v6.6.3

Compare Source

Bug Fixes
  • immutable-data: ignoreAccessorPattern can now handle NonNullExpressions and ChainExpressions (#​849) (f6ff69b), closes #​840

v6.6.2

Compare Source

Bug Fixes
  • no-conditional-statements: allow continue and break statements with labels to be considered "returning" (#​846) (969b77b)
  • no-expression-statements: arrow functions cannot be self returning (#​847) (7217fa4)
  • no-promise-reject: new Promises and throw statements are now also checked (#​848) (fbe27ad)

v6.6.1

Compare Source

v6.6.0

Compare Source

Features
  • prefer-immutable-types: allow for changing suggestion messages (#​828) (822cc33)

6.5.2 (2024-06-19)

6.5.1 (2024-04-15)

Bug Fixes

v6.5.2

Compare Source

v6.5.1

Compare Source

Bug Fixes

v6.5.0

Compare Source

Features

6.4.1 (2024-04-14)

Bug Fixes
  • prefer-tacit: handling functions that don't map to directly to an eslint node (#​802) (423e249)

v6.4.1

Compare Source

Bug Fixes
  • prefer-tacit: handling functions that don't map to directly to an eslint node (#​802) (423e249)

v6.4.0

Compare Source

Bug Fixes
  • type-declaration-immutability: replace fixer with suggestions for recommended and lite configs (ae62abb)
Features
  • type-declaration-immutability: add support for in-editor suggestions (7a0a790), closes #​797

6.3.2 (2024-04-01)

Bug Fixes
  • readonly-type: empty object types should not trigger reports (fc6a394), closes #​796

6.3.1 (2024-04-01)

Bug Fixes
  • improve types for flat configs (68e6450)

v6.3.2

Compare Source

Bug Fixes
  • readonly-type: empty object types should not trigger reports (fc6a394), closes #​796

v6.3.1

Compare Source

Bug Fixes
  • improve types for flat configs (68e6450)

v6.3.0

Compare Source

Features
  • immutable-data: add option for ignoreNonConstDeclarations to treatParametersAsConst (#​794) (059591a), closes #​724

6.2.3 (2024-03-25)

Bug Fixes
  • no-mixed-types: handle more than just property signatures, check the type of type references (#​793) (55bd794), closes #​734

6.2.2 (2024-03-25)

Bug Fixes

6.2.1 (2024-03-24)

Bug Fixes

v6.2.3

Compare Source

Bug Fixes
  • no-mixed-types: handle more than just property signatures, check the type of type references (#​793) (55bd794), closes #​734

v6.2.2

Compare Source

Bug Fixes

v6.2.1

Compare Source

Bug Fixes

v6.2.0

Compare Source

Bug Fixes
  • type-declaration-immutability: some (hopefully all) maximum call stack size exceeded errors (61c561c), closes #​767
Features

v6.1.1

Compare Source

Bug Fixes
  • immutable-data: handle immediate mutation of arrays generated from strings (b003d1c), closes #​759

v6.1.0

Compare Source

Bug Fixes
  • immutable-data: treat Object.entries({}).sort() as immediate mutation (245886f), closes #​773
Features
  • new config to disable all rules that require type info (af30f15)

6.0.1 (2024-02-23)

Bug Fixes
  • typos in function names (05b2f9c)

v6.0.1

Compare Source

Bug Fixes
  • typos in function names (05b2f9c)

v6.0.0

Compare Source

Features
  • functional-parameters: add option to ignore getters and setters (9c89b9e)
  • immutable-data: add new option ignoreNonConstDeclarations (ecde24a), closes #​691
  • no-expression-statements: add option to ignore self returning functions (894fb91), closes #​611
  • prefer-immutable-types: use suggestions instead of a fixer by default (#​598) (3fb9028)
  • remove assumeTypes option (6be5862)
  • add sanity checks to type immutablity override settings (d3ce5b0)
  • replace ignorePattern option with ignoreIdentifierPattern and ignoreCodePattern (48d8eba), closes #​467
Build System
  • increase minimum supported TypeScript version to 4.3.5 (aefe6b2)
BREAKING CHANGES
  • replace ignorePattern option with ignoreIdentifierPattern and ignoreCodePattern
  • increase minimum supported TypeScript version to 4.3.5
  • remove assumeTypes option
  • prefer-immutable-types: The fixer config no longer inherits as many options as before; be sure to be
    explicit in your configs.

5.0.8 (2023-04-15)

Bug Fixes
  • prefer-immutable-types: support private identifier (#​634) (6349a92)

5.0.7 (2023-03-21)

5.0.6 (2023-03-11)

Bug Fixes
  • type-declaration-immutability: only allow strings to be given for identifiers (#​573) (e9f2f90)

5.0.5 (2023-03-07)

Bug Fixes
  • no-expression-statements: allow yield expressions (#​570) (81c26de)

5.0.4 (2023-02-06)

Bug Fixes
  • prefer-immutable-types: inheriting of config options (b528bc7)

5.0.3 (2023-02-06)

Bug Fixes

5.0.2 (2023-02-04)

Bug Fixes
  • prefer-immutable-types: handling of destructuring assignment (e390f54)

5.0.1 (2023-02-02)

Bug Fixes
  • improve calculation of immutability involving intersections (75cd708), closes #​525

v5.0.8

Compare Source

Bug Fixes
  • prefer-immutable-types: support private identifier (#​634) (6349a92)

v5.0.7

Compare Source

v5.0.6

Compare Source

Bug Fixes
  • type-declaration-immutability: only allow strings to be given for identifiers (#​573) (e9f2f90)

v5.0.5

Compare Source

Bug Fixes
  • no-expression-statements: allow yield expressions (#​570) (81c26de)

v5.0.4

Compare Source

Bug Fixes
  • prefer-immutable-types: inheriting of config options (b528bc7)

v5.0.3

Compare Source

Bug Fixes

v5.0.2

Compare Source

Bug Fixes
  • prefer-immutable-types: handling of destructuring assignment (e390f54)

v5.0.1

Compare Source

Bug Fixes
  • improve calculation of immutability involving intersections (75cd708), closes #​525

v5.0.0

Compare Source

Bug Fixes
  • drop dependency on tsutils (7a63d89)
  • fix meta data and improve doc generation (1f50625)
  • no-mixed-types: add support for TypeLiteral inside Readonly<> (1da622d), closes #​500
  • prefer-immutable-types: fix string[] to readonly string[] (a6a27ff)
  • prefer-immutable-types: improve the fixer (4bba113)
  • prefer-tacit: use suggestions instead of a fixer and improve how that suggestion works (8473743)
  • type-declaration-immutability: don't strip whitespace formatting from node text (8dcaa4d)
Build System
  • bump minimum supported version of node to 16.10 (23b45d2)
  • bump minimum supported version of TypeScript to 4.0.2 (405102b)
Features
  • add new strict ruleset and reduce strictness of the recommended ruleset (26424e0)
  • functional-parameters: add option to ignore lambda function expressions (044e54b)
  • no-classes: rename rule from no-class (76a8e2d)
  • no-conditional-statements: rename rule from no-conditional-statement (82b21fa)
  • no-expression-statements: rename rule from no-expression-statement (d0f9e98)
  • no-loop-statements: rename rule from no-loop-statement (683209d)
  • no-method-signature: rename to prefer-property-signatures & move it to stylistic ruleset (da2259f)
  • no-mixed-types: rename rule from no-mixed-type (392f9e8)
  • no-this-expression: remove no-this-expression from recommended and lite rulesets (bbd798b)
  • no-this-expressions: rename rule from no-this-expression (10c3bb6)
  • no-throw-statements: rename rule from no-throw-statement (4be92c8)
  • no-try-statements: rename rule from no-try-statement (e88828a)
  • prefer-immutable-types: add fixer for class properties (5e047c2)
  • prefer-immutable-types: add support for a fixer (195ee1a)
  • prefer-immutable-types: create rule (2552d55)
  • prefer-immutable-types: improve ignore options (8a35e52)
  • prefer-property-signatures: rename ignoreIfReadonly to ignoreIfReadonlyWrapped (86f354b)
  • prefer-readonly-type: deprecated this rule (82816a0)
  • readonly-type: create rule (64af937)
  • remove @typescript-eslint/prefer-readonly-parameter-types from external-recommended (72aa204)
  • rename many of the options (b47e983)
  • rename ruleset no-object-orientation to no-other-paradigms (7ec10c6)
  • split external-recommended rulesets into vanilla and typescript variants (1e7f77a)
  • type-declaration-immutability: add fixer support (2189397)
  • type-declaration-immutability: create rule (941e774)
  • update ruleset configurations (c195d8e)
BREAKING CHANGES
  • rename many of the options
  • no-try-statements: rename rule from no-try-statement
  • no-throw-statements: rename rule from no-throw-statement
  • no-this-expressions: rename rule from no-this-expression
  • no-mixed-types: rename rule from no-mixed-type
  • no-loop-statements: rename rule from no-loop-statement
  • no-expression-statements: rename rule from no-expression-statement
  • no-conditional-statements: rename rule from no-conditional-statement
  • no-classes: rename rule from no-class
  • no-this-expression: remove no-this-expression from recommended and lite rulesets
  • prefer-property-signatures: rename ignoreIfReadonly to ignoreIfReadonlyWrapped and set it to false
    by default
  • rename ruleset no-object-orientation to no-other-paradigms
  • add new strict ruleset and reduce strictness of the recommended ruleset
  • update ruleset configurations
  • split external-recommended rulesets into vanilla and typescript variants
  • remove @typescript-eslint/prefer-readonly-parameter-types from external-recommended
  • no-method-signature: rename to prefer-property-signatures & move it to stylistic ruleset
  • bump minimum supported version of TypeScript to 4.0.2
  • bump minimum supported version of node to 16.10

4.4.1 (2022-10-03)

Bug Fixes
  • prefer-tacit: handling of member expressions and be more strict with optional parameters (a277c2a), closes #​486

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Aug 5, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @devprotocol/elements@1.5.3
npm ERR! Found: eslint@8.57.1
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"8.57.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^9.0.0" from eslint-plugin-functional@7.2.0
npm ERR! node_modules/eslint-plugin-functional
npm ERR!   dev eslint-plugin-functional@"7.2.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-12-26T08_16_44_034Z-debug-0.log

@renovate renovate bot force-pushed the renovate/eslint-plugin-functional-7.x branch 8 times, most recently from 40db82e to 9adc5c6 Compare August 9, 2024 21:29
@renovate renovate bot force-pushed the renovate/eslint-plugin-functional-7.x branch 8 times, most recently from 3b81c0c to 5f1e492 Compare August 20, 2024 20:19
@renovate renovate bot force-pushed the renovate/eslint-plugin-functional-7.x branch 12 times, most recently from 71ccba0 to f585108 Compare September 2, 2024 03:16
@renovate renovate bot force-pushed the renovate/eslint-plugin-functional-7.x branch from f585108 to b9ddd2c Compare September 2, 2024 14:15
@renovate renovate bot force-pushed the renovate/eslint-plugin-functional-7.x branch 11 times, most recently from 3454707 to cc2cc8f Compare December 3, 2024 05:14
@renovate renovate bot force-pushed the renovate/eslint-plugin-functional-7.x branch 4 times, most recently from 1d862fc to 50523e6 Compare December 5, 2024 21:39
@renovate renovate bot force-pushed the renovate/eslint-plugin-functional-7.x branch 9 times, most recently from cf975a0 to 46351ac Compare December 17, 2024 23:45
@renovate renovate bot force-pushed the renovate/eslint-plugin-functional-7.x branch 4 times, most recently from b05a543 to bab1f5e Compare December 25, 2024 22:09
@renovate renovate bot force-pushed the renovate/eslint-plugin-functional-7.x branch from bab1f5e to ef58ad4 Compare December 26, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants