generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update project, add icon, set ignores
- Loading branch information
Showing
10 changed files
with
607 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,98 @@ | ||
### macOS template | ||
# General | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
# Thumbnails | ||
._* | ||
|
||
### Gradle template | ||
.gradle | ||
.idea | ||
.qodana | ||
build | ||
build/ | ||
|
||
### Terraform template | ||
# Local .terraform directories | ||
**/.terraform/* | ||
|
||
# .tfstate files | ||
*.tfstate | ||
*.tfstate.* | ||
|
||
### JetBrains template | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/* | ||
out/ | ||
local.properties | ||
|
||
# IDEA/Android Studio project settings ignore exceptions | ||
!.idea/codeStyles/ | ||
!.idea/copyright/ | ||
!.idea/dataSources.xml | ||
!.idea/detekt.xml | ||
!.idea/encodings.xml | ||
!.idea/externalDependencies.xml | ||
!.idea/fileTemplates/ | ||
!.idea/icon.svg | ||
!.idea/icon.png | ||
!.idea/icon_dark.png | ||
!.idea/inspectionProfiles/ | ||
!.idea/ktlint.xml | ||
!.idea/runConfigurations/ | ||
!.idea/scopes/ | ||
!.idea/vcs.xml | ||
|
||
### Kotlin template | ||
# Compiled class file | ||
*.class | ||
|
||
# Log file | ||
*.log | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.nar | ||
*.ear | ||
*.zip | ||
*.tar.gz | ||
*.rar | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
|
||
### Windows template | ||
# Windows thumbnail cache files | ||
Thumbs.db | ||
ehthumbs.db | ||
ehthumbs_vista.db | ||
|
||
# Dump file | ||
*.stackdump | ||
|
||
# Folder config file | ||
[Dd]esktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msix | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) | ||
!gradle-wrapper.jar |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,189 @@ | ||
build: | ||
maxIssues: 0 | ||
excludeCorrectable: false | ||
weights: | ||
# complexity: 2 | ||
# LongParameterList: 1 | ||
# style: 1 | ||
# comments: 1 | ||
|
||
config: | ||
validation: true | ||
# when writing own rules with new properties, exclude the property path e.g.: 'my_rule_set,.*>.*>[my_property]' | ||
excludes: '' | ||
|
||
processors: | ||
active: true | ||
exclude: | ||
- 'DetektProgressListener' | ||
# - 'FunctionCountProcessor' | ||
# - 'PropertyCountProcessor' | ||
# - 'ClassCountProcessor' | ||
# - 'PackageCountProcessor' | ||
# - 'KtFileCountProcessor' | ||
|
||
console-reports: | ||
active: true | ||
exclude: | ||
- 'ProjectStatisticsReport' | ||
- 'ComplexityReport' | ||
- 'NotificationReport' | ||
# - 'FindingsReport' | ||
- 'FileBasedFindingsReport' | ||
|
||
comments: | ||
active: false | ||
|
||
complexity: | ||
active: true | ||
LongParameterList: | ||
active: false | ||
TooManyFunctions: | ||
active: false | ||
LongMethod: | ||
active: false | ||
CyclomaticComplexMethod: | ||
active: false | ||
|
||
coroutines: | ||
active: true | ||
GlobalCoroutineUsage: | ||
active: true | ||
RedundantSuspendModifier: | ||
active: true | ||
SleepInsteadOfDelay: | ||
active: true | ||
SuspendFunWithFlowReturnType: | ||
active: true | ||
|
||
exceptions: | ||
active: true | ||
NotImplementedDeclaration: | ||
active: true | ||
ObjectExtendsThrowable: | ||
active: true | ||
|
||
performance: | ||
active: true | ||
SpreadOperator: | ||
active: false | ||
excludes: [ '**/test/**', '**/androidTest/**', '**/*.Test.kt', '**/*.Spec.kt', '**/*.Spek.kt' ] | ||
|
||
potential-bugs: | ||
active: true | ||
DontDowncastCollectionTypes: | ||
active: true | ||
ExitOutsideMain: | ||
active: true | ||
HasPlatformType: | ||
active: true | ||
IgnoredReturnValue: | ||
active: true | ||
ImplicitUnitReturnType: | ||
active: true | ||
allowExplicitReturnType: true | ||
MapGetWithNotNullAssertionOperator: | ||
active: true | ||
UnconditionalJumpStatementInLoop: | ||
active: true | ||
UnreachableCatchBlock: | ||
active: true | ||
UselessPostfixExpression: | ||
active: true | ||
|
||
style: | ||
active: true | ||
CollapsibleIfStatements: | ||
active: true | ||
DataClassShouldBeImmutable: | ||
active: true | ||
EqualsOnSignatureLine: | ||
active: true | ||
ExpressionBodySyntax: | ||
active: true | ||
includeLineWrapping: false | ||
ForbiddenComment: | ||
active: true | ||
comments: | ||
- value: 'STOPSHIP' | ||
reason: 'Forbidden STOPSHIP marker in comment, please address before shipping' | ||
allowedPatterns: '' | ||
LoopWithTooManyJumpStatements: | ||
active: true | ||
maxJumpCount: 3 | ||
MagicNumber: | ||
active: false | ||
excludes: [ '**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**', '**/*.Test.kt', '**/*.Spec.kt', '**/*.Spek.kt' ] | ||
ignoreNumbers: [ '-1', '0', '1', '2' ] | ||
ignoreHashCodeFunction: true | ||
ignorePropertyDeclaration: true | ||
ignoreLocalVariableDeclaration: true | ||
ignoreConstantDeclaration: true | ||
ignoreCompanionObjectPropertyDeclaration: true | ||
ignoreAnnotation: true | ||
ignoreNamedArgument: true | ||
ignoreEnums: true | ||
ignoreRanges: true | ||
MandatoryBracesLoops: | ||
active: true | ||
MaxLineLength: | ||
active: true | ||
maxLineLength: 150 | ||
excludePackageStatements: true | ||
excludeImportStatements: true | ||
excludeCommentStatements: false | ||
NoTabs: | ||
active: true | ||
OptionalUnit: | ||
active: true | ||
PreferToOverPairSyntax: | ||
active: true | ||
RedundantExplicitType: | ||
active: true | ||
ReturnCount: | ||
active: false | ||
SpacingBetweenPackageAndImports: | ||
active: true | ||
ThrowsCount: | ||
active: true | ||
max: 5 | ||
TrailingWhitespace: | ||
active: true | ||
UnnecessaryLet: | ||
active: true | ||
UnnecessaryParentheses: | ||
active: false | ||
UnnecessaryAbstractClass: | ||
ignoreAnnotated: | ||
- Module | ||
UntilInsteadOfRangeTo: | ||
active: true | ||
UnusedImports: | ||
active: true | ||
UnusedPrivateMember: | ||
# We need to disable this otherwise we'd need to @Suppress all Composable previews... | ||
active: false | ||
UseArrayLiteralsInAnnotations: | ||
active: true | ||
UseCheckNotNull: | ||
active: true | ||
UseCheckOrError: | ||
active: true | ||
UseEmptyCounterpart: | ||
active: true | ||
UseIfEmptyOrIfBlank: | ||
active: true | ||
UseIsNullOrEmpty: | ||
active: true | ||
UseRequire: | ||
active: true | ||
UseRequireNotNull: | ||
active: true | ||
VarCouldBeVal: | ||
active: true | ||
|
||
naming: | ||
FunctionNaming: | ||
active: false | ||
ignoreAnnotated: | ||
- Composable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters