1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-26 00:35:11 +00:00

Eric's modifications to checkstyle.json

This commit is contained in:
EliteMasterEric 2024-03-04 22:42:02 -05:00
parent 08fb8be419
commit 07524c8ee8

View file

@ -64,6 +64,10 @@
}, },
"type": "CodeSimilarity" "type": "CodeSimilarity"
}, },
{
"props": {},
"type": "CommentedOutCode"
},
{ {
"props": { "props": {
"policy": "aligned", "policy": "aligned",
@ -76,7 +80,7 @@
"props": { "props": {
"ignoreExtern": true, "ignoreExtern": true,
"format": "^[A-Z][A-Z0-9]*(_[A-Z0-9_]+)*$", "format": "^[A-Z][A-Z0-9]*(_[A-Z0-9_]+)*$",
"tokens": ["INLINE"] "tokens": ["INLINE", "NOTINLINE"]
}, },
"type": "ConstantName" "type": "ConstantName"
}, },
@ -338,6 +342,13 @@
"props": {}, "props": {},
"type": "MultipleVariableDeclarations" "type": "MultipleVariableDeclarations"
}, },
{
"props": {
"allowSingleLineStatement": true,
"tokens": ["FOR", "IF", "ELSE_IF", "WHILE", "DO_WHILE"]
},
"type": "NeedBraces"
},
{ {
"props": { "props": {
"max": 3, "max": 3,
@ -375,7 +386,6 @@
"oldFunctionTypePolicy": "none", "oldFunctionTypePolicy": "none",
"unaryOpPolicy": "none", "unaryOpPolicy": "none",
"intervalOpPolicy": "none", "intervalOpPolicy": "none",
"newFunctionTypePolicy": "around", "newFunctionTypePolicy": "around",
"ternaryOpPolicy": "around", "ternaryOpPolicy": "around",
"boolOpPolicy": "around", "boolOpPolicy": "around",
@ -537,6 +547,13 @@
}, },
"type": "Spacing" "type": "Spacing"
}, },
{
"props": {
"policy": "onlySingle",
"allowException": true
},
"type": "StringLiteral"
},
{ {
"props": { "props": {
"format": "^\\s*(TODO|FIXME|HACK|XXX|BUG)" "format": "^\\s*(TODO|FIXME|HACK|XXX|BUG)"
@ -559,12 +576,6 @@
"props": {}, "props": {},
"type": "TrailingWhitespace" "type": "TrailingWhitespace"
}, },
{
"props": {
"ignoreEnumAbstractValues": true
},
"type": "Type"
},
{ {
"props": { "props": {
"tokens": ["CLASS_DEF", "ENUM_DEF", "INTERFACE_DEF", "TYPEDEF_DEF"] "tokens": ["CLASS_DEF", "ENUM_DEF", "INTERFACE_DEF", "TYPEDEF_DEF"]
@ -596,12 +607,6 @@
}, },
"type": "UnusedLocalVar" "type": "UnusedLocalVar"
}, },
{
"props": {
"severity": "IGNORE"
},
"type": "VariableInitialisation"
},
{ {
"props": { "props": {
"typeHintPolicy": "enforce_all", "typeHintPolicy": "enforce_all",