linthis 0.0.11__tar.gz → 0.0.13__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {linthis-0.0.11 → linthis-0.0.13}/Cargo.lock +1 -1
- {linthis-0.0.11 → linthis-0.0.13}/Cargo.toml +1 -1
- {linthis-0.0.11 → linthis-0.0.13}/PKG-INFO +115 -1
- {linthis-0.0.11 → linthis-0.0.13}/README.md +114 -0
- linthis-0.0.13/docs/assets/README.md +102 -0
- linthis-0.0.13/docs/assets/favicon.svg +26 -0
- linthis-0.0.13/docs/assets/logo.svg +30 -0
- linthis-0.0.13/docs/assets/preview.html +239 -0
- linthis-0.0.13/docs/development/changelog.zh.md +58 -0
- linthis-0.0.13/docs/development/contributing.zh.md +132 -0
- linthis-0.0.13/docs/development/roadmap.md +178 -0
- linthis-0.0.13/docs/development/roadmap.zh.md +178 -0
- linthis-0.0.13/docs/editors/vscode.md +366 -0
- linthis-0.0.13/docs/editors/vscode.zh.md +366 -0
- linthis-0.0.13/docs/features/auto-sync.zh.md +226 -0
- linthis-0.0.13/docs/features/git-hooks.zh.md +368 -0
- linthis-0.0.13/docs/features/plugins.zh.md +363 -0
- linthis-0.0.13/docs/features/self-update.zh.md +239 -0
- linthis-0.0.13/docs/features/watch-mode.zh.md +78 -0
- linthis-0.0.13/docs/getting-started/configuration.zh.md +141 -0
- linthis-0.0.13/docs/getting-started/installation.zh.md +63 -0
- linthis-0.0.13/docs/getting-started/quickstart.zh.md +111 -0
- linthis-0.0.13/docs/index.zh.md +48 -0
- linthis-0.0.13/docs/languages/cpp.zh.md +179 -0
- linthis-0.0.13/docs/languages/csharp.zh.md +171 -0
- linthis-0.0.13/docs/languages/dart.zh.md +154 -0
- linthis-0.0.13/docs/languages/go.zh.md +141 -0
- linthis-0.0.13/docs/languages/index.zh.md +74 -0
- linthis-0.0.13/docs/languages/java.zh.md +134 -0
- linthis-0.0.13/docs/languages/javascript.zh.md +136 -0
- linthis-0.0.13/docs/languages/kotlin.zh.md +151 -0
- linthis-0.0.13/docs/languages/lua.zh.md +159 -0
- linthis-0.0.13/docs/languages/objc.zh.md +133 -0
- linthis-0.0.13/docs/languages/php.zh.md +137 -0
- linthis-0.0.13/docs/languages/python.zh.md +148 -0
- linthis-0.0.13/docs/languages/ruby.zh.md +119 -0
- linthis-0.0.13/docs/languages/rust.zh.md +121 -0
- linthis-0.0.13/docs/languages/scala.zh.md +163 -0
- linthis-0.0.13/docs/languages/shell.zh.md +118 -0
- linthis-0.0.13/docs/languages/swift.zh.md +163 -0
- linthis-0.0.13/docs/languages/typescript.zh.md +204 -0
- linthis-0.0.13/docs/reference/cli.zh.md +299 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/reference/configuration.md +1 -1
- linthis-0.0.13/docs/reference/configuration.zh.md +500 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/requirements.txt +1 -0
- linthis-0.0.13/jetbrains-linthis/.gitignore +24 -0
- linthis-0.0.13/jetbrains-linthis/PUBLISHING.md +294 -0
- linthis-0.0.13/jetbrains-linthis/PUBLISHING.zh.md +294 -0
- linthis-0.0.13/jetbrains-linthis/README.md +174 -0
- linthis-0.0.13/jetbrains-linthis/build.gradle.kts +70 -0
- linthis-0.0.13/jetbrains-linthis/docs/images/settings.png +0 -0
- linthis-0.0.13/jetbrains-linthis/docs/images/tools-menu.png +0 -0
- linthis-0.0.13/jetbrains-linthis/gradle/wrapper/gradle-wrapper.jar +0 -0
- linthis-0.0.13/jetbrains-linthis/gradle/wrapper/gradle-wrapper.properties +7 -0
- linthis-0.0.13/jetbrains-linthis/gradle.properties +8 -0
- linthis-0.0.13/jetbrains-linthis/gradlew +251 -0
- linthis-0.0.13/jetbrains-linthis/gradlew.bat +94 -0
- linthis-0.0.13/jetbrains-linthis/settings.gradle.kts +12 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/LinthisLanguageClient.kt +41 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/LinthisLanguageServerFactory.kt +30 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/LinthisStartupListener.kt +87 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/LinthisStreamConnectionProvider.kt +88 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/actions/LinthisFormatAction.kt +94 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/actions/LinthisLintAction.kt +48 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/listeners/LinthisDocumentListener.kt +102 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/listeners/LinthisFileOpenListener.kt +37 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/settings/LinthisSettings.kt +65 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/settings/LinthisSettingsConfigurable.kt +107 -0
- linthis-0.0.13/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/util/LinthisExecutor.kt +217 -0
- linthis-0.0.13/jetbrains-linthis/src/main/resources/META-INF/plugin.xml +202 -0
- linthis-0.0.13/jetbrains-linthis/src/main/resources/images/settings.png +0 -0
- linthis-0.0.13/jetbrains-linthis/src/main/resources/messages/LinthisBundle.properties +3 -0
- {linthis-0.0.11 → linthis-0.0.13}/mkdocs.yml +42 -3
- linthis-0.0.13/nvim-linthis/LICENSE +21 -0
- linthis-0.0.13/nvim-linthis/PUBLISHING.md +263 -0
- linthis-0.0.13/nvim-linthis/PUBLISHING.zh.md +263 -0
- linthis-0.0.13/nvim-linthis/README.md +169 -0
- linthis-0.0.13/nvim-linthis/doc/linthis.txt +142 -0
- linthis-0.0.13/nvim-linthis/lua/linthis/config.lua +83 -0
- linthis-0.0.13/nvim-linthis/lua/linthis/init.lua +428 -0
- linthis-0.0.13/nvim-linthis/plugin/linthis.vim +16 -0
- linthis-0.0.13/nvim-linthis/test.sh +86 -0
- {linthis-0.0.11 → linthis-0.0.13}/pyproject.toml +1 -1
- {linthis-0.0.11 → linthis-0.0.13}/src/cache/types.rs +5 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/cpp.rs +1 -8
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/init.rs +2 -2
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/runner.rs +2 -3
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/converters/eslint.rs +6 -5
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/converters/prettier.rs +9 -9
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/mod.rs +1 -1
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/parsers/prettier.rs +33 -33
- {linthis-0.0.11 → linthis-0.0.13}/src/config/mod.rs +1 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/fixers/cpplint.rs +8 -11
- {linthis-0.0.11 → linthis-0.0.13}/src/fixers/source.rs +3 -5
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/cpp.rs +1 -1
- {linthis-0.0.11 → linthis-0.0.13}/src/interactive/menu.rs +0 -16
- {linthis-0.0.11 → linthis-0.0.13}/src/interactive/nolint.rs +4 -4
- {linthis-0.0.11 → linthis-0.0.13}/src/lib.rs +4 -6
- {linthis-0.0.11 → linthis-0.0.13}/src/lsp/diagnostics.rs +5 -2
- {linthis-0.0.11 → linthis-0.0.13}/src/lsp/document.rs +5 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/main.rs +2 -3
- {linthis-0.0.11 → linthis-0.0.13}/src/tui/ui.rs +1 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/integration/common.rs +2 -0
- linthis-0.0.13/vscode-linthis/.gitignore +5 -0
- linthis-0.0.13/vscode-linthis/.linthis.toml +13 -0
- linthis-0.0.13/vscode-linthis/.vscodeignore +18 -0
- linthis-0.0.13/vscode-linthis/CHANGELOG.md +11 -0
- linthis-0.0.13/vscode-linthis/LICENSE +21 -0
- linthis-0.0.13/vscode-linthis/PUBLISHING.md +304 -0
- linthis-0.0.13/vscode-linthis/PUBLISHING.zh.md +318 -0
- linthis-0.0.13/vscode-linthis/README.md +104 -0
- linthis-0.0.13/vscode-linthis/icon.png +0 -0
- linthis-0.0.13/vscode-linthis/package-lock.json +4459 -0
- linthis-0.0.13/vscode-linthis/package.json +144 -0
- linthis-0.0.13/vscode-linthis/src/extension.ts +490 -0
- linthis-0.0.13/vscode-linthis/src/test/runTest.ts +23 -0
- linthis-0.0.13/vscode-linthis/src/test/suite/extension.test.ts +32 -0
- linthis-0.0.13/vscode-linthis/src/test/suite/index.ts +34 -0
- linthis-0.0.13/vscode-linthis/tsconfig.json +19 -0
- linthis-0.0.13/vscode-linthis/webpack.config.js +39 -0
- linthis-0.0.11/docs/development/roadmap.md +0 -192
- {linthis-0.0.11 → linthis-0.0.13}/.github/workflows/release.yml +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/.gitignore +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/.readthedocs.yaml +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/CHANGELOG.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/defaults/.clang-tidy +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/defaults/config.toml +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/dev.sh +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/config-cli-design.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/development/changelog.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/development/contributing.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/features/auto-sync.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/features/git-hooks.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/features/plugins.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/features/self-update.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/features/watch-mode.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/getting-started/configuration.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/getting-started/installation.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/getting-started/quickstart.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/index.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/init-hooks-design.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/cpp.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/csharp.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/dart.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/go.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/index.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/java.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/javascript.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/kotlin.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/lua.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/objc.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/php.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/python.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/ruby.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/rust.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/scala.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/shell.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/swift.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/languages/typescript.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/plan-ruff-integration.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/reference/cli.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/docs/tasks.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/scripts/release.sh +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/benchmark.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cache/hash.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cache/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cache/storage.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/csharp.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/dart.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/go.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/java.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/kotlin.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/lua.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/php.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/python.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/ruby.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/rust.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/scala.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/shell.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/swift.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/traits.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/checkers/typescript.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/cache.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/commands.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/doctor.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/fix.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/helpers.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/hook.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/paths.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/plugin.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/recheck.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/report.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/cli/watch.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/config/cli.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/converters/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/converters/python.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/detect.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/parsers/eslint.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/parsers/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/parsers/python.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/config/migrate/validate.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/fixers/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/csharp.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/dart.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/go.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/java.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/kotlin.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/lua.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/php.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/python.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/ruby.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/rust.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/scala.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/shell.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/swift.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/traits.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/formatters/typescript.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/interactive/editor.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/interactive/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/interactive/quickfix.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/lsp/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/lsp/server.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/plugin/auto_sync.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/plugin/cache.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/plugin/config_manager.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/plugin/fetcher.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/plugin/loader.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/plugin/manifest.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/plugin/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/plugin/registry.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/presets/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/reports/consistency.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/reports/html.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/reports/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/reports/statistics.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/reports/templates.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/reports/trends.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/rules/config.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/rules/custom_checker.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/rules/filter.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/rules/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/self_update.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/templates/linter_configs.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/templates/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/templates/plugin_templates.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/templates/readme.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/tui/app.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/tui/event.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/tui/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/tui/widgets/file_tree.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/tui/widgets/help.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/tui/widgets/issue_list.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/tui/widgets/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/tui/widgets/status_bar.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/utils/language.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/utils/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/utils/output.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/utils/types.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/utils/unicode.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/utils/walker.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/watch/debounce.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/watch/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/watch/notifications.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/watch/state.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/src/watch/watcher.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/test-plugin-check/README.md +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/test-plugin-check/linthis-plugin.toml +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/cli_tests.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/fixtures/python/bad.py +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/fixtures/python/good.py +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/fixtures/python/unformatted.py +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/fixtures/rust/bad.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/fixtures/test-plugin/linthis-plugin.toml +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/fixtures/test-plugin/python/ruff.toml +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/fixtures/test-plugin/rust/clippy.toml +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/fixtures/test-plugin/rust/rustfmt.toml +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/fixtures/us1/good.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/fixtures/us1/unformatted.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/integration/cache_tests.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/integration/check_tests.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/integration/config_tests.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/integration/error_tests.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/integration/format_tests.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/integration/language_tests.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/integration/mod.rs +0 -0
- {linthis-0.0.11 → linthis-0.0.13}/tests/integration/plugin_tests.rs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: linthis
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.13
|
|
4
4
|
Classifier: Development Status :: 3 - Alpha
|
|
5
5
|
Classifier: Environment :: Console
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -582,6 +582,120 @@ All modifications preserve TOML file format and comments.
|
|
|
582
582
|
| Lua | luacheck | stylua |
|
|
583
583
|
| Dart | dart analyze | dart format |
|
|
584
584
|
|
|
585
|
+
## Editor Plugins
|
|
586
|
+
|
|
587
|
+
linthis provides official plugins for popular editors, offering seamless integration with format-on-save, manual lint/format commands, and configurable settings.
|
|
588
|
+
|
|
589
|
+
### VSCode
|
|
590
|
+
|
|
591
|
+
Install from [VS Marketplace](https://marketplace.visualstudio.com/items?itemName=zhlinh.linthis) or search "linthis" in VSCode Extensions.
|
|
592
|
+
|
|
593
|
+
**Features:**
|
|
594
|
+
- Format on Save (configurable)
|
|
595
|
+
- Manual Lint/Format commands via Command Palette
|
|
596
|
+
- Configurable executable path and additional arguments
|
|
597
|
+
- Status bar integration
|
|
598
|
+
|
|
599
|
+
**Installation via Command Palette:**
|
|
600
|
+
```
|
|
601
|
+
ext install zhlinh.linthis
|
|
602
|
+
```
|
|
603
|
+
|
|
604
|
+
**Configuration (settings.json):**
|
|
605
|
+
```json
|
|
606
|
+
{
|
|
607
|
+
"linthis.formatOnSave": true,
|
|
608
|
+
"linthis.executable.path": "",
|
|
609
|
+
"linthis.executable.additionalArguments": ""
|
|
610
|
+
}
|
|
611
|
+
```
|
|
612
|
+
|
|
613
|
+
📁 Source: [vscode-linthis](./vscode-linthis/)
|
|
614
|
+
|
|
615
|
+
### JetBrains (IntelliJ IDEA, WebStorm, PyCharm, etc.)
|
|
616
|
+
|
|
617
|
+
Install from [JetBrains Marketplace](https://plugins.jetbrains.com/plugin/XXXXX-linthis) or search "linthis" in IDE Settings → Plugins.
|
|
618
|
+
|
|
619
|
+
**Features:**
|
|
620
|
+
- Format on Save (configurable)
|
|
621
|
+
- Manual Lint/Format via Tools menu
|
|
622
|
+
- Configurable executable path and additional arguments
|
|
623
|
+
- Settings UI in Preferences → Tools → Linthis
|
|
624
|
+
|
|
625
|
+
**Installation:**
|
|
626
|
+
1. Open Settings/Preferences → Plugins
|
|
627
|
+
2. Search for "linthis"
|
|
628
|
+
3. Click Install and restart IDE
|
|
629
|
+
|
|
630
|
+
**Configuration:**
|
|
631
|
+
- Settings → Tools → Linthis
|
|
632
|
+
- Enable/disable Format on Save
|
|
633
|
+
- Set custom executable path
|
|
634
|
+
- Add additional command-line arguments
|
|
635
|
+
|
|
636
|
+
📁 Source: [jetbrains-linthis](./jetbrains-linthis/)
|
|
637
|
+
|
|
638
|
+
### Neovim
|
|
639
|
+
|
|
640
|
+
Install using your favorite plugin manager. Distributed via GitHub.
|
|
641
|
+
|
|
642
|
+
#### lazy.nvim (Recommended)
|
|
643
|
+
|
|
644
|
+
```lua
|
|
645
|
+
-- For monorepo (plugin in subdirectory)
|
|
646
|
+
{
|
|
647
|
+
"zhlinh/linthis",
|
|
648
|
+
subdir = "nvim-linthis",
|
|
649
|
+
config = function()
|
|
650
|
+
require("linthis").setup()
|
|
651
|
+
end,
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
-- For standalone repository
|
|
655
|
+
{
|
|
656
|
+
"zhlinh/nvim-linthis",
|
|
657
|
+
config = function()
|
|
658
|
+
require("linthis").setup()
|
|
659
|
+
end,
|
|
660
|
+
}
|
|
661
|
+
```
|
|
662
|
+
|
|
663
|
+
#### packer.nvim
|
|
664
|
+
|
|
665
|
+
```lua
|
|
666
|
+
-- For monorepo
|
|
667
|
+
use {
|
|
668
|
+
"zhlinh/linthis",
|
|
669
|
+
rtp = "nvim-linthis",
|
|
670
|
+
config = function()
|
|
671
|
+
require("linthis").setup()
|
|
672
|
+
end,
|
|
673
|
+
}
|
|
674
|
+
```
|
|
675
|
+
|
|
676
|
+
#### vim-plug
|
|
677
|
+
|
|
678
|
+
```vim
|
|
679
|
+
" For monorepo
|
|
680
|
+
Plug 'zhlinh/linthis', { 'rtp': 'nvim-linthis' }
|
|
681
|
+
```
|
|
682
|
+
|
|
683
|
+
**Features:**
|
|
684
|
+
- Format on Save (configurable)
|
|
685
|
+
- Commands: `:LinthisLint`, `:LinthisFormat`, `:LinthisLintFormat`
|
|
686
|
+
- Configurable via `setup()` options
|
|
687
|
+
|
|
688
|
+
**Configuration:**
|
|
689
|
+
```lua
|
|
690
|
+
require("linthis").setup({
|
|
691
|
+
format_on_save = true,
|
|
692
|
+
executable = "linthis",
|
|
693
|
+
additional_args = {},
|
|
694
|
+
})
|
|
695
|
+
```
|
|
696
|
+
|
|
697
|
+
📁 Source: [nvim-linthis](./nvim-linthis/)
|
|
698
|
+
|
|
585
699
|
## Usage Scenarios
|
|
586
700
|
|
|
587
701
|
### Pre-commit Hook
|
|
@@ -560,6 +560,120 @@ All modifications preserve TOML file format and comments.
|
|
|
560
560
|
| Lua | luacheck | stylua |
|
|
561
561
|
| Dart | dart analyze | dart format |
|
|
562
562
|
|
|
563
|
+
## Editor Plugins
|
|
564
|
+
|
|
565
|
+
linthis provides official plugins for popular editors, offering seamless integration with format-on-save, manual lint/format commands, and configurable settings.
|
|
566
|
+
|
|
567
|
+
### VSCode
|
|
568
|
+
|
|
569
|
+
Install from [VS Marketplace](https://marketplace.visualstudio.com/items?itemName=zhlinh.linthis) or search "linthis" in VSCode Extensions.
|
|
570
|
+
|
|
571
|
+
**Features:**
|
|
572
|
+
- Format on Save (configurable)
|
|
573
|
+
- Manual Lint/Format commands via Command Palette
|
|
574
|
+
- Configurable executable path and additional arguments
|
|
575
|
+
- Status bar integration
|
|
576
|
+
|
|
577
|
+
**Installation via Command Palette:**
|
|
578
|
+
```
|
|
579
|
+
ext install zhlinh.linthis
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
**Configuration (settings.json):**
|
|
583
|
+
```json
|
|
584
|
+
{
|
|
585
|
+
"linthis.formatOnSave": true,
|
|
586
|
+
"linthis.executable.path": "",
|
|
587
|
+
"linthis.executable.additionalArguments": ""
|
|
588
|
+
}
|
|
589
|
+
```
|
|
590
|
+
|
|
591
|
+
📁 Source: [vscode-linthis](./vscode-linthis/)
|
|
592
|
+
|
|
593
|
+
### JetBrains (IntelliJ IDEA, WebStorm, PyCharm, etc.)
|
|
594
|
+
|
|
595
|
+
Install from [JetBrains Marketplace](https://plugins.jetbrains.com/plugin/XXXXX-linthis) or search "linthis" in IDE Settings → Plugins.
|
|
596
|
+
|
|
597
|
+
**Features:**
|
|
598
|
+
- Format on Save (configurable)
|
|
599
|
+
- Manual Lint/Format via Tools menu
|
|
600
|
+
- Configurable executable path and additional arguments
|
|
601
|
+
- Settings UI in Preferences → Tools → Linthis
|
|
602
|
+
|
|
603
|
+
**Installation:**
|
|
604
|
+
1. Open Settings/Preferences → Plugins
|
|
605
|
+
2. Search for "linthis"
|
|
606
|
+
3. Click Install and restart IDE
|
|
607
|
+
|
|
608
|
+
**Configuration:**
|
|
609
|
+
- Settings → Tools → Linthis
|
|
610
|
+
- Enable/disable Format on Save
|
|
611
|
+
- Set custom executable path
|
|
612
|
+
- Add additional command-line arguments
|
|
613
|
+
|
|
614
|
+
📁 Source: [jetbrains-linthis](./jetbrains-linthis/)
|
|
615
|
+
|
|
616
|
+
### Neovim
|
|
617
|
+
|
|
618
|
+
Install using your favorite plugin manager. Distributed via GitHub.
|
|
619
|
+
|
|
620
|
+
#### lazy.nvim (Recommended)
|
|
621
|
+
|
|
622
|
+
```lua
|
|
623
|
+
-- For monorepo (plugin in subdirectory)
|
|
624
|
+
{
|
|
625
|
+
"zhlinh/linthis",
|
|
626
|
+
subdir = "nvim-linthis",
|
|
627
|
+
config = function()
|
|
628
|
+
require("linthis").setup()
|
|
629
|
+
end,
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
-- For standalone repository
|
|
633
|
+
{
|
|
634
|
+
"zhlinh/nvim-linthis",
|
|
635
|
+
config = function()
|
|
636
|
+
require("linthis").setup()
|
|
637
|
+
end,
|
|
638
|
+
}
|
|
639
|
+
```
|
|
640
|
+
|
|
641
|
+
#### packer.nvim
|
|
642
|
+
|
|
643
|
+
```lua
|
|
644
|
+
-- For monorepo
|
|
645
|
+
use {
|
|
646
|
+
"zhlinh/linthis",
|
|
647
|
+
rtp = "nvim-linthis",
|
|
648
|
+
config = function()
|
|
649
|
+
require("linthis").setup()
|
|
650
|
+
end,
|
|
651
|
+
}
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
#### vim-plug
|
|
655
|
+
|
|
656
|
+
```vim
|
|
657
|
+
" For monorepo
|
|
658
|
+
Plug 'zhlinh/linthis', { 'rtp': 'nvim-linthis' }
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
**Features:**
|
|
662
|
+
- Format on Save (configurable)
|
|
663
|
+
- Commands: `:LinthisLint`, `:LinthisFormat`, `:LinthisLintFormat`
|
|
664
|
+
- Configurable via `setup()` options
|
|
665
|
+
|
|
666
|
+
**Configuration:**
|
|
667
|
+
```lua
|
|
668
|
+
require("linthis").setup({
|
|
669
|
+
format_on_save = true,
|
|
670
|
+
executable = "linthis",
|
|
671
|
+
additional_args = {},
|
|
672
|
+
})
|
|
673
|
+
```
|
|
674
|
+
|
|
675
|
+
📁 Source: [nvim-linthis](./nvim-linthis/)
|
|
676
|
+
|
|
563
677
|
## Usage Scenarios
|
|
564
678
|
|
|
565
679
|
### Pre-commit Hook
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Linthis Brand Assets
|
|
2
|
+
|
|
3
|
+
## Logo & Icon Design
|
|
4
|
+
|
|
5
|
+
This directory contains the brand assets for linthis documentation.
|
|
6
|
+
|
|
7
|
+
### Files
|
|
8
|
+
|
|
9
|
+
- **logo.svg** - Main logo for documentation pages (200x200px)
|
|
10
|
+
- **favicon.svg** - Browser tab icon (64x64px)
|
|
11
|
+
|
|
12
|
+
### Design Concept
|
|
13
|
+
|
|
14
|
+
The linthis logo represents the core functionality of the tool:
|
|
15
|
+
|
|
16
|
+
#### Visual Elements
|
|
17
|
+
|
|
18
|
+
1. **Check Mark (✓)**
|
|
19
|
+
- Represents code **linting** and validation
|
|
20
|
+
- Central element showing correctness and quality
|
|
21
|
+
- Bold stroke for visibility
|
|
22
|
+
|
|
23
|
+
2. **Code Lines**
|
|
24
|
+
- Top left: Unformatted code lines (varying lengths)
|
|
25
|
+
- Bottom right: Formatted code lines (aligned)
|
|
26
|
+
- Represents the **formatter** functionality
|
|
27
|
+
|
|
28
|
+
3. **Multi-layer Design**
|
|
29
|
+
- Multiple elements symbolize **multi-language support**
|
|
30
|
+
- Different opacities create depth
|
|
31
|
+
|
|
32
|
+
#### Color Scheme
|
|
33
|
+
|
|
34
|
+
- **Primary Color**: Blue (#2196f3)
|
|
35
|
+
- Represents clarity, trust, and professionalism
|
|
36
|
+
- Associated with code quality and development tools
|
|
37
|
+
- High contrast for visibility
|
|
38
|
+
|
|
39
|
+
- **Accent Color**: Light Blue (#64b5f6)
|
|
40
|
+
- Used for secondary elements
|
|
41
|
+
- Creates visual hierarchy
|
|
42
|
+
|
|
43
|
+
#### Typography
|
|
44
|
+
|
|
45
|
+
- Font: Arial, sans-serif (bold)
|
|
46
|
+
- Text: "LTS" at bottom (Lint This)
|
|
47
|
+
- Color: Blue with 80% opacity
|
|
48
|
+
- Size: Proportional to logo size
|
|
49
|
+
|
|
50
|
+
### Design Inspiration
|
|
51
|
+
|
|
52
|
+
Inspired by the ccgo logo style:
|
|
53
|
+
- Clean, modern aesthetic
|
|
54
|
+
- Circular/rounded design for logo
|
|
55
|
+
- Square with rounded corners for favicon
|
|
56
|
+
- Professional developer tool appearance
|
|
57
|
+
|
|
58
|
+
### Usage
|
|
59
|
+
|
|
60
|
+
#### In MkDocs
|
|
61
|
+
|
|
62
|
+
The logo and favicon are configured in `mkdocs.yml`:
|
|
63
|
+
|
|
64
|
+
```yaml
|
|
65
|
+
theme:
|
|
66
|
+
name: material
|
|
67
|
+
logo: assets/logo.svg
|
|
68
|
+
favicon: assets/favicon.svg
|
|
69
|
+
palette:
|
|
70
|
+
- scheme: default
|
|
71
|
+
primary: blue
|
|
72
|
+
accent: light blue
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
#### Standalone Usage
|
|
76
|
+
|
|
77
|
+
Both SVG files can be used independently:
|
|
78
|
+
- As favicons for web applications
|
|
79
|
+
- In documentation
|
|
80
|
+
- In README files
|
|
81
|
+
- On project websites
|
|
82
|
+
|
|
83
|
+
### Color Palette
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
Primary Blue: #2196f3
|
|
87
|
+
Light Blue: #64b5f6
|
|
88
|
+
Background: #2196f3 (10% opacity)
|
|
89
|
+
Border: #2196f3
|
|
90
|
+
Text: #2196f3 (80% opacity)
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Accessibility
|
|
94
|
+
|
|
95
|
+
- High contrast between logo and background
|
|
96
|
+
- Clear, recognizable shapes
|
|
97
|
+
- Scalable vector format (SVG)
|
|
98
|
+
- Works in both light and dark modes
|
|
99
|
+
|
|
100
|
+
### License
|
|
101
|
+
|
|
102
|
+
Same as linthis project - MIT License
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
|
|
2
|
+
<!-- Background -->
|
|
3
|
+
<rect width="64" height="64" fill="#2196f3" rx="8"/>
|
|
4
|
+
|
|
5
|
+
<!-- Code lines (top left) -->
|
|
6
|
+
<g stroke="white" stroke-width="2" stroke-linecap="round" opacity="0.7">
|
|
7
|
+
<line x1="8" y1="12" x2="28" y2="12"/>
|
|
8
|
+
<line x1="8" y1="18" x2="35" y2="18"/>
|
|
9
|
+
<line x1="8" y1="24" x2="25" y2="24"/>
|
|
10
|
+
</g>
|
|
11
|
+
|
|
12
|
+
<!-- Check mark (✓) - centered -->
|
|
13
|
+
<path d="M 18 38 L 28 48 L 48 26"
|
|
14
|
+
fill="none" stroke="white" stroke-width="6"
|
|
15
|
+
stroke-linecap="round" stroke-linejoin="round"/>
|
|
16
|
+
|
|
17
|
+
<!-- Format lines (bottom right) -->
|
|
18
|
+
<g stroke="white" stroke-width="2" stroke-linecap="round" opacity="0.7">
|
|
19
|
+
<line x1="36" y1="42" x2="56" y2="42"/>
|
|
20
|
+
<line x1="36" y1="36" x2="56" y2="36"/>
|
|
21
|
+
</g>
|
|
22
|
+
|
|
23
|
+
<!-- "LTS" text at bottom -->
|
|
24
|
+
<text x="32" y="62" font-family="Arial, sans-serif" font-size="10"
|
|
25
|
+
font-weight="bold" text-anchor="middle" fill="white" opacity="0.9">LTS</text>
|
|
26
|
+
</svg>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">
|
|
2
|
+
<!-- Background circle -->
|
|
3
|
+
<circle cx="100" cy="100" r="95" fill="#2196f3" opacity="0.1"/>
|
|
4
|
+
|
|
5
|
+
<!-- Main circle -->
|
|
6
|
+
<circle cx="100" cy="100" r="85" fill="none" stroke="#2196f3" stroke-width="3"/>
|
|
7
|
+
|
|
8
|
+
<!-- Code lines representing multi-language support -->
|
|
9
|
+
<g stroke="#2196f3" stroke-width="2.5" stroke-linecap="round" opacity="0.6">
|
|
10
|
+
<line x1="55" y1="50" x2="90" y2="50"/>
|
|
11
|
+
<line x1="55" y1="62" x2="100" y2="62"/>
|
|
12
|
+
<line x1="55" y1="74" x2="85" y2="74"/>
|
|
13
|
+
</g>
|
|
14
|
+
|
|
15
|
+
<!-- Check mark (✓) representing linting -->
|
|
16
|
+
<path d="M 65 115 L 85 135 L 135 75"
|
|
17
|
+
fill="none" stroke="#2196f3" stroke-width="12"
|
|
18
|
+
stroke-linecap="round" stroke-linejoin="round"/>
|
|
19
|
+
|
|
20
|
+
<!-- Format indicator - aligned lines on right -->
|
|
21
|
+
<g stroke="#64b5f6" stroke-width="2.5" stroke-linecap="round" opacity="0.6">
|
|
22
|
+
<line x1="110" y1="126" x2="145" y2="126"/>
|
|
23
|
+
<line x1="110" y1="138" x2="145" y2="138"/>
|
|
24
|
+
<line x1="110" y1="150" x2="145" y2="150"/>
|
|
25
|
+
</g>
|
|
26
|
+
|
|
27
|
+
<!-- "LTS" text at bottom -->
|
|
28
|
+
<text x="100" y="170" font-family="Arial, sans-serif" font-size="24"
|
|
29
|
+
font-weight="bold" text-anchor="middle" fill="#2196f3" opacity="0.8">LTS</text>
|
|
30
|
+
</svg>
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Linthis Logo Preview</title>
|
|
7
|
+
<style>
|
|
8
|
+
* {
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
body {
|
|
15
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
|
|
16
|
+
padding: 40px;
|
|
17
|
+
background: #f5f5f5;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.container {
|
|
21
|
+
max-width: 1200px;
|
|
22
|
+
margin: 0 auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h1 {
|
|
26
|
+
color: #333;
|
|
27
|
+
margin-bottom: 40px;
|
|
28
|
+
text-align: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.section {
|
|
32
|
+
background: white;
|
|
33
|
+
border-radius: 8px;
|
|
34
|
+
padding: 30px;
|
|
35
|
+
margin-bottom: 30px;
|
|
36
|
+
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
h2 {
|
|
40
|
+
color: #2196f3;
|
|
41
|
+
margin-bottom: 20px;
|
|
42
|
+
border-bottom: 2px solid #2196f3;
|
|
43
|
+
padding-bottom: 10px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.logo-grid {
|
|
47
|
+
display: grid;
|
|
48
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
49
|
+
gap: 30px;
|
|
50
|
+
margin-top: 20px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.logo-item {
|
|
54
|
+
text-align: center;
|
|
55
|
+
padding: 20px;
|
|
56
|
+
border: 1px solid #e0e0e0;
|
|
57
|
+
border-radius: 8px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.logo-item h3 {
|
|
61
|
+
margin: 15px 0 10px;
|
|
62
|
+
color: #555;
|
|
63
|
+
font-size: 16px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.logo-item p {
|
|
67
|
+
color: #888;
|
|
68
|
+
font-size: 14px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.light-bg {
|
|
72
|
+
background: #ffffff;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.dark-bg {
|
|
76
|
+
background: #263238;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.color-swatch {
|
|
80
|
+
display: inline-block;
|
|
81
|
+
width: 80px;
|
|
82
|
+
height: 80px;
|
|
83
|
+
border-radius: 8px;
|
|
84
|
+
margin: 10px;
|
|
85
|
+
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.color-info {
|
|
89
|
+
display: inline-block;
|
|
90
|
+
vertical-align: top;
|
|
91
|
+
margin-left: 10px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.color-section {
|
|
95
|
+
margin: 20px 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.favicon-preview {
|
|
99
|
+
display: inline-block;
|
|
100
|
+
width: 64px;
|
|
101
|
+
height: 64px;
|
|
102
|
+
margin: 0 10px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.usage-example {
|
|
106
|
+
background: #f9f9f9;
|
|
107
|
+
padding: 15px;
|
|
108
|
+
border-radius: 4px;
|
|
109
|
+
margin: 15px 0;
|
|
110
|
+
font-family: 'Courier New', monospace;
|
|
111
|
+
font-size: 14px;
|
|
112
|
+
overflow-x: auto;
|
|
113
|
+
}
|
|
114
|
+
</style>
|
|
115
|
+
</head>
|
|
116
|
+
<body>
|
|
117
|
+
<div class="container">
|
|
118
|
+
<h1>🎨 Linthis Brand Assets</h1>
|
|
119
|
+
|
|
120
|
+
<!-- Logo Preview Section -->
|
|
121
|
+
<div class="section">
|
|
122
|
+
<h2>Main Logo (logo.svg)</h2>
|
|
123
|
+
<div class="logo-grid">
|
|
124
|
+
<div class="logo-item light-bg">
|
|
125
|
+
<img src="logo.svg" width="200" height="200" alt="Linthis Logo">
|
|
126
|
+
<h3>Light Background</h3>
|
|
127
|
+
<p>Primary usage</p>
|
|
128
|
+
</div>
|
|
129
|
+
<div class="logo-item dark-bg">
|
|
130
|
+
<img src="logo.svg" width="200" height="200" alt="Linthis Logo">
|
|
131
|
+
<h3>Dark Background</h3>
|
|
132
|
+
<p>Dark mode</p>
|
|
133
|
+
</div>
|
|
134
|
+
<div class="logo-item light-bg">
|
|
135
|
+
<img src="logo.svg" width="100" height="100" alt="Linthis Logo">
|
|
136
|
+
<h3>Small Size</h3>
|
|
137
|
+
<p>100×100px</p>
|
|
138
|
+
</div>
|
|
139
|
+
<div class="logo-item light-bg">
|
|
140
|
+
<img src="logo.svg" width="50" height="50" alt="Linthis Logo">
|
|
141
|
+
<h3>Icon Size</h3>
|
|
142
|
+
<p>50×50px</p>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
|
|
147
|
+
<!-- Favicon Preview Section -->
|
|
148
|
+
<div class="section">
|
|
149
|
+
<h2>Favicon (favicon.svg)</h2>
|
|
150
|
+
<div style="text-align: center; padding: 20px;">
|
|
151
|
+
<div style="display: inline-block; margin: 0 20px;">
|
|
152
|
+
<h3 style="margin-bottom: 15px;">64×64px (Standard)</h3>
|
|
153
|
+
<img src="favicon.svg" class="favicon-preview" alt="Favicon">
|
|
154
|
+
</div>
|
|
155
|
+
<div style="display: inline-block; margin: 0 20px;">
|
|
156
|
+
<h3 style="margin-bottom: 15px;">32×32px (Small)</h3>
|
|
157
|
+
<img src="favicon.svg" width="32" height="32" alt="Favicon Small">
|
|
158
|
+
</div>
|
|
159
|
+
<div style="display: inline-block; margin: 0 20px;">
|
|
160
|
+
<h3 style="margin-bottom: 15px;">16×16px (Tiny)</h3>
|
|
161
|
+
<img src="favicon.svg" width="16" height="16" alt="Favicon Tiny">
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
|
|
166
|
+
<!-- Design Elements Section -->
|
|
167
|
+
<div class="section">
|
|
168
|
+
<h2>Design Elements</h2>
|
|
169
|
+
<div style="padding: 20px;">
|
|
170
|
+
<h3 style="margin: 20px 0 10px;">✓ Check Mark</h3>
|
|
171
|
+
<p>Represents code linting and validation</p>
|
|
172
|
+
|
|
173
|
+
<h3 style="margin: 20px 0 10px;">― Code Lines</h3>
|
|
174
|
+
<p>Top: Unformatted code | Bottom: Formatted code</p>
|
|
175
|
+
|
|
176
|
+
<h3 style="margin: 20px 0 10px;">○ Circle Frame</h3>
|
|
177
|
+
<p>Professional, complete, unified design</p>
|
|
178
|
+
</div>
|
|
179
|
+
</div>
|
|
180
|
+
|
|
181
|
+
<!-- Color Palette Section -->
|
|
182
|
+
<div class="section">
|
|
183
|
+
<h2>Color Palette</h2>
|
|
184
|
+
<div class="color-section">
|
|
185
|
+
<div style="margin: 20px 0;">
|
|
186
|
+
<div class="color-swatch" style="background: #2196f3;"></div>
|
|
187
|
+
<div class="color-info">
|
|
188
|
+
<h3>Primary Blue</h3>
|
|
189
|
+
<p><strong>#2196f3</strong></p>
|
|
190
|
+
<p>Main logo color, borders, text</p>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
<div style="margin: 20px 0;">
|
|
194
|
+
<div class="color-swatch" style="background: #64b5f6;"></div>
|
|
195
|
+
<div class="color-info">
|
|
196
|
+
<h3>Light Blue</h3>
|
|
197
|
+
<p><strong>#64b5f6</strong></p>
|
|
198
|
+
<p>Secondary elements, accents</p>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
<div style="margin: 20px 0;">
|
|
202
|
+
<div class="color-swatch" style="background: rgba(33, 150, 243, 0.1); border: 1px solid #ddd;"></div>
|
|
203
|
+
<div class="color-info">
|
|
204
|
+
<h3>Background Tint</h3>
|
|
205
|
+
<p><strong>#2196f3 @ 10% opacity</strong></p>
|
|
206
|
+
<p>Subtle background circle</p>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
211
|
+
|
|
212
|
+
<!-- Usage Examples Section -->
|
|
213
|
+
<div class="section">
|
|
214
|
+
<h2>Usage in MkDocs</h2>
|
|
215
|
+
<div class="usage-example">
|
|
216
|
+
theme:<br>
|
|
217
|
+
name: material<br>
|
|
218
|
+
logo: assets/logo.svg<br>
|
|
219
|
+
favicon: assets/favicon.svg<br>
|
|
220
|
+
palette:<br>
|
|
221
|
+
- scheme: default<br>
|
|
222
|
+
primary: blue<br>
|
|
223
|
+
accent: light blue
|
|
224
|
+
</div>
|
|
225
|
+
</div>
|
|
226
|
+
|
|
227
|
+
<!-- Browser Tab Preview -->
|
|
228
|
+
<div class="section">
|
|
229
|
+
<h2>Browser Tab Preview</h2>
|
|
230
|
+
<div style="padding: 20px; text-align: center;">
|
|
231
|
+
<div style="display: inline-block; border: 1px solid #ddd; border-radius: 8px 8px 0 0; padding: 10px 20px; background: #f5f5f5;">
|
|
232
|
+
<img src="favicon.svg" width="16" height="16" style="vertical-align: middle; margin-right: 8px;" alt="Tab Icon">
|
|
233
|
+
<span style="font-size: 14px; color: #333;">linthis - Fast multi-language linter</span>
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
</div>
|
|
238
|
+
</body>
|
|
239
|
+
</html>
|