SQL

SQL

Made by DeepSource

Mixed Tabs and Spaces in single whitespace SQL-L002

Style
Minor

A single section of whitespace contains both tabs and spaces.

Bad practice

Convention: Here, the • character represents a space and the → character represents a tab. In this example, the second line contains two spaces and one tab.

SELECT
••→a
FROM foo

Recommended

Change the line to use spaces only.
SELECT
••••a
FROM foo

The defaults can be configured per your needs with the following parameters in the analyzers.meta section.

Parameter Type Default value
tabspacesize Integer 4