Class AbstractRome

    • Constructor Detail

      • AbstractRome

        protected AbstractRome​(com.diffplug.spotless.rome.BiomeFlavor flavor)
    • Method Detail

      • getLanguage

        protected abstract java.lang.String getLanguage()
        Gets the language (syntax) of the input files to format. When null 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)
        Returns:
        The language of the input files.