From 1761d500f3238e44ce8a0c395e80ecd2861baf98 Mon Sep 17 00:00:00 2001 From: chick Date: Mon, 1 Feb 2021 10:00:52 -0800 Subject: [PATCH] Get rid of scalastyle checkers. These are outdated and not used by the rest of the chisel family. Add the scalafmt file that is used to fix code formatting. This will be used to regularize the code. That work will be done by attrition. --- .scalafmt.conf | 4 +- scalastyle-config.xml | 110 ------------------------------------- scalastyle-test-config.xml | 109 ------------------------------------ 3 files changed, 2 insertions(+), 221 deletions(-) delete mode 100644 scalastyle-config.xml delete mode 100644 scalastyle-test-config.xml diff --git a/.scalafmt.conf b/.scalafmt.conf index f74e5504..c53cb608 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 2.6.4 +version = 2.7.5 maxColumn = 120 align = most @@ -23,4 +23,4 @@ verticalMultiline.atDefnSite = true optIn.annotationNewlines = true -rewrite.rules = [SortImports, PreferCurlyFors, AvoidInfix] +rewrite.rules = [SortImports, PreferCurlyFors, AvoidInfix] \ No newline at end of file diff --git a/scalastyle-config.xml b/scalastyle-config.xml deleted file mode 100644 index 57ef60a2..00000000 --- a/scalastyle-config.xml +++ /dev/null @@ -1,110 +0,0 @@ - - Scalastyle standard configuration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No lines ending with a ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |\|\||&&|:=|<>|<=|>=|!=|===|<<|>>|##|unary_(~|\-%?|!))$]]> - - - - - - - - - - - diff --git a/scalastyle-test-config.xml b/scalastyle-test-config.xml deleted file mode 100644 index bf32aacd..00000000 --- a/scalastyle-test-config.xml +++ /dev/null @@ -1,109 +0,0 @@ - - Scalastyle configuration for Chisel3 unit tests - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No lines ending with a ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |\|\||&&|:=|<>|<=|>=|!=|===|<<|>>|##|unary_(~|\-%?|!))$]]> - - - - - - - - - - -