Skip to content

Commit

Permalink
lintNorm: the default value is changed to true
Browse files Browse the repository at this point in the history
  • Loading branch information
xdd666t committed Mar 18, 2023
1 parent 943a1a0 commit c3f2800
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ group 'com.tao.getx'
// the corresponding settings in Plugin.xml will be invalid
// The two settings below are updated frequently, so put them here
// The version number is modified here
version '3.3.0'
version '3.3.1'
// must!!!
//sourceCompatibility = 1.8
compileKotlin {
Expand Down Expand Up @@ -49,6 +49,7 @@ patchPluginXml {
<ul>
<li>Adjust StatefulWidget template</li>
<li>Optimize wrap feature</li>
<li>lintNorm: the default value is changed to true</li>
</ul>
<h1>3.2.x</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/helper/DataService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class DataService : PersistentStateComponent<DataService> {
var function = FunctionInfo(
useFolder = true, usePrefix = false, isPageView = false,
addBinding = false, addLifecycle = false, autoDispose = false,
lintNorm = false, funTabIndex = 0,
lintNorm = true, funTabIndex = 0,
)

//setting info
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/helper/GetXConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data class FunctionInfo(
//add binding
var addBinding: Boolean = false,
//support lint norm
var lintNorm: Boolean = false,
var lintNorm: Boolean = true,
//function tab index
var funTabIndex: Int = 0,
)
Expand Down

0 comments on commit c3f2800

Please sign in to comment.