File tree Expand file tree Collapse file tree 5 files changed +1022
-399
lines changed
Expand file tree Collapse file tree 5 files changed +1022
-399
lines changed Original file line number Diff line number Diff line change 11env :
22 browser : true
3- es2024 : true
3+ commonjs : true
44 node : true
55extends :
66 - eslint:recommended
@@ -12,13 +12,13 @@ globals:
1212 JSX : true
1313reportUnusedDisableDirectives : true
1414parser : " @typescript-eslint/parser"
15- parserOptions :
16- ecmaVersion : latest
17- sourceType : module
18- ecmaFeatures :
19- jsx : true
20- project :
21- - tsconfig.json
15+ # parserOptions:
16+ # ecmaVersion: latest
17+ # sourceType: module
18+ # ecmaFeatures:
19+ # jsx: true
20+ # project:
21+ # - tsconfig.json
2222settings :
2323 " import/resolver " :
2424 typescript :
@@ -31,6 +31,7 @@ plugins:
3131 - import
3232 - react-hooks
3333 - " @typescript-eslint"
34+ - " @docusaurus"
3435rules :
3536 {
3637 " semi " : [2, "always"],
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -30,6 +30,16 @@ export default async function createConfigAsync() {
3030 themes : [ "@docusaurus/theme-mermaid" ] ,
3131 markdown : { format : "detect" , mermaid : false } ,
3232 scripts : [ { src : styles , crossorigin : "anonymous" } ] ,
33+ future : {
34+ experimental_faster : {
35+ swcJsLoader : true ,
36+ swcJsMinimizer : true ,
37+ swcHtmlMinimizer : false ,
38+ lightningCssMinimizer : true ,
39+ rspackBundler : false ,
40+ mdxCrossCompilerCache : true ,
41+ } ,
42+ } ,
3343 plugins : [
3444 [
3545 "content-docs" ,
@@ -104,6 +114,12 @@ export default async function createConfigAsync() {
104114 [
105115 "classic" ,
106116 {
117+ svgr : {
118+ svgrConfig : {
119+ svgo : true ,
120+ typescript : true ,
121+ } ,
122+ } ,
107123 docs : {
108124 path : "docs" ,
109125 breadcrumbs : true ,
@@ -115,7 +131,7 @@ export default async function createConfigAsync() {
115131 if ( locale !== "en" ) {
116132 return `https://digitalclouds.crowdin.com/z-shell/${ locale } ` ;
117133 }
118- return `https://github.com/z-shell/wiki/tree /main/${ versionDocsDirPath } /${ docPath } ` ;
134+ return `https://github.com/z-shell/wiki/tr ee /main/${ versionDocsDirPath } /${ docPath } ` ;
119135 } ,
120136 showLastUpdateAuthor : true ,
121137 showLastUpdateTime : true ,
Original file line number Diff line number Diff line change 3636 },
3737 "dependencies" : {
3838 "@docusaurus/core" : " 3.7.0" ,
39+ "@docusaurus/faster" : " 3.7.0" ,
3940 "@docusaurus/plugin-ideal-image" : " 3.7.0" ,
4041 "@docusaurus/plugin-pwa" : " 3.7.0" ,
4142 "@docusaurus/preset-classic" : " 3.7.0" ,
5859 "@types/node" : " 22.13.13" ,
5960 "@typescript-eslint/eslint-plugin" : " 8.27.0" ,
6061 "@typescript-eslint/parser" : " 8.27.0" ,
61- "eslint" : " 9.23.0 " ,
62+ "eslint" : " 8.57.1 " ,
6263 "eslint-config-prettier" : " 10.1.1" ,
64+ "eslint-config-standard" : " 17.1.0" ,
6365 "eslint-import-resolver-typescript" : " 4.2.2" ,
6466 "eslint-plugin-import" : " 2.31.0" ,
67+ "eslint-plugin-n" : " ^15.0.0 || ^16.0.0 " ,
68+ "eslint-plugin-promise" : " ^6.0.0" ,
6569 "eslint-plugin-react" : " 7.37.4" ,
6670 "eslint-plugin-react-hooks" : " 5.2.0" ,
6771 "stylelint" : " 16.16.0" ,
8286 ]
8387 },
8488 "onlyBuiltDependencies" : [
89+ " @swc/core" ,
8590 " core-js" ,
8691 " core-js-pure" ,
8792 " sharp"
You can’t perform that action at this time.
0 commit comments