Open mihaidma opened 6 years ago
I had a look at this mihai... it's going to be a bit of a mess as we have SQL defined using capital letters and the plugin uses lowercase, not a problem except our object is also sql so when we refine we have that problem too so means more of a refactor
We could configure the linter to detect if the SQL tag is forgotten to be added in front of SQL template string: https://github.com/gajus/eslint-plugin-sql#eslint-plugin-sql-rules-no-unsafe-query ok:
not ok:
The linter can detect if
SQL
is forgotten.