<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Common on ALCops</title><link>https://alcops.dev/docs/analyzers/common/</link><description>Recent content in Common on ALCops</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://alcops.dev/docs/analyzers/common/index.xml" rel="self" type="application/rss+xml"/><item><title>The ALCops configuration file could not be fully loaded</title><link>https://alcops.dev/docs/analyzers/common/cm0001/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://alcops.dev/docs/analyzers/common/cm0001/</guid><description>&lt;p&gt;&lt;code&gt;CM0001&lt;/code&gt; warns when an &lt;a href="https://alcops.dev/docs/getting-started/configuration/"&gt;&lt;code&gt;alcops.json&lt;/code&gt;&lt;/a&gt;
 configuration file was found but could not be fully applied. Without this warning a broken configuration silently falls back to the default settings, and it can be hard to understand why your settings have no effect.&lt;/p&gt;
&lt;p&gt;The message names the file and the reason:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;The ALCops configuration &amp;#39;C:\Source\MyApp\alcops.json&amp;#39; could not be fully loaded: unknown setting &amp;#39;CognitivComplexityThreshold&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="when-it-is-reported"&gt;When it is reported&lt;/h3&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Situation&lt;/th&gt;
					&lt;th&gt;Effect on settings&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;The file exists but cannot be read (I/O or permission error)&lt;/td&gt;
					&lt;td&gt;Defaults are used&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;The file contains invalid JSON (syntax error, wrong value type, unknown enum value)&lt;/td&gt;
					&lt;td&gt;Defaults are used&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;The file is valid JSON but contains an unrecognized top-level setting (for example a typo in the name)&lt;/td&gt;
					&lt;td&gt;All recognized settings still apply; one warning per unknown setting&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;No warning is reported when no &lt;code&gt;alcops.json&lt;/code&gt; exists — using the defaults without a configuration file is perfectly fine.&lt;/p&gt;</description></item></channel></rss>