snowflakedb / SnowAlert

Security Analytics Using The Snowflake Data Warehouse
Apache License 2.0
184 stars 57 forks source link

WIP - Adding CodeMirror 6 #516

Closed sfc-gh-nlele closed 3 years ago

sfc-gh-nlele commented 3 years ago

Adding CM6, able to switch through the rules now.

sfc-gh-pkommini commented 3 years ago

@sfc-gh-nlele Is there a way we can move the CodeMirror class to a separatecodemirror_wrapper.tsx and import it instead of creating a new class in the same file as the editor?

sfc-gh-pkommini commented 3 years ago

Also, please install prettier VS Code extension which can auto-format your file, so that your code doesn't fail lint checks.