Class Rome
- java.lang.Object
-
- com.diffplug.spotless.maven.rome.AbstractRome
-
- com.diffplug.spotless.maven.generic.Rome
-
- All Implemented Interfaces:
FormatterStepFactory
public class Rome extends AbstractRome
Deprecated.Rome has transitioned to Biome. This will be removed shortly.SeeBiome
.
-
-
Constructor Summary
Constructors Constructor Description Rome()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.lang.String
getLanguage()
Deprecated.Gets the language (syntax) of the input files to format.-
Methods inherited from class com.diffplug.spotless.maven.rome.AbstractRome
newFormatterStep
-
-
-
-
Method Detail
-
getLanguage
protected java.lang.String getLanguage()
Deprecated.Description copied from class:AbstractRome
Gets the language (syntax) of the input files to format. Whennull
or the empty string, the language is detected automatically from the file name. Currently the following languages are supported by Biome:- js (JavaScript)
- jsx (JavaScript + JSX)
- js? (JavaScript or JavaScript + JSX, depending on the file extension)
- ts (TypeScript)
- tsx (TypeScript + JSX)
- ts? (TypeScript or TypeScript + JSX, depending on the file extension)
- json (JSON)
- Specified by:
getLanguage
in classAbstractRome
- Returns:
- The language of the input files.
-
-