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
``--not-globals [<global>] ...`` Remove custom and standard globals.
89
+
``--globals [<name>] ...`` Add custom global variables or fields on top of standard ones. See :ref:`fields`
90
+
``--read-globals [<name>] ...`` Add read-only global variables or fields.
91
+
``--new-globals [<name>] ...`` Set custom global variables or fields. Removes custom globals added previously.
92
+
``--new-read-globals [<name>] ...`` Set read-only global variables or fields. Removes read-only globals added previously.
93
+
``--not-globals [<name>] ...`` Remove custom and standard global variables or fields.
94
94
``-c | --compat`` Equivalent to ``--std max``.
95
95
``-d | --allow-defined`` Allow defining globals implicitly by setting them.
96
96
@@ -151,6 +151,8 @@ Pattern Matching warnings
151
151
152
152
Unless already anchored, patterns matching variable names are anchored at both sides and patterns matching warning codes are anchored at their beginnings. This allows one to filter warnings by category (e.g. ``--only 1`` focuses ``luacheck`` on global-related warnings).
0 commit comments