Gengliang Wang created SPARK-38153:
--------------------------------------

             Summary: Remove option newlines.topLevelStatements in scalafmt.conf
                 Key: SPARK-38153
                 URL: https://issues.apache.org/jira/browse/SPARK-38153
             Project: Spark
          Issue Type: Task
          Components: Build
    Affects Versions: 3.3.0
            Reporter: Gengliang Wang
            Assignee: Gengliang Wang


The configuration

newlines.topLevelStatements = [before,after]

is to add blank line before the first member or after the last member of the 
class.

This is neither encouraged nor discouraged as per 
https://github.com/databricks/scala-style-guide#blanklines



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to