Skip to content

Commit 8e0714f

Browse files
committed
Added configuration for FauxPas app.
1 parent 6bc717d commit 8e0714f

File tree

1 file changed

+243
-0
lines changed

1 file changed

+243
-0
lines changed

FauxPasConfig/main.fauxpas.json

Lines changed: 243 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,243 @@
1+
// Generated from the Faux Pas GUI
2+
{
3+
// Xcode target to check (String)
4+
"target": "FBUtilityApp",
5+
// Xcode build configuration to check (String)
6+
"buildConfig": "Debug",
7+
// Rules to apply (Array of strings)
8+
//"rules": [],
9+
// Rules to apply only (Array of strings)
10+
//"onlyRules": [],
11+
// Rule tags to apply (Array of strings)
12+
//"ruleTags": ["Recommended"],
13+
// Rules to exclude (Array of strings)
14+
//"excludedRules": [],
15+
// Prefixes of files to exclude (Array of strings)
16+
//"fileExclusionPrefixes": [],
17+
// Xcode groups to exclude (Array of strings)
18+
//"fileExclusionXcodeGroups": ["Vendor"],
19+
// Regexes for files to exclude (Array of regular expression strings)
20+
//"fileExclusionRegexes": [],
21+
// Minimum diagnostic severity to return nonzero exit status ("Concern" /
22+
// "Warning" / "Error" / "Fatal")
23+
//"minErrorStatusSeverity": "Error",
24+
// Xcode workspace to build project with (File path)
25+
//"workspace": null,
26+
// Xcode scheme to build project with (String)
27+
//"scheme": null,
28+
// Number of concurrent file checking jobs (Positive integer)
29+
//"numConcurrentJobs": null,
30+
// Additional compiler arguments to use (Array of strings)
31+
//"extraCompilerArgs": [],
32+
// Additional xcodebuild arguments to use (Array of strings)
33+
//"extraXcodebuildArgs": [],
34+
// Build project before checking (Boolean)
35+
//"fullBuild": false,
36+
// Cache project build logs (Boolean)
37+
//"cacheBuildLog": true,
38+
// Use our own modules cache (Boolean)
39+
//"useOwnModulesCache": true,
40+
// Verbose output (Boolean)
41+
//"verbose": false,
42+
// Output format ("human" / "json" / "plist" / "xml" / "xcode")
43+
//"outputFormat": "human",
44+
45+
// Options for rules:
46+
"ruleOptions": {
47+
// Options for localization rules
48+
"_LocalizationRules": {
49+
// Functions used in place of NSLocalizedString (Array of strings)
50+
//"localizedStringRoutines": []
51+
},
52+
// Options for rule: Absolute path in build setting value
53+
"AbsPathInBuildSetting": {
54+
// Allow system paths (Boolean)
55+
//"allowSystemPaths": false
56+
},
57+
// Options for rule: Block-typed declaration without typedef
58+
"NonTypedefBlockDeclaration": {
59+
// Apply only to function/method arguments (Boolean)
60+
//"onlyArguments": true
61+
},
62+
// Options for rule: Build settings set in Xcode GUI
63+
"BuildSettingsSetInGUI": {
64+
// Which settings are allowed to be set in the GUI (Array of
65+
// strings)
66+
//"allowedGUISettings": ["CODE_SIGN_IDENTITY","PROVISIONING_PROFILE"]
67+
},
68+
// Options for rule: Constructor return type
69+
"ConstructorReturnType": {
70+
// Check init methods (Boolean)
71+
//"checkInitMethods": false
72+
},
73+
// Options for rule: Discarded opaque NSNotificationCenter observer
74+
"DiscardedOpaqueNotificationObserver": {
75+
// Do not warn if explicitly cast to void (Boolean)
76+
//"suppressViaVoidCast": true
77+
},
78+
// Options for rule: Dot syntax usage
79+
"DotSyntax": {
80+
// Enforce dot syntax only for properties (Boolean)
81+
//"onlyForProperties": false,
82+
// Square bracket syntax method whitelist (Array of strings)
83+
"allowedMethods": ["alloc","autorelease","becomeFirstResponder","new","release","retain","runModal","setNeedsDisplay:"]
84+
// Allow factory methods like <objcmethod>+[NSArray
85+
// array]</objcmethod> (Boolean)
86+
//"allowConstructors": true
87+
},
88+
// Options for rule: Globally caching a thread-unsafe class instance
89+
"ThreadUnsafeInstanceCaching": {
90+
// The thread-unsafe classes to warn about (Array of strings)
91+
"classNames": ["NSDateFormatter","NSMutableArray","NSMutableAttributedString","NSMutableCharacterSet","NSMutableData","NSMutableDictionary","NSMutableSet","NSMutableString","NSNumberFormatter"]
92+
},
93+
// Options for rule: Identifier naming
94+
"IdentifierNaming": {
95+
// Instance variable name format regex (Regular expression)
96+
//"ivarNameFormat": "^_.+"
97+
// Local variable name format regex (Regular expression)
98+
//"localVarNameFormat": "^[^_].*"
99+
// Function name format regex (Regular expression)
100+
//"functionNameFormat": null
101+
// Typedef name format regex (Regular expression)
102+
//"typedefNameFormat": null
103+
// Macro name format regex (Regular expression)
104+
//"macroNameFormat": null
105+
// Objective-C method name format regex (Regular expression)
106+
//"objcMethodNameFormat": null
107+
// Objective-C class name format regex (Regular expression)
108+
//"objcClassNameFormat": null
109+
// Objective-C category name format regex (Regular expression)
110+
//"objcCategoryNameFormat": null
111+
},
112+
// Options for rule: Macro definition for literal value
113+
"MacroLiteral": {
114+
// Allowed literal values (Array of strings)
115+
//"allowedLiterals": ["0","1"]
116+
},
117+
// Options for rule: Missing translation
118+
"MissingTranslation": {
119+
// Warn about missing development region translations (Boolean)
120+
//"checkDevRegion": false
121+
// Ignored key prefixes (Array of strings)
122+
//"ignoredKeyPrefixes": []
123+
},
124+
// Options for rule: Moving common inclusions into prefix header
125+
"PrefixHeaderIncludeSuggestion": {
126+
// Show including files (Boolean)
127+
//"showFiles": false
128+
// Warning threshold percentage (Positive integer)
129+
//"warningThresholdPercent": 30
130+
},
131+
// Options for rule: NSLog() used in release build
132+
"NSLogUsed": {
133+
// Allow calling NSLog() via macros (Boolean)
134+
//"allowMacros": true
135+
},
136+
// Options for rule: Old, verbose Objective-C syntax
137+
"OldVerboseObjCSyntax": {
138+
// Expect literal syntax for mutable collections (Boolean)
139+
//"expectLiteralSyntaxForMutableCollections": false
140+
},
141+
// Options for rule: Problematic release build compiler arguments
142+
"ReleaseBuildCompilerArgs": {
143+
// Required compiler arguments for all files (Array of strings)
144+
"requiredArguments": ["-DNDEBUG","-DNS_BLOCK_ASSERTIONS=1"]
145+
// Disallowed compiler arguments for all files (Array of strings)
146+
//"disallowedArguments": []
147+
},
148+
// Options for rule: Project reference to file using absolute path
149+
"FileRefWithAbsPath": {
150+
// Allow system paths (Boolean)
151+
//"allowSystemPaths": false
152+
},
153+
// Options for rule: Recommended VCS ignores
154+
"RecommendedVCSIgnores": {
155+
// Whether the Xcode workspace data should be ignored (Boolean)
156+
//"workspaceIgnored": false
157+
// Whether CocoaPods data should be ignored (Boolean)
158+
//"cocoaPodsIgnored": false
159+
// Whether user-specific AppCode data should be ignored (Boolean)
160+
//"appCodeUserDataIgnored": true
161+
},
162+
// Options for rule: Recommended compiler warning options
163+
"CompilerWarnings": {
164+
// Recommended warning flags (Array of strings)
165+
"flags": ["-Wall","-Wconversion","-Wdeprecated-implementations","-Wempty-body","-Werror","-Wextra","-Wfloat-equal","-Wimplicit-retain-self","-Wnewline-eof","-Wreturn-type","-Wshadow","-Wsign-compare","-Wundef"]
166+
},
167+
// Options for rule: Recommended project settings
168+
"BasicProjectSettings": {
169+
// The indentation type that should be set ("tabs" / "spaces")
170+
//"indentType": null
171+
// The 'tab width' that should be set (Positive integer)
172+
//"tabWidth": null
173+
// The 'indent width' that should be set (Positive integer)
174+
//"indentWidth": null
175+
// Whether the 'wrap lines' setting should be set or not ("wrap" /
176+
// "nowrap")
177+
//"wrapLines": null
178+
},
179+
// Options for rule: Redundant inclusion directive
180+
"RedundantInclude": {
181+
// Ignore system headers (Boolean)
182+
//"ignoreSystemHeaders": true
183+
// Ignore indirect inclusions (Boolean)
184+
//"ignoreIndirectInclusions": false
185+
},
186+
// Options for rule: Reserved identifier name
187+
"ReservedIdentifierNaming": {
188+
// Check for identifier names reserved by the C standard (Boolean)
189+
//"checkCStandard": true
190+
// Check for identifier names reserved by the POSIX standard
191+
// (Boolean)
192+
//"checkPOSIXStandard": true
193+
},
194+
// Options for rule: Reserved symbol prefix
195+
"ReservedPrefix": {
196+
// Allow two-character prefixes that don't overlap system
197+
// frameworks (Boolean)
198+
//"allowNonOverlappingTwoCharPrefix": false
199+
},
200+
// Options for rule: Restricted direct method call
201+
"RestrictedDirectMethodCall": {
202+
// Allow direct calls from subclasses (Boolean)
203+
//"allowInSubclass": true
204+
},
205+
// Options for rule: Setter invocation in init or dealloc method
206+
"SetterInvocationInInitOrDealloc": {
207+
// Apply to init methods (Boolean)
208+
//"applyToInit": true
209+
// Apply to dealloc methods (Boolean)
210+
//"applyToDealloc": true
211+
// Warn only if ivar available (Boolean)
212+
//"onlyIfIvarAvailable": true
213+
},
214+
// Options for rule: Shortcut initializer
215+
"NewInitializer": {
216+
// Prefer the alloc-init style (Boolean)
217+
//"preferAllocInit": true
218+
},
219+
// Options for rule: Throwing an Objective-C exception
220+
"ThrowingObjCException": {
221+
// Allow if sole statement (Boolean)
222+
//"allowIfSoleStatement": false
223+
},
224+
// Options for rule: Translation border punctuation mismatch
225+
"TranslationPunctuation": {
226+
// Punctuation characters that should match (String)
227+
//"punctuationChars": ".,:;!?…。"
228+
},
229+
// Options for rule: Unprefixed category method
230+
"UnprefixedCategoryMethod": {
231+
// Allowed prefixes (Array of strings)
232+
//"prefixes": null
233+
// Ignore setters (Boolean)
234+
//"ignoreSetters": true
235+
},
236+
// Options for rule: Use of API not available in the minimum deployment
237+
// target
238+
"APIAvailability": {
239+
// Avoid false positives (Boolean)
240+
//"avoidFalsePositives": false
241+
}
242+
}
243+
}

0 commit comments

Comments
 (0)