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

feat: allow _destroy as a property #108

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Conversation

SimeonC
Copy link
Collaborator

@SimeonC SimeonC commented Apr 1, 2024

The _destroy: true property is used as a special key in monolith/ruby-on-rails APIs to indicate that the sub-record should be destroyed so we should allow this specific exception.

We have a ton of "eslint-disable" comments related to this in our repos.

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @tablecheck/eslint-config@8.5.0-canary.108.8504387473.0
# or 
yarn add @tablecheck/eslint-config@8.5.0-canary.108.8504387473.0

@SimeonC SimeonC added the minor Increment the minor version when merged label Apr 1, 2024
Copy link

github-actions bot commented Apr 1, 2024

Unit Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 791ee3c.

♻️ This comment has been updated with latest results.

The `_destroy: true` property is used as a special key in monolith/ruby-on-rails APIs to indicate that the sub-record should be destroyed so we should allow this specific exception.
@SimeonC SimeonC enabled auto-merge (rebase) April 1, 2024 05:43
@SimeonC SimeonC merged commit 55b389a into main Apr 1, 2024
5 checks passed
@SimeonC SimeonC deleted the allow-_destroy-properties branch April 1, 2024 05:51
@tablecheck-public-automation
Copy link
Collaborator

🚀 PR was released in @tablecheck/eslint-config@8.5.0 🚀

@tablecheck-public-automation tablecheck-public-automation added the released This issue/pull request has been released. label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants