Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

feat(rome_js_analyze): noParameterAssign #4264

Merged
merged 1 commit into from
Mar 7, 2023
Merged

feat(rome_js_analyze): noParameterAssign #4264

merged 1 commit into from
Mar 7, 2023

Conversation

Conaclos
Copy link
Contributor

@Conaclos Conaclos commented Mar 6, 2023

Summary

This PR implements no-param-reassign.

In contrast to the ESLint rule, this rule cannot be configured to report assignments to a property of a parameter.

I think this kind of check should be implemented in other rule (if we need to report this kind of mutations).

Test Plan

ESLint tests included.

Documentation

Included.

  • The PR requires documentation
  • I will create a new PR to update the documentation

@netlify
Copy link

netlify bot commented Mar 6, 2023

Deploy Preview for docs-rometools ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit e6a2bbb
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/640609a78bc64c00082bf5db
😎 Deploy Preview https://deploy-preview-4264--docs-rometools.netlify.app/playground
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Conaclos Conaclos changed the title feat(rome_js_analyze): noParameterAssign feat(rome_js_analyze): noParameterAssign Mar 6, 2023
@Conaclos Conaclos merged commit dd3a94d into rome:main Mar 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants