chore: 初始化IntelliJ IDEA项目配置

- 添加 .name 文件,设置项目名称为 "AndroidGrape"
- 创建 appInsightsSettings.xml 文件,配置 Firebase Crashlytics
- 新增 Project_Default.xml 文件,配置项目默认检查规则,包括 DuplicatedCode, Eslint, PyPackageRequirementsInspection 和 PyPep8NamingInspection,并禁用 GrazieInspection, LanguageDetectionInspection 和 SpellCheckingInspection
This commit is contained in:
yjj38 2025-07-16 14:40:36 +08:00
parent dad7d224d0
commit c2077dc444
3 changed files with 72 additions and 0 deletions

1
.idea/.name Normal file
View File

@ -0,0 +1 @@
AndroidGrape

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AppInsightsSettings">
<option name="tabSettings">
<map>
<entry key="Firebase Crashlytics">
<value>
<InsightsFilterSettings>
<option name="connection">
<ConnectionSetting>
<option name="appId" value="PLACEHOLDER" />
<option name="mobileSdkAppId" value="" />
<option name="projectId" value="" />
<option name="projectNumber" value="" />
</ConnectionSetting>
</option>
<option name="signal" value="SIGNAL_UNSPECIFIED" />
<option name="timeIntervalDays" value="THIRTY_DAYS" />
<option name="visibilityType" value="ALL" />
</InsightsFilterSettings>
</value>
</entry>
</map>
</option>
</component>
</project>

View File

@ -0,0 +1,45 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="DuplicatedCode" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<Languages>
<language minSize="411" name="Python" />
</Languages>
</inspection_tool>
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="GrazieInspection" enabled="false" level="GRAMMAR_ERROR" enabled_by_default="false" />
<inspection_tool class="LanguageDetectionInspection" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredPackages">
<value>
<list size="12">
<item index="0" class="java.lang.String" itemvalue="mysqlclient" />
<item index="1" class="java.lang.String" itemvalue="selenium" />
<item index="2" class="java.lang.String" itemvalue="Django" />
<item index="3" class="java.lang.String" itemvalue="typing_extensions" />
<item index="4" class="java.lang.String" itemvalue="django-timezone-field" />
<item index="5" class="java.lang.String" itemvalue="setuptools" />
<item index="6" class="java.lang.String" itemvalue="attrs" />
<item index="7" class="java.lang.String" itemvalue="beautifulsoup4" />
<item index="8" class="java.lang.String" itemvalue="celery" />
<item index="9" class="java.lang.String" itemvalue="tzdata" />
<item index="10" class="java.lang.String" itemvalue="kombu" />
<item index="11" class="java.lang.String" itemvalue="billiard" />
</list>
</value>
</option>
</inspection_tool>
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="N801" />
</list>
</option>
</inspection_tool>
<inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
<option name="processCode" value="true" />
<option name="processLiterals" value="true" />
<option name="processComments" value="true" />
</inspection_tool>
</profile>
</component>