wire/.glualint.json
Vurv 4338d17dac
Add gluafixer workflow (#2614)
* Add glualint workflow

* Manual workflow

Don't think I'll be able to do what I want with the automatic workflow.

* Tweak some settings

Syntax errors should be reported now that E2 extensions are preprocessed.

Removed shadowing.
Removed redundant if statements.

Both of those were mostly caused by the code automatically generated by the preprocessor, so they will be disabled until the preprocessor generates better code.

* Delete luacheck

* Smaller trim

Don't need the char edge case

* Test only linting changed files

* Use changed-files workflow

* Used wrong variable

* Run the preprocessor anyway

Shouldn't take too much time anyway and I can't be bothered with this workflow not working properly.
2023-06-20 22:03:36 -04:00

47 lines
1.6 KiB
JSON

{
"lint_maxScopeDepth": 9,
"lint_syntaxErrors": true,
"lint_syntaxInconsistencies": true,
"lint_deprecated": true,
"lint_trailingWhitespace": true,
"lint_whitespaceStyle": false,
"lint_beginnerMistakes": false,
"lint_emptyBlocks": true,
"lint_shadowing": false,
"lint_gotos": true,
"lint_goto_identifier": true,
"lint_doubleNegations": true,
"lint_redundantIfStatements": false,
"lint_redundantParentheses": true,
"lint_duplicateTableKeys": true,
"lint_profanity": true,
"lint_unusedVars": true,
"lint_unusedParameters": false,
"lint_unusedLoopVars": false,
"lint_inconsistentVariableStyle": false,
"lint_spaceBetweenParens": false,
"lint_spaceBetweenBrackets": false,
"lint_spaceBetweenBraces": false,
"lint_ignoreFiles": [],
"lint_spaceBeforeComma": false,
"lint_spaceAfterComma": false,
"lint_maxLineLength": 0,
"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_removeRedundantParens": true,
"prettyprint_minimizeParens": false,
"prettyprint_assumeOperatorAssociativity": true,
"prettyprint_rejectInvalidCode": false,
"prettyprint_indentation": " ",
"log_format": "auto"
}