Package com.diffplug.spotless.maven.json
Class RomeJson
- java.lang.Object
-
- com.diffplug.spotless.maven.rome.AbstractRome
-
- com.diffplug.spotless.maven.json.RomeJson
-
- All Implemented Interfaces:
FormatterStepFactory
@Deprecated public class RomeJson extends AbstractRome
Deprecated.Rome has transitioned to Biome. This will be removed shortly.Rome formatter step for JSON.
-
-
Constructor Summary
Constructors Constructor Description RomeJson()
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.
-
-