Closed cvbriggler closed 8 months ago
@cvbriggler it is not possible to set that in settings.json. you will have to create a .sqlfluff configuration file to configure specific rules. There is more information about sqlfluff config files on the sqlfluff website
Thanks Robert. I'll take that track. We can close this issue.
On Thu, Mar 21, 2024 at 3:46 PM Robert Ostermann @.***> wrote:
@cvbriggler https://github.com/cvbriggler it is not possible to set that in settings.json. you will have to create a .sqlfluff configuration file to configure specific rules. There is more information about sqlfluff config files on the sqlfluff website
— Reply to this email directly, view it on GitHub https://github.com/sqlfluff/vscode-sqlfluff/issues/131#issuecomment-2013979793, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQRPZ5WJLJ7T4LPZH6XQ7LYZNPN5AVCNFSM6AAAAABFCKGMS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJTHE3TSNZZGM . You are receiving this because you were mentioned.Message ID: @.***>
I need to set the capitalisation.keywords rule so that the capitalisation_policy is "upper". This will enforce a rule that keywords are in upper case.
There is no documentation for how to do this in settings.json file. I'm assuming it is in the "sqlfluff.rules": [] section of settings.json. I need to know how to enter json to get the desired behavior.
Please update your documentation to include guidance on how to configure specific rules.