mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
cf958bacd1
* Start * Use MathJax v3 * Format * Improve font-size * Lint * Better handle loading * Copy MathJax assets to public folder * Attempt at using local assets for MathJax * Use bun 1.0.31 * Try with bun 1.0.33 * Try fixing headers * Simplify * Simplify and not use suspense module * Cleanup more * Add test for Math * Make math block scroll if needed * Update packages/react-math/src/KaTeX.tsx Co-authored-by: Greg Bergé <berge.greg@gmail.com> * Use React.use * Format * Use exports * Lint * Disable cache in CI for lint * Format --------- Co-authored-by: Greg Bergé <berge.greg@gmail.com>
32 lines
944 B
JSON
32 lines
944 B
JSON
{
|
|
"extends": "next/core-web-vitals",
|
|
"plugins": ["import"],
|
|
"rules": {
|
|
"import/order": [
|
|
"error",
|
|
{
|
|
"groups": ["builtin", "external", ["internal", "parent", "sibling", "index"]],
|
|
"newlines-between": "always",
|
|
"distinctGroup": true,
|
|
"pathGroups": [
|
|
{
|
|
"pattern": "@/**",
|
|
"group": "external",
|
|
"position": "after"
|
|
},
|
|
{
|
|
"pattern": "@gitbook/**",
|
|
"group": "external",
|
|
"position": "after"
|
|
}
|
|
],
|
|
"alphabetize": {
|
|
"order": "asc",
|
|
"caseInsensitive": true
|
|
}
|
|
}
|
|
],
|
|
"@next/next/no-img-element": ["off"]
|
|
}
|
|
}
|