You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/linter.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ Place a rule's code in the project's `linter/` directory. SQLMesh will load all
100
100
101
101
If the rule is specified in the project's [configuration file](#applying-linting-rules), SQLMesh will run it when:
102
102
- A plan is created during `sqlmesh plan`
103
-
- The command `sqlmesh lint` is ran
103
+
- The command `sqlmesh lint` is ran. Add `--fix` to automatically apply available fixes and fail if errors remain.
104
104
105
105
SQLMesh will error if a model violates the rule, informing you which model(s) violated the rule. In this example, `full_model.sql` violated the `NoMissingOwner` rule, essentially halting execution:
0 commit comments