mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-01-24 14:24:47 +08:00
chore: add more IJ specific settings
This commit is contained in:
parent
b7148ea0ac
commit
996014b614
9
.gitignore
vendored
9
.gitignore
vendored
@ -35,6 +35,13 @@ build/
|
||||
.vscode/
|
||||
|
||||
|
||||
### Unignore Inspection Profiles ###
|
||||
### Unignore some IntelliJ things ###
|
||||
!/.idea/inspectionProfiles
|
||||
!/.idea/codeStyles
|
||||
!/.idea/prettier.xml
|
||||
!/.idea/jsLinters/eslint.xml
|
||||
!/.idea/sqldialects.xml
|
||||
!/.idea/dataSources.xml
|
||||
!/.idea/vcs.xml
|
||||
!/.idea/scopes/
|
||||
!/.idea/encodings.xml
|
||||
|
@ -1,5 +1,11 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<code_scheme name="Project" version="173">
|
||||
<option name="LINE_SEPARATOR" value=" " />
|
||||
<option name="DO_NOT_FORMAT">
|
||||
<list>
|
||||
<fileSet type="globPattern" pattern="frontend/*" />
|
||||
</list>
|
||||
</option>
|
||||
<SqlCodeStyleSettings version="6">
|
||||
<option name="KEYWORD_CASE" value="2" />
|
||||
<option name="IDENTIFIER_CASE" value="1" />
|
||||
|
12
.idea/dataSources.xml
Normal file
12
.idea/dataSources.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||
<data-source source="LOCAL" name="postgres@localhost" uuid="f499d40b-5e0c-409c-b2fa-eb1fb1454c80">
|
||||
<driver-ref>postgresql</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:postgresql://localhost:5432/postgres</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
6
.idea/encodings.xml
Normal file
6
.idea/encodings.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="PROJECT" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
@ -20,6 +20,7 @@
|
||||
<option name="REPORT_VARIABLES" value="true" />
|
||||
<option name="REPORT_PARAMETERS" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="MissingNullabilityAnnotation" enabled="false" level="ERROR" enabled_by_default="false" />
|
||||
<inspection_tool class="MissortedModifiers" enabled="true" level="WARNING" enabled_by_default="true">
|
||||
<option name="m_requireAnnotationsFirst" value="true" />
|
||||
<option name="typeUseWithType" value="true" />
|
||||
|
7
.idea/prettier.xml
Normal file
7
.idea/prettier.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PrettierConfiguration">
|
||||
<option name="myRunOnSave" value="true" />
|
||||
<option name="myRunOnReformat" value="true" />
|
||||
</component>
|
||||
</project>
|
3
.idea/scopes/backend.xml
Normal file
3
.idea/scopes/backend.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<component name="DependencyValidationManager">
|
||||
<scope name="backend" pattern="file[hangar]:*/" />
|
||||
</component>
|
3
.idea/scopes/frontend.xml
Normal file
3
.idea/scopes/frontend.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<component name="DependencyValidationManager">
|
||||
<scope name="frontend" pattern="file[frontend]:*/&&!file[frontend]:.output//*" />
|
||||
</component>
|
9
.idea/sqldialects.xml
Normal file
9
.idea/sqldialects.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="SqlDialectMappings">
|
||||
<file url="PROJECT" dialect="PostgreSQL" />
|
||||
</component>
|
||||
<component name="SqlResolveMappings">
|
||||
<file url="PROJECT" scope="{"node":{ "@negative":"1", "group":{ "@kind":"root", "node":{ "name":{ "@qname":"f499d40b-5e0c-409c-b2fa-eb1fb1454c80" }, "group":{ "@kind":"database", "node":{ "name":{ "@qname":"hangar" }, "group":{ "@kind":"schema", "node":{ "name":{ "@qname":"public" } } } } } } } }}" />
|
||||
</component>
|
||||
</project>
|
7
.idea/vcs.xml
Normal file
7
.idea/vcs.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$/frontend/src/lib" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user