reimplement the editor use lastest antd and other libs, feature of this commit:
1. file manger 2. highlight for click input or output 3. selector of subtress 4. autocomplete for input or output
This commit is contained in:
1 parent
91da6f0071
commit
2e5c08b2ad
84 files changed
+14250
-11038
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
echo -e "\nValidating Javascript:\n"
|
||||
# Check for eslint
|
||||
which tsc &> /dev/null
|
||||
if [[ "$?" == 1 ]]; then
|
||||
echo -e "\t\033[41mPlease install tsc\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
tsc --noEmit
|
||||
|
||||
if [[ "$?" == 0 ]]; then
|
||||
echo -e "\033[42mCOMMIT SUCCEEDED\033[0m\n"
|
||||
exit 0
|
||||
else
|
||||
echo -e "\033[41mCOMMIT FAILED:\033[0m Your commit contains files that should pass ESLint but do not. Please fix the ESLint errors and try again.\n"
|
||||
exit 1
|
||||
fi
|
||||
Reference in new issue
Block a user