From 0adf75a12bdb5fe67417f15912223d20f62a85ab Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" <48434875+JonnyBro@users.noreply.github.com> Date: Thu, 13 Feb 2025 13:32:27 +0500 Subject: [PATCH] Update .glualint.json New linting rules --- .glualint.json | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/.glualint.json b/.glualint.json index ab4da2c..a9112ca 100644 --- a/.glualint.json +++ b/.glualint.json @@ -6,30 +6,41 @@ "lint_trailingWhitespace": true, "lint_whitespaceStyle": true, "lint_beginnerMistakes": true, - "lint_emptyBlocks": false, + "lint_emptyBlocks": true, "lint_shadowing": false, "lint_gotos": true, + "lint_goto_identifier": true, "lint_doubleNegations": true, - "lint_redundantIfStatements": false, + "lint_redundantIfStatements": true, "lint_redundantParentheses": true, "lint_duplicateTableKeys": true, - "lint_profanity": false, + "lint_profanity": true, "lint_unusedVars": true, "lint_unusedParameters": false, - "lint_unusedLoopVars": false, + "lint_unusedLoopVars": true, + "lint_ignoreFiles": ["C:\\Temp\\glua-enchanced\\**.lua"], "lint_inconsistentVariableStyle": false, - "lint_ignoreFiles": [], + "lint_spaceBetweenParens": true, + "lint_spaceBetweenBrackets": true, + "lint_spaceBetweenBraces": true, + "lint_spaceBeforeComma": false, + "lint_spaceAfterComma": true, + "lint_maxLineLength": 0, - "prettyprint_spaceAfterParens": false, - "prettyprint_spaceAfterBrackets": false, - "prettyprint_spaceAfterBraces": false, - "prettyprint_spaceEmptyBrackets": true, + "prettyprint_spaceBetweenParens": false, + "prettyprint_spaceBetweenBrackets": false, + "prettyprint_spaceBetweenBraces": false, + "prettyprint_spaceEmptyParens": false, + "prettyprint_spaceEmptyBraces": false, "prettyprint_spaceAfterLabel": false, "prettyprint_spaceBeforeComma": false, "prettyprint_spaceAfterComma": true, "prettyprint_semicolons": false, "prettyprint_cStyle": false, - "prettyprint_rejectInvalidCode": false, + "prettyprint_removeRedundantParens": true, + "prettyprint_minimizeParens": true, + "prettyprint_assumeOperatorAssociativity": true, "prettyprint_indentation": "\t", + "log_format": "auto" -} \ No newline at end of file +}