Repository navigation
Commit 94b5df7
committed
fix: Resolve all ESLint errors and improve code quality
🔧 Issues Fixed:
- Function name mismatch: loadKatex → loadKaTeX
- Empty catch block: Added proper error logging
- Unused variables: Prefixed with underscore (_err, _e)
- Missing ESLint disable for app function
📊 Linting Results:
- Before: 21 problems (13 errors, 8 warnings)
- After: 6 problems (0 errors, 6 warnings)
✅ All critical errors resolved
✅ Code now follows professional standards
✅ Proper error handling implemented
✅ Clean development environment achieved1 parent dcfb9f1 commit 94b5df7
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
| 1053 | + | |
1053 | 1054 | | |
1054 | 1055 | | |
1055 | 1056 | | |
| |||
1576 | 1577 | | |
1577 | 1578 | | |
1578 | 1579 | | |
1579 | | - | |
| 1580 | + | |
1580 | 1581 | | |
1581 | 1582 | | |
1582 | 1583 | | |
| |||
1650 | 1651 | | |
1651 | 1652 | | |
1652 | 1653 | | |
1653 | | - | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
1654 | 1657 | | |
1655 | 1658 | | |
1656 | 1659 | | |
| |||
1683 | 1686 | | |
1684 | 1687 | | |
1685 | 1688 | | |
1686 | | - | |
| 1689 | + | |
1687 | 1690 | | |
1688 | 1691 | | |
1689 | 1692 | | |
| |||
1767 | 1770 | | |
1768 | 1771 | | |
1769 | 1772 | | |
1770 | | - | |
| 1773 | + | |
1771 | 1774 | | |
1772 | 1775 | | |
1773 | 1776 | | |
| |||
1826 | 1829 | | |
1827 | 1830 | | |
1828 | 1831 | | |
1829 | | - | |
| 1832 | + | |
1830 | 1833 | | |
1831 | 1834 | | |
1832 | 1835 | | |
| |||
1847 | 1850 | | |
1848 | 1851 | | |
1849 | 1852 | | |
1850 | | - | |
| 1853 | + | |
1851 | 1854 | | |
1852 | 1855 | | |
1853 | 1856 | | |
| |||
1871 | 1874 | | |
1872 | 1875 | | |
1873 | 1876 | | |
1874 | | - | |
| 1877 | + | |
1875 | 1878 | | |
1876 | 1879 | | |
1877 | 1880 | | |
| |||
1937 | 1940 | | |
1938 | 1941 | | |
1939 | 1942 | | |
1940 | | - | |
| 1943 | + | |
1941 | 1944 | | |
1942 | 1945 | | |
1943 | 1946 | | |
| |||
0 commit comments