Skip to content

Commit

Permalink
Update IDEA style config files
Browse files Browse the repository at this point in the history
  • Loading branch information
aforcier committed Apr 17, 2018
1 parent 3d1d5e5 commit 3944fae
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .idea/codeStyleSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
}

dependencies {
classpath 'com.automattic.android:fetchstyle:1.0'
classpath 'com.automattic.android:fetchstyle:1.1'
}
}

Expand Down
6 changes: 6 additions & 0 deletions config/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@
<property name="severity" value="error"/>
</module>

<module name="RegexpSingleline">
<property name="format" value="^(?!.*\bimport\b).*Store\.[A-Z][A-Za-z0-9]*[ );]"/>
<property name="message" value="Specific imports should be used for FluxC Store inner classes"/>
<property name="severity" value="error"/>
</module>

<module name="RegexpMultiline">
<property name="format" value="@Inject(\n|\r\n).*[^{,(]$"/>
<property name="message" value="Inject annotation should be in-line with the annotated field or property"/>
Expand Down

0 comments on commit 3944fae

Please sign in to comment.