|
865 | 865 | "additionalProperties": false |
866 | 866 | }, |
867 | 867 | "PlPgSqlCheckConfiguration": { |
868 | | - "description": "The configuration for type checking.", |
| 868 | + "description": "The configuration for plpgsql_check.", |
869 | 869 | "type": "object", |
870 | 870 | "properties": { |
| 871 | + "allWarnings": { |
| 872 | + "description": "Enable all warnings, overriding individual warning parameters. `false` by default.", |
| 873 | + "type": [ |
| 874 | + "boolean", |
| 875 | + "null" |
| 876 | + ] |
| 877 | + }, |
| 878 | + "compatibilityWarnings": { |
| 879 | + "description": "Detect deprecated patterns like explicit cursor name assignments in refcursor variables. `false` by default.", |
| 880 | + "type": [ |
| 881 | + "boolean", |
| 882 | + "null" |
| 883 | + ] |
| 884 | + }, |
| 885 | + "constantTracing": { |
| 886 | + "description": "Permit variables holding constant values to be used like constants. `true` by default.", |
| 887 | + "type": [ |
| 888 | + "boolean", |
| 889 | + "null" |
| 890 | + ] |
| 891 | + }, |
871 | 892 | "enabled": { |
872 | 893 | "description": "if `false`, it disables the feature and pglpgsql_check won't be executed. `true` by default", |
873 | 894 | "type": [ |
874 | 895 | "boolean", |
875 | 896 | "null" |
876 | 897 | ] |
| 898 | + }, |
| 899 | + "extraWarnings": { |
| 900 | + "description": "Show warnings regarding missing RETURN statements, shadowed variables, dead code, and unused parameters. `true` by default.", |
| 901 | + "type": [ |
| 902 | + "boolean", |
| 903 | + "null" |
| 904 | + ] |
| 905 | + }, |
| 906 | + "fatalErrors": { |
| 907 | + "description": "Stop processing at the first error. `true` by default.", |
| 908 | + "type": [ |
| 909 | + "boolean", |
| 910 | + "null" |
| 911 | + ] |
| 912 | + }, |
| 913 | + "incommentOptionsUsageWarning": { |
| 914 | + "description": "Raise warnings when in-comment options are utilized. `false` by default.", |
| 915 | + "type": [ |
| 916 | + "boolean", |
| 917 | + "null" |
| 918 | + ] |
| 919 | + }, |
| 920 | + "otherWarnings": { |
| 921 | + "description": "Show warnings about attribute count mismatches, variable overlaps, unused variables, and unwanted casting. `true` by default.", |
| 922 | + "type": [ |
| 923 | + "boolean", |
| 924 | + "null" |
| 925 | + ] |
| 926 | + }, |
| 927 | + "performanceWarnings": { |
| 928 | + "description": "Flag performance issues like declared types with modifiers and implicit casts that may prevent index usage. `false` by default.", |
| 929 | + "type": [ |
| 930 | + "boolean", |
| 931 | + "null" |
| 932 | + ] |
| 933 | + }, |
| 934 | + "securityWarnings": { |
| 935 | + "description": "Identify potential SQL injection vulnerabilities in dynamic statements. `false` by default.", |
| 936 | + "type": [ |
| 937 | + "boolean", |
| 938 | + "null" |
| 939 | + ] |
| 940 | + }, |
| 941 | + "useIncommentOptions": { |
| 942 | + "description": "Activate in-comment options embedded in function source code. `true` by default.", |
| 943 | + "type": [ |
| 944 | + "boolean", |
| 945 | + "null" |
| 946 | + ] |
| 947 | + }, |
| 948 | + "withoutWarnings": { |
| 949 | + "description": "Disable all warnings, overriding individual warning parameters. `false` by default.", |
| 950 | + "type": [ |
| 951 | + "boolean", |
| 952 | + "null" |
| 953 | + ] |
877 | 954 | } |
878 | 955 | }, |
879 | 956 | "additionalProperties": false |
|
0 commit comments