feat: enable DuplicatedCode inspection tool in the project

The inspection tool for checking DuplicatedCode has been enabled in the Project_Default.xml file. It's set to give a weak warning for duplication in TypeScript code with a minimum size of 67. This should assist in maintaining quality by preventing repetitive code patterns.
This commit is contained in:
Mathis H (Avnyr) 2024-07-12 14:25:16 +02:00
parent 2a879c71f1
commit fb0b7c7036
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -1,6 +1,11 @@
<component name="InspectionProjectProfileManager"> <component name="InspectionProjectProfileManager">
<profile version="1.0"> <profile version="1.0">
<option name="myName" value="Project Default" /> <option name="myName" value="Project Default" />
<inspection_tool class="DuplicatedCode" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<Languages>
<language minSize="67" name="TypeScript" />
</Languages>
</inspection_tool>
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" /> <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
</profile> </profile>
</component> </component>