You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2022/02/09 04:34:00 UTC

[jira] [Created] (SPARK-38153) Remove option newlines.topLevelStatements in scalafmt.conf

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org