File tree 3 files changed +0
-14
lines changed
scala/com/whatsapp/eqwalizer
3 files changed +0
-14
lines changed Original file line number Diff line number Diff line change 8
8
target /
9
9
tools /
10
10
* .iml
11
- * .build_info
12
11
rebar.lock
13
12
metals.sbt
14
13
elp-ast /
Original file line number Diff line number Diff line change 1
1
eqwalizer {
2
- build_info = wa.build_info
3
- build_info = ${?EQWALIZER_BUILD_INFO}
4
- code_width = 100
5
- ast_dir = elp-ast
6
- ast_dir = ${?EQWALIZER_ELP_AST_DIR}
7
- approximate_complex_types = true
8
2
eqwater = true
9
3
eqwater = ${?EQWALIZER_EQWATER}
10
4
tolerate_errors = true
11
5
tolerate_errors = ${?EQWALIZER_TOLERATE_ERRORS}
12
- mode = standalone
13
6
mode = ${?EQWALIZER_MODE}
14
7
error_depth = 4
15
8
error_depth = ${?EQWALIZER_ERROR_DEPTH}
Original file line number Diff line number Diff line change @@ -29,9 +29,6 @@ package object eqwalizer {
29
29
}
30
30
31
31
case class Config (
32
- codeWidth : Int ,
33
- astDir : Option [String ],
34
- approximateComplexTypes : Boolean ,
35
32
eqwater : Boolean ,
36
33
tolerateErrors : Boolean ,
37
34
clauseCoverage : Boolean ,
@@ -46,9 +43,6 @@ package object eqwalizer {
46
43
val modeStr = config.getString(" mode" )
47
44
val mode = Mode .fromString(modeStr).getOrElse(throw new IllegalArgumentException (s " Unknown mode ${modeStr}" ))
48
45
Config (
49
- codeWidth = config.getInt(" code_width" ),
50
- astDir = if (config.hasPath(" ast_dir" )) Some (config.getString(" ast_dir" )) else None ,
51
- approximateComplexTypes = config.getBoolean(" approximate_complex_types" ),
52
46
eqwater = config.getBoolean(" eqwater" ),
53
47
tolerateErrors = config.getBoolean(" tolerate_errors" ),
54
48
clauseCoverage = config.getBoolean(" clause_coverage" ),
You can’t perform that action at this time.
0 commit comments