spotless icon indicating copy to clipboard operation
spotless copied to clipboard

Spotless SQL LINE ORIENTED File Extensions

Open Akaame opened this issue 3 years ago • 0 comments

Documentation states that Spotless.SQL can use a dbeaver().configFile('dbeaver.props') however trying to set this config throws and error that this file extension is not supported and I see that it is not supported here.

Could we fix the documentation or add .props to list of supported file extensions?

Spotless configuration

spotless.sql {
    target 'src/main/resources/**/*.sql'

    dbeaver().configFile('dbeaver.props') // works with 'dbeaver.properties'
}

Cheers.

Akaame avatar Jul 07 '22 07:07 Akaame

I encountered the same bug and submitted a PR to fix it: https://github.com/diffplug/spotless/pull/1277

Thx : )

EricGao888 avatar Aug 16 '22 04:08 EricGao888