Browse Source

Updated the settings of the static analyzer

tags/v2
Cédric Belin 1 month ago
parent
commit
9c905704a9
2 changed files with 9 additions and 1 deletions
  1. +8
    -0
      etc/checkstyle.json
  2. +1
    -1
      src/setup_dart/Architecture.hx

+ 8
- 0
etc/checkstyle.json View File

@@ -1,5 +1,13 @@
{
"defaultSeverity": "ERROR",
"exclude": {
"path": "RELATIVE_TO_SOURCE",
"MemberName": [
"setup_dart/Architecture",
"setup_dart/Platform",
"setup_dart/ReleaseChannel"
]
},
"checks": [
{"type": "BlockBreakingConditional"},
{"type": "ConditionalCompilation"},


+ 1
- 1
src/setup_dart/Architecture.hx View File

@@ -4,7 +4,7 @@ package setup_dart;
enum abstract Architecture(String) from String to String {

/** Specifies a 32-bit ARM architecture. **/
var ARM ="arm";
var ARM = "arm";

/** Specifies a 64-bit ARM architecture. **/
var ARM64 = "arm64";


Loading…
Cancel
Save