Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Possible to disable a rule for a specific statement?#299

Unanswered
mplanchard asked this question inQ&A
Discussion options

The default ban on dropping columns is great, but it would be nice in cases where we know the drop is safe to be able to indicate that that particular drop should be ignored. Is this possible?

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Right now, we can only ignore migration files or change a rule to be a warning / error / off.

Disabling on a per-line basis is a great idea though and a default feature of any linter. Will add an issue for it. 👍🏼

You must be logged in to vote
1 reply
@mplanchard
Comment options

Awesome, thank you! It would be great for the "no dropping columns" rule in particular, since we might start out by nulling it out, then update all the clients, then drop the column later when we know it's safe.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@mplanchard@psteinroe

[8]ページ先頭

©2009-2025 Movatter.jp