You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linting guidance is a more general thing - perhaps it warrants it's own page in the AP guidance that the create-a-derived-table guidance can internally link?
Approach 1: new linting page
create a separate general linting guidance page for yamllint and sqlfluff that create-a-derived-table guidance references
update/improve linting guidance specific to create-a-derived-table such as what lint rules are enforced
include linting commands used in create-a-derived-table in QuickRef page
include how to auto fix SQLfluff lint errors and use templating=ignore option to ignore Jijna templating
include how to use YAML online formatter [note you still need to add the final empty line to pass the yamllint rule]
Approach 2: just update create-a-derived-table linting guidance
improve general linting guidance with create-a-derived-table instructions
update/improve linting guidance specific to create-a-derived-table such as what lint rules are enforced
include linting commands used in create-a-derived-table in QuickRef page
include how to auto fix SQLfluff lint errors and use templating=ignore option to ignore Jijna templating
include how to use YAML online formatter [note you still need to add the final empty line to pass the yamllint rule]
Notes to include/expand on
SQLFluff has a fix command which auto-formats what it can (must NOT be run without a config). For YAML there is a helpful online website that will format code correctly (though it requires copy pasting). Add this to the user guidance.
Useful to know what the rules are that the YAML/SQL linters will apply up front so as to try to write the code correctly from the start.
The text was updated successfully, but these errors were encountered:
Linting guidance is a more general thing - perhaps it warrants it's own page in the AP guidance that the
create-a-derived-table
guidance can internally link?Approach 1: new linting page
yamllint
andsqlfluff
thatcreate-a-derived-table
guidance referencescreate-a-derived-table
such as what lint rules are enforcedcreate-a-derived-table
in QuickRef pagetemplating=ignore
option to ignore Jijna templatingApproach 2: just update
create-a-derived-table
linting guidancecreate-a-derived-table
instructionscreate-a-derived-table
such as what lint rules are enforcedcreate-a-derived-table
in QuickRef pagetemplating=ignore
option to ignore Jijna templatingNotes to include/expand on
The text was updated successfully, but these errors were encountered: