linthis 0.0.13__tar.gz → 0.2.0__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.
Files changed (335) hide show
  1. {linthis-0.0.13 → linthis-0.2.0}/Cargo.lock +355 -2
  2. {linthis-0.0.13 → linthis-0.2.0}/Cargo.toml +5 -1
  3. {linthis-0.0.13 → linthis-0.2.0}/PKG-INFO +1 -1
  4. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/build.gradle.kts +5 -4
  5. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/resources/META-INF/plugin.xml +10 -3
  6. linthis-0.2.0/jetbrains-linthis/src/main/resources/META-INF/pluginIcon.svg +29 -0
  7. linthis-0.2.0/jetbrains-linthis/src/main/resources/META-INF/pluginIcon_dark.svg +29 -0
  8. {linthis-0.0.13 → linthis-0.2.0}/nvim-linthis/README.md +64 -10
  9. {linthis-0.0.13 → linthis-0.2.0}/nvim-linthis/doc/linthis.txt +1 -1
  10. {linthis-0.0.13 → linthis-0.2.0}/nvim-linthis/lua/linthis/init.lua +186 -10
  11. {linthis-0.0.13 → linthis-0.2.0}/nvim-linthis/plugin/linthis.vim +3 -3
  12. {linthis-0.0.13 → linthis-0.2.0}/pyproject.toml +1 -1
  13. {linthis-0.0.13 → linthis-0.2.0}/scripts/release.sh +3 -3
  14. linthis-0.2.0/src/ai/context.rs +371 -0
  15. linthis-0.2.0/src/ai/mod.rs +41 -0
  16. linthis-0.2.0/src/ai/prompts.rs +610 -0
  17. linthis-0.2.0/src/ai/provider.rs +544 -0
  18. linthis-0.2.0/src/ai/suggestions.rs +869 -0
  19. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/cpp.rs +50 -5
  20. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/python.rs +17 -1
  21. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/typescript.rs +66 -0
  22. {linthis-0.0.13 → linthis-0.2.0}/src/cli/commands.rs +241 -10
  23. linthis-0.2.0/src/cli/complexity.rs +150 -0
  24. linthis-0.2.0/src/cli/fix.rs +539 -0
  25. {linthis-0.0.13 → linthis-0.2.0}/src/cli/helpers.rs +27 -3
  26. {linthis-0.0.13 → linthis-0.2.0}/src/cli/hook.rs +6 -6
  27. linthis-0.2.0/src/cli/license.rs +128 -0
  28. {linthis-0.0.13 → linthis-0.2.0}/src/cli/mod.rs +7 -4
  29. linthis-0.2.0/src/cli/security.rs +148 -0
  30. linthis-0.2.0/src/complexity/analyzer.rs +384 -0
  31. linthis-0.2.0/src/complexity/languages/go.rs +376 -0
  32. linthis-0.2.0/src/complexity/languages/java.rs +451 -0
  33. linthis-0.2.0/src/complexity/languages/mod.rs +23 -0
  34. linthis-0.2.0/src/complexity/languages/python.rs +373 -0
  35. linthis-0.2.0/src/complexity/languages/rust.rs +438 -0
  36. linthis-0.2.0/src/complexity/languages/typescript.rs +392 -0
  37. linthis-0.2.0/src/complexity/metrics.rs +308 -0
  38. linthis-0.2.0/src/complexity/mod.rs +46 -0
  39. linthis-0.2.0/src/complexity/report.rs +450 -0
  40. linthis-0.2.0/src/complexity/thresholds.rs +213 -0
  41. linthis-0.2.0/src/interactive/ai_fix.rs +1343 -0
  42. {linthis-0.0.13 → linthis-0.2.0}/src/interactive/menu.rs +43 -4
  43. {linthis-0.0.13 → linthis-0.2.0}/src/interactive/mod.rs +3 -0
  44. {linthis-0.0.13 → linthis-0.2.0}/src/lib.rs +4 -0
  45. linthis-0.2.0/src/license/languages/go.rs +171 -0
  46. linthis-0.2.0/src/license/languages/java.rs +254 -0
  47. linthis-0.2.0/src/license/languages/mod.rs +23 -0
  48. linthis-0.2.0/src/license/languages/node.rs +170 -0
  49. linthis-0.2.0/src/license/languages/python.rs +169 -0
  50. linthis-0.2.0/src/license/languages/rust.rs +170 -0
  51. linthis-0.2.0/src/license/mod.rs +49 -0
  52. linthis-0.2.0/src/license/policy.rs +339 -0
  53. linthis-0.2.0/src/license/report.rs +293 -0
  54. linthis-0.2.0/src/license/scanner.rs +280 -0
  55. linthis-0.2.0/src/license/spdx.rs +304 -0
  56. {linthis-0.0.13 → linthis-0.2.0}/src/main.rs +123 -40
  57. linthis-0.2.0/src/security/advisories.rs +278 -0
  58. linthis-0.2.0/src/security/languages/go.rs +288 -0
  59. linthis-0.2.0/src/security/languages/java.rs +278 -0
  60. linthis-0.2.0/src/security/languages/mod.rs +23 -0
  61. linthis-0.2.0/src/security/languages/node.rs +236 -0
  62. linthis-0.2.0/src/security/languages/python.rs +193 -0
  63. linthis-0.2.0/src/security/languages/rust.rs +258 -0
  64. linthis-0.2.0/src/security/mod.rs +48 -0
  65. linthis-0.2.0/src/security/report.rs +370 -0
  66. linthis-0.2.0/src/security/scanner.rs +351 -0
  67. linthis-0.2.0/src/security/vulnerability.rs +257 -0
  68. {linthis-0.0.13 → linthis-0.2.0}/src/utils/output.rs +42 -45
  69. linthis-0.2.0/vscode-linthis/icon.png +0 -0
  70. linthis-0.2.0/vscode-linthis/icon.svg +30 -0
  71. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/package.json +1 -1
  72. linthis-0.0.13/src/cli/fix.rs +0 -119
  73. linthis-0.0.13/vscode-linthis/icon.png +0 -0
  74. {linthis-0.0.13 → linthis-0.2.0}/.github/workflows/release.yml +0 -0
  75. {linthis-0.0.13 → linthis-0.2.0}/.gitignore +0 -0
  76. {linthis-0.0.13 → linthis-0.2.0}/.readthedocs.yaml +0 -0
  77. {linthis-0.0.13 → linthis-0.2.0}/CHANGELOG.md +0 -0
  78. {linthis-0.0.13 → linthis-0.2.0}/README.md +0 -0
  79. {linthis-0.0.13 → linthis-0.2.0}/defaults/.clang-tidy +0 -0
  80. {linthis-0.0.13 → linthis-0.2.0}/defaults/config.toml +0 -0
  81. {linthis-0.0.13 → linthis-0.2.0}/dev.sh +0 -0
  82. {linthis-0.0.13 → linthis-0.2.0}/docs/assets/README.md +0 -0
  83. {linthis-0.0.13 → linthis-0.2.0}/docs/assets/favicon.svg +0 -0
  84. {linthis-0.0.13 → linthis-0.2.0}/docs/assets/logo.svg +0 -0
  85. {linthis-0.0.13 → linthis-0.2.0}/docs/assets/preview.html +0 -0
  86. {linthis-0.0.13 → linthis-0.2.0}/docs/config-cli-design.md +0 -0
  87. {linthis-0.0.13 → linthis-0.2.0}/docs/development/changelog.md +0 -0
  88. {linthis-0.0.13 → linthis-0.2.0}/docs/development/changelog.zh.md +0 -0
  89. {linthis-0.0.13 → linthis-0.2.0}/docs/development/contributing.md +0 -0
  90. {linthis-0.0.13 → linthis-0.2.0}/docs/development/contributing.zh.md +0 -0
  91. {linthis-0.0.13 → linthis-0.2.0}/docs/development/roadmap.md +0 -0
  92. {linthis-0.0.13 → linthis-0.2.0}/docs/development/roadmap.zh.md +0 -0
  93. {linthis-0.0.13 → linthis-0.2.0}/docs/editors/vscode.md +0 -0
  94. {linthis-0.0.13 → linthis-0.2.0}/docs/editors/vscode.zh.md +0 -0
  95. {linthis-0.0.13 → linthis-0.2.0}/docs/features/auto-sync.md +0 -0
  96. {linthis-0.0.13 → linthis-0.2.0}/docs/features/auto-sync.zh.md +0 -0
  97. {linthis-0.0.13 → linthis-0.2.0}/docs/features/git-hooks.md +0 -0
  98. {linthis-0.0.13 → linthis-0.2.0}/docs/features/git-hooks.zh.md +0 -0
  99. {linthis-0.0.13 → linthis-0.2.0}/docs/features/plugins.md +0 -0
  100. {linthis-0.0.13 → linthis-0.2.0}/docs/features/plugins.zh.md +0 -0
  101. {linthis-0.0.13 → linthis-0.2.0}/docs/features/self-update.md +0 -0
  102. {linthis-0.0.13 → linthis-0.2.0}/docs/features/self-update.zh.md +0 -0
  103. {linthis-0.0.13 → linthis-0.2.0}/docs/features/watch-mode.md +0 -0
  104. {linthis-0.0.13 → linthis-0.2.0}/docs/features/watch-mode.zh.md +0 -0
  105. {linthis-0.0.13 → linthis-0.2.0}/docs/getting-started/configuration.md +0 -0
  106. {linthis-0.0.13 → linthis-0.2.0}/docs/getting-started/configuration.zh.md +0 -0
  107. {linthis-0.0.13 → linthis-0.2.0}/docs/getting-started/installation.md +0 -0
  108. {linthis-0.0.13 → linthis-0.2.0}/docs/getting-started/installation.zh.md +0 -0
  109. {linthis-0.0.13 → linthis-0.2.0}/docs/getting-started/quickstart.md +0 -0
  110. {linthis-0.0.13 → linthis-0.2.0}/docs/getting-started/quickstart.zh.md +0 -0
  111. {linthis-0.0.13 → linthis-0.2.0}/docs/index.md +0 -0
  112. {linthis-0.0.13 → linthis-0.2.0}/docs/index.zh.md +0 -0
  113. {linthis-0.0.13 → linthis-0.2.0}/docs/init-hooks-design.md +0 -0
  114. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/cpp.md +0 -0
  115. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/cpp.zh.md +0 -0
  116. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/csharp.md +0 -0
  117. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/csharp.zh.md +0 -0
  118. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/dart.md +0 -0
  119. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/dart.zh.md +0 -0
  120. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/go.md +0 -0
  121. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/go.zh.md +0 -0
  122. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/index.md +0 -0
  123. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/index.zh.md +0 -0
  124. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/java.md +0 -0
  125. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/java.zh.md +0 -0
  126. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/javascript.md +0 -0
  127. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/javascript.zh.md +0 -0
  128. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/kotlin.md +0 -0
  129. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/kotlin.zh.md +0 -0
  130. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/lua.md +0 -0
  131. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/lua.zh.md +0 -0
  132. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/objc.md +0 -0
  133. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/objc.zh.md +0 -0
  134. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/php.md +0 -0
  135. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/php.zh.md +0 -0
  136. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/python.md +0 -0
  137. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/python.zh.md +0 -0
  138. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/ruby.md +0 -0
  139. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/ruby.zh.md +0 -0
  140. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/rust.md +0 -0
  141. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/rust.zh.md +0 -0
  142. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/scala.md +0 -0
  143. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/scala.zh.md +0 -0
  144. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/shell.md +0 -0
  145. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/shell.zh.md +0 -0
  146. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/swift.md +0 -0
  147. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/swift.zh.md +0 -0
  148. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/typescript.md +0 -0
  149. {linthis-0.0.13 → linthis-0.2.0}/docs/languages/typescript.zh.md +0 -0
  150. {linthis-0.0.13 → linthis-0.2.0}/docs/plan-ruff-integration.md +0 -0
  151. {linthis-0.0.13 → linthis-0.2.0}/docs/reference/cli.md +0 -0
  152. {linthis-0.0.13 → linthis-0.2.0}/docs/reference/cli.zh.md +0 -0
  153. {linthis-0.0.13 → linthis-0.2.0}/docs/reference/configuration.md +0 -0
  154. {linthis-0.0.13 → linthis-0.2.0}/docs/reference/configuration.zh.md +0 -0
  155. {linthis-0.0.13 → linthis-0.2.0}/docs/requirements.txt +0 -0
  156. {linthis-0.0.13 → linthis-0.2.0}/docs/tasks.md +0 -0
  157. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/.gitignore +0 -0
  158. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/PUBLISHING.md +0 -0
  159. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/PUBLISHING.zh.md +0 -0
  160. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/README.md +0 -0
  161. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/docs/images/settings.png +0 -0
  162. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/docs/images/tools-menu.png +0 -0
  163. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/gradle/wrapper/gradle-wrapper.jar +0 -0
  164. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/gradle/wrapper/gradle-wrapper.properties +0 -0
  165. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/gradle.properties +0 -0
  166. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/gradlew +0 -0
  167. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/gradlew.bat +0 -0
  168. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/settings.gradle.kts +0 -0
  169. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/LinthisLanguageClient.kt +0 -0
  170. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/LinthisLanguageServerFactory.kt +0 -0
  171. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/LinthisStartupListener.kt +0 -0
  172. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/LinthisStreamConnectionProvider.kt +0 -0
  173. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/actions/LinthisFormatAction.kt +0 -0
  174. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/actions/LinthisLintAction.kt +0 -0
  175. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/listeners/LinthisDocumentListener.kt +0 -0
  176. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/listeners/LinthisFileOpenListener.kt +0 -0
  177. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/settings/LinthisSettings.kt +0 -0
  178. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/settings/LinthisSettingsConfigurable.kt +0 -0
  179. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/kotlin/com/mojeter/linthis/plugin/util/LinthisExecutor.kt +0 -0
  180. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/resources/images/settings.png +0 -0
  181. {linthis-0.0.13 → linthis-0.2.0}/jetbrains-linthis/src/main/resources/messages/LinthisBundle.properties +0 -0
  182. {linthis-0.0.13 → linthis-0.2.0}/mkdocs.yml +0 -0
  183. {linthis-0.0.13 → linthis-0.2.0}/nvim-linthis/LICENSE +0 -0
  184. {linthis-0.0.13 → linthis-0.2.0}/nvim-linthis/PUBLISHING.md +0 -0
  185. {linthis-0.0.13 → linthis-0.2.0}/nvim-linthis/PUBLISHING.zh.md +0 -0
  186. {linthis-0.0.13 → linthis-0.2.0}/nvim-linthis/lua/linthis/config.lua +0 -0
  187. {linthis-0.0.13 → linthis-0.2.0}/nvim-linthis/test.sh +0 -0
  188. {linthis-0.0.13 → linthis-0.2.0}/src/benchmark.rs +0 -0
  189. {linthis-0.0.13 → linthis-0.2.0}/src/cache/hash.rs +0 -0
  190. {linthis-0.0.13 → linthis-0.2.0}/src/cache/mod.rs +0 -0
  191. {linthis-0.0.13 → linthis-0.2.0}/src/cache/storage.rs +0 -0
  192. {linthis-0.0.13 → linthis-0.2.0}/src/cache/types.rs +0 -0
  193. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/csharp.rs +0 -0
  194. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/dart.rs +0 -0
  195. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/go.rs +0 -0
  196. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/java.rs +0 -0
  197. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/kotlin.rs +0 -0
  198. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/lua.rs +0 -0
  199. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/mod.rs +0 -0
  200. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/php.rs +0 -0
  201. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/ruby.rs +0 -0
  202. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/rust.rs +0 -0
  203. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/scala.rs +0 -0
  204. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/shell.rs +0 -0
  205. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/swift.rs +0 -0
  206. {linthis-0.0.13 → linthis-0.2.0}/src/checkers/traits.rs +0 -0
  207. {linthis-0.0.13 → linthis-0.2.0}/src/cli/cache.rs +0 -0
  208. {linthis-0.0.13 → linthis-0.2.0}/src/cli/doctor.rs +0 -0
  209. {linthis-0.0.13 → linthis-0.2.0}/src/cli/init.rs +0 -0
  210. {linthis-0.0.13 → linthis-0.2.0}/src/cli/paths.rs +0 -0
  211. {linthis-0.0.13 → linthis-0.2.0}/src/cli/plugin.rs +0 -0
  212. {linthis-0.0.13 → linthis-0.2.0}/src/cli/recheck.rs +0 -0
  213. {linthis-0.0.13 → linthis-0.2.0}/src/cli/report.rs +0 -0
  214. {linthis-0.0.13 → linthis-0.2.0}/src/cli/runner.rs +0 -0
  215. {linthis-0.0.13 → linthis-0.2.0}/src/cli/watch.rs +0 -0
  216. {linthis-0.0.13 → linthis-0.2.0}/src/config/cli.rs +0 -0
  217. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/converters/eslint.rs +0 -0
  218. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/converters/mod.rs +0 -0
  219. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/converters/prettier.rs +0 -0
  220. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/converters/python.rs +0 -0
  221. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/detect.rs +0 -0
  222. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/mod.rs +0 -0
  223. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/parsers/eslint.rs +0 -0
  224. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/parsers/mod.rs +0 -0
  225. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/parsers/prettier.rs +0 -0
  226. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/parsers/python.rs +0 -0
  227. {linthis-0.0.13 → linthis-0.2.0}/src/config/migrate/validate.rs +0 -0
  228. {linthis-0.0.13 → linthis-0.2.0}/src/config/mod.rs +0 -0
  229. {linthis-0.0.13 → linthis-0.2.0}/src/fixers/cpplint.rs +0 -0
  230. {linthis-0.0.13 → linthis-0.2.0}/src/fixers/mod.rs +0 -0
  231. {linthis-0.0.13 → linthis-0.2.0}/src/fixers/source.rs +0 -0
  232. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/cpp.rs +0 -0
  233. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/csharp.rs +0 -0
  234. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/dart.rs +0 -0
  235. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/go.rs +0 -0
  236. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/java.rs +0 -0
  237. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/kotlin.rs +0 -0
  238. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/lua.rs +0 -0
  239. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/mod.rs +0 -0
  240. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/php.rs +0 -0
  241. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/python.rs +0 -0
  242. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/ruby.rs +0 -0
  243. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/rust.rs +0 -0
  244. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/scala.rs +0 -0
  245. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/shell.rs +0 -0
  246. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/swift.rs +0 -0
  247. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/traits.rs +0 -0
  248. {linthis-0.0.13 → linthis-0.2.0}/src/formatters/typescript.rs +0 -0
  249. {linthis-0.0.13 → linthis-0.2.0}/src/interactive/editor.rs +0 -0
  250. {linthis-0.0.13 → linthis-0.2.0}/src/interactive/nolint.rs +0 -0
  251. {linthis-0.0.13 → linthis-0.2.0}/src/interactive/quickfix.rs +0 -0
  252. {linthis-0.0.13 → linthis-0.2.0}/src/lsp/diagnostics.rs +0 -0
  253. {linthis-0.0.13 → linthis-0.2.0}/src/lsp/document.rs +0 -0
  254. {linthis-0.0.13 → linthis-0.2.0}/src/lsp/mod.rs +0 -0
  255. {linthis-0.0.13 → linthis-0.2.0}/src/lsp/server.rs +0 -0
  256. {linthis-0.0.13 → linthis-0.2.0}/src/plugin/auto_sync.rs +0 -0
  257. {linthis-0.0.13 → linthis-0.2.0}/src/plugin/cache.rs +0 -0
  258. {linthis-0.0.13 → linthis-0.2.0}/src/plugin/config_manager.rs +0 -0
  259. {linthis-0.0.13 → linthis-0.2.0}/src/plugin/fetcher.rs +0 -0
  260. {linthis-0.0.13 → linthis-0.2.0}/src/plugin/loader.rs +0 -0
  261. {linthis-0.0.13 → linthis-0.2.0}/src/plugin/manifest.rs +0 -0
  262. {linthis-0.0.13 → linthis-0.2.0}/src/plugin/mod.rs +0 -0
  263. {linthis-0.0.13 → linthis-0.2.0}/src/plugin/registry.rs +0 -0
  264. {linthis-0.0.13 → linthis-0.2.0}/src/presets/mod.rs +0 -0
  265. {linthis-0.0.13 → linthis-0.2.0}/src/reports/consistency.rs +0 -0
  266. {linthis-0.0.13 → linthis-0.2.0}/src/reports/html.rs +0 -0
  267. {linthis-0.0.13 → linthis-0.2.0}/src/reports/mod.rs +0 -0
  268. {linthis-0.0.13 → linthis-0.2.0}/src/reports/statistics.rs +0 -0
  269. {linthis-0.0.13 → linthis-0.2.0}/src/reports/templates.rs +0 -0
  270. {linthis-0.0.13 → linthis-0.2.0}/src/reports/trends.rs +0 -0
  271. {linthis-0.0.13 → linthis-0.2.0}/src/rules/config.rs +0 -0
  272. {linthis-0.0.13 → linthis-0.2.0}/src/rules/custom_checker.rs +0 -0
  273. {linthis-0.0.13 → linthis-0.2.0}/src/rules/filter.rs +0 -0
  274. {linthis-0.0.13 → linthis-0.2.0}/src/rules/mod.rs +0 -0
  275. {linthis-0.0.13 → linthis-0.2.0}/src/self_update.rs +0 -0
  276. {linthis-0.0.13 → linthis-0.2.0}/src/templates/linter_configs.rs +0 -0
  277. {linthis-0.0.13 → linthis-0.2.0}/src/templates/mod.rs +0 -0
  278. {linthis-0.0.13 → linthis-0.2.0}/src/templates/plugin_templates.rs +0 -0
  279. {linthis-0.0.13 → linthis-0.2.0}/src/templates/readme.rs +0 -0
  280. {linthis-0.0.13 → linthis-0.2.0}/src/tui/app.rs +0 -0
  281. {linthis-0.0.13 → linthis-0.2.0}/src/tui/event.rs +0 -0
  282. {linthis-0.0.13 → linthis-0.2.0}/src/tui/mod.rs +0 -0
  283. {linthis-0.0.13 → linthis-0.2.0}/src/tui/ui.rs +0 -0
  284. {linthis-0.0.13 → linthis-0.2.0}/src/tui/widgets/file_tree.rs +0 -0
  285. {linthis-0.0.13 → linthis-0.2.0}/src/tui/widgets/help.rs +0 -0
  286. {linthis-0.0.13 → linthis-0.2.0}/src/tui/widgets/issue_list.rs +0 -0
  287. {linthis-0.0.13 → linthis-0.2.0}/src/tui/widgets/mod.rs +0 -0
  288. {linthis-0.0.13 → linthis-0.2.0}/src/tui/widgets/status_bar.rs +0 -0
  289. {linthis-0.0.13 → linthis-0.2.0}/src/utils/language.rs +0 -0
  290. {linthis-0.0.13 → linthis-0.2.0}/src/utils/mod.rs +0 -0
  291. {linthis-0.0.13 → linthis-0.2.0}/src/utils/types.rs +0 -0
  292. {linthis-0.0.13 → linthis-0.2.0}/src/utils/unicode.rs +0 -0
  293. {linthis-0.0.13 → linthis-0.2.0}/src/utils/walker.rs +0 -0
  294. {linthis-0.0.13 → linthis-0.2.0}/src/watch/debounce.rs +0 -0
  295. {linthis-0.0.13 → linthis-0.2.0}/src/watch/mod.rs +0 -0
  296. {linthis-0.0.13 → linthis-0.2.0}/src/watch/notifications.rs +0 -0
  297. {linthis-0.0.13 → linthis-0.2.0}/src/watch/state.rs +0 -0
  298. {linthis-0.0.13 → linthis-0.2.0}/src/watch/watcher.rs +0 -0
  299. {linthis-0.0.13 → linthis-0.2.0}/test-plugin-check/README.md +0 -0
  300. {linthis-0.0.13 → linthis-0.2.0}/test-plugin-check/linthis-plugin.toml +0 -0
  301. {linthis-0.0.13 → linthis-0.2.0}/tests/cli_tests.rs +0 -0
  302. {linthis-0.0.13 → linthis-0.2.0}/tests/fixtures/python/bad.py +0 -0
  303. {linthis-0.0.13 → linthis-0.2.0}/tests/fixtures/python/good.py +0 -0
  304. {linthis-0.0.13 → linthis-0.2.0}/tests/fixtures/python/unformatted.py +0 -0
  305. {linthis-0.0.13 → linthis-0.2.0}/tests/fixtures/rust/bad.rs +0 -0
  306. {linthis-0.0.13 → linthis-0.2.0}/tests/fixtures/test-plugin/linthis-plugin.toml +0 -0
  307. {linthis-0.0.13 → linthis-0.2.0}/tests/fixtures/test-plugin/python/ruff.toml +0 -0
  308. {linthis-0.0.13 → linthis-0.2.0}/tests/fixtures/test-plugin/rust/clippy.toml +0 -0
  309. {linthis-0.0.13 → linthis-0.2.0}/tests/fixtures/test-plugin/rust/rustfmt.toml +0 -0
  310. {linthis-0.0.13 → linthis-0.2.0}/tests/fixtures/us1/good.rs +0 -0
  311. {linthis-0.0.13 → linthis-0.2.0}/tests/fixtures/us1/unformatted.rs +0 -0
  312. {linthis-0.0.13 → linthis-0.2.0}/tests/integration/cache_tests.rs +0 -0
  313. {linthis-0.0.13 → linthis-0.2.0}/tests/integration/check_tests.rs +0 -0
  314. {linthis-0.0.13 → linthis-0.2.0}/tests/integration/common.rs +0 -0
  315. {linthis-0.0.13 → linthis-0.2.0}/tests/integration/config_tests.rs +0 -0
  316. {linthis-0.0.13 → linthis-0.2.0}/tests/integration/error_tests.rs +0 -0
  317. {linthis-0.0.13 → linthis-0.2.0}/tests/integration/format_tests.rs +0 -0
  318. {linthis-0.0.13 → linthis-0.2.0}/tests/integration/language_tests.rs +0 -0
  319. {linthis-0.0.13 → linthis-0.2.0}/tests/integration/mod.rs +0 -0
  320. {linthis-0.0.13 → linthis-0.2.0}/tests/integration/plugin_tests.rs +0 -0
  321. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/.gitignore +0 -0
  322. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/.linthis.toml +0 -0
  323. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/.vscodeignore +0 -0
  324. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/CHANGELOG.md +0 -0
  325. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/LICENSE +0 -0
  326. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/PUBLISHING.md +0 -0
  327. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/PUBLISHING.zh.md +0 -0
  328. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/README.md +0 -0
  329. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/package-lock.json +0 -0
  330. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/src/extension.ts +0 -0
  331. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/src/test/runTest.ts +0 -0
  332. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/src/test/suite/extension.test.ts +0 -0
  333. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/src/test/suite/index.ts +0 -0
  334. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/tsconfig.json +0 -0
  335. {linthis-0.0.13 → linthis-0.2.0}/vscode-linthis/webpack.config.js +0 -0
@@ -246,6 +246,12 @@ version = "1.5.0"
246
246
  source = "registry+https://github.com/rust-lang/crates.io-index"
247
247
  checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
248
248
 
249
+ [[package]]
250
+ name = "base64"
251
+ version = "0.21.7"
252
+ source = "registry+https://github.com/rust-lang/crates.io-index"
253
+ checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
254
+
249
255
  [[package]]
250
256
  name = "bitflags"
251
257
  version = "1.3.2"
@@ -429,6 +435,16 @@ dependencies = [
429
435
  "crossbeam-utils",
430
436
  ]
431
437
 
438
+ [[package]]
439
+ name = "core-foundation"
440
+ version = "0.9.4"
441
+ source = "registry+https://github.com/rust-lang/crates.io-index"
442
+ checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
443
+ dependencies = [
444
+ "core-foundation-sys",
445
+ "libc",
446
+ ]
447
+
432
448
  [[package]]
433
449
  name = "core-foundation-sys"
434
450
  version = "0.8.7"
@@ -598,6 +614,15 @@ version = "1.15.0"
598
614
  source = "registry+https://github.com/rust-lang/crates.io-index"
599
615
  checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
600
616
 
617
+ [[package]]
618
+ name = "encoding_rs"
619
+ version = "0.8.35"
620
+ source = "registry+https://github.com/rust-lang/crates.io-index"
621
+ checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
622
+ dependencies = [
623
+ "cfg-if",
624
+ ]
625
+
601
626
  [[package]]
602
627
  name = "endi"
603
628
  version = "1.1.1"
@@ -699,6 +724,12 @@ version = "0.1.5"
699
724
  source = "registry+https://github.com/rust-lang/crates.io-index"
700
725
  checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844"
701
726
 
727
+ [[package]]
728
+ name = "fnv"
729
+ version = "1.0.7"
730
+ source = "registry+https://github.com/rust-lang/crates.io-index"
731
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
732
+
702
733
  [[package]]
703
734
  name = "foldhash"
704
735
  version = "0.1.5"
@@ -859,6 +890,25 @@ dependencies = [
859
890
  "regex-syntax 0.8.8",
860
891
  ]
861
892
 
893
+ [[package]]
894
+ name = "h2"
895
+ version = "0.3.27"
896
+ source = "registry+https://github.com/rust-lang/crates.io-index"
897
+ checksum = "0beca50380b1fc32983fc1cb4587bfa4bb9e78fc259aad4a0032d2080309222d"
898
+ dependencies = [
899
+ "bytes",
900
+ "fnv",
901
+ "futures-core",
902
+ "futures-sink",
903
+ "futures-util",
904
+ "http",
905
+ "indexmap 2.12.1",
906
+ "slab",
907
+ "tokio",
908
+ "tokio-util",
909
+ "tracing",
910
+ ]
911
+
862
912
  [[package]]
863
913
  name = "hashbrown"
864
914
  version = "0.12.3"
@@ -921,18 +971,84 @@ version = "0.4.3"
921
971
  source = "registry+https://github.com/rust-lang/crates.io-index"
922
972
  checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
923
973
 
974
+ [[package]]
975
+ name = "http"
976
+ version = "0.2.12"
977
+ source = "registry+https://github.com/rust-lang/crates.io-index"
978
+ checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
979
+ dependencies = [
980
+ "bytes",
981
+ "fnv",
982
+ "itoa",
983
+ ]
984
+
985
+ [[package]]
986
+ name = "http-body"
987
+ version = "0.4.6"
988
+ source = "registry+https://github.com/rust-lang/crates.io-index"
989
+ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
990
+ dependencies = [
991
+ "bytes",
992
+ "http",
993
+ "pin-project-lite",
994
+ ]
995
+
924
996
  [[package]]
925
997
  name = "httparse"
926
998
  version = "1.10.1"
927
999
  source = "registry+https://github.com/rust-lang/crates.io-index"
928
1000
  checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
929
1001
 
1002
+ [[package]]
1003
+ name = "httpdate"
1004
+ version = "1.0.3"
1005
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1006
+ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
1007
+
930
1008
  [[package]]
931
1009
  name = "humantime"
932
1010
  version = "2.3.0"
933
1011
  source = "registry+https://github.com/rust-lang/crates.io-index"
934
1012
  checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424"
935
1013
 
1014
+ [[package]]
1015
+ name = "hyper"
1016
+ version = "0.14.32"
1017
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1018
+ checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7"
1019
+ dependencies = [
1020
+ "bytes",
1021
+ "futures-channel",
1022
+ "futures-core",
1023
+ "futures-util",
1024
+ "h2",
1025
+ "http",
1026
+ "http-body",
1027
+ "httparse",
1028
+ "httpdate",
1029
+ "itoa",
1030
+ "pin-project-lite",
1031
+ "socket2 0.5.10",
1032
+ "tokio",
1033
+ "tower-service",
1034
+ "tracing",
1035
+ "want",
1036
+ ]
1037
+
1038
+ [[package]]
1039
+ name = "hyper-rustls"
1040
+ version = "0.24.2"
1041
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1042
+ checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
1043
+ dependencies = [
1044
+ "futures-util",
1045
+ "http",
1046
+ "hyper",
1047
+ "rustls",
1048
+ "tokio",
1049
+ "tokio-rustls",
1050
+ ]
1051
+
936
1052
  [[package]]
937
1053
  name = "iana-time-zone"
938
1054
  version = "0.1.64"
@@ -1127,6 +1243,12 @@ dependencies = [
1127
1243
  "syn",
1128
1244
  ]
1129
1245
 
1246
+ [[package]]
1247
+ name = "ipnet"
1248
+ version = "2.11.0"
1249
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1250
+ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
1251
+
1130
1252
  [[package]]
1131
1253
  name = "is-terminal"
1132
1254
  version = "0.4.17"
@@ -1208,7 +1330,7 @@ dependencies = [
1208
1330
 
1209
1331
  [[package]]
1210
1332
  name = "linthis"
1211
- version = "0.0.13"
1333
+ version = "0.2.0"
1212
1334
  dependencies = [
1213
1335
  "anyhow",
1214
1336
  "async-trait",
@@ -1227,6 +1349,7 @@ dependencies = [
1227
1349
  "ratatui",
1228
1350
  "rayon",
1229
1351
  "regex",
1352
+ "reqwest",
1230
1353
  "serde",
1231
1354
  "serde_json",
1232
1355
  "serde_yaml",
@@ -1323,6 +1446,12 @@ dependencies = [
1323
1446
  "autocfg",
1324
1447
  ]
1325
1448
 
1449
+ [[package]]
1450
+ name = "mime"
1451
+ version = "0.3.17"
1452
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1453
+ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
1454
+
1326
1455
  [[package]]
1327
1456
  name = "mio"
1328
1457
  version = "0.8.11"
@@ -1727,6 +1856,61 @@ version = "0.8.8"
1727
1856
  source = "registry+https://github.com/rust-lang/crates.io-index"
1728
1857
  checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
1729
1858
 
1859
+ [[package]]
1860
+ name = "reqwest"
1861
+ version = "0.11.27"
1862
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1863
+ checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62"
1864
+ dependencies = [
1865
+ "base64",
1866
+ "bytes",
1867
+ "encoding_rs",
1868
+ "futures-core",
1869
+ "futures-util",
1870
+ "h2",
1871
+ "http",
1872
+ "http-body",
1873
+ "hyper",
1874
+ "hyper-rustls",
1875
+ "ipnet",
1876
+ "js-sys",
1877
+ "log",
1878
+ "mime",
1879
+ "once_cell",
1880
+ "percent-encoding",
1881
+ "pin-project-lite",
1882
+ "rustls",
1883
+ "rustls-pemfile",
1884
+ "serde",
1885
+ "serde_json",
1886
+ "serde_urlencoded",
1887
+ "sync_wrapper",
1888
+ "system-configuration",
1889
+ "tokio",
1890
+ "tokio-rustls",
1891
+ "tower-service",
1892
+ "url",
1893
+ "wasm-bindgen",
1894
+ "wasm-bindgen-futures",
1895
+ "web-sys",
1896
+ "webpki-roots",
1897
+ "winreg",
1898
+ ]
1899
+
1900
+ [[package]]
1901
+ name = "ring"
1902
+ version = "0.17.14"
1903
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1904
+ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
1905
+ dependencies = [
1906
+ "cc",
1907
+ "cfg-if",
1908
+ "getrandom 0.2.16",
1909
+ "libc",
1910
+ "untrusted",
1911
+ "windows-sys 0.52.0",
1912
+ ]
1913
+
1730
1914
  [[package]]
1731
1915
  name = "rustix"
1732
1916
  version = "0.38.44"
@@ -1753,6 +1937,37 @@ dependencies = [
1753
1937
  "windows-sys 0.61.2",
1754
1938
  ]
1755
1939
 
1940
+ [[package]]
1941
+ name = "rustls"
1942
+ version = "0.21.12"
1943
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1944
+ checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e"
1945
+ dependencies = [
1946
+ "log",
1947
+ "ring",
1948
+ "rustls-webpki",
1949
+ "sct",
1950
+ ]
1951
+
1952
+ [[package]]
1953
+ name = "rustls-pemfile"
1954
+ version = "1.0.4"
1955
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1956
+ checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
1957
+ dependencies = [
1958
+ "base64",
1959
+ ]
1960
+
1961
+ [[package]]
1962
+ name = "rustls-webpki"
1963
+ version = "0.101.7"
1964
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1965
+ checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765"
1966
+ dependencies = [
1967
+ "ring",
1968
+ "untrusted",
1969
+ ]
1970
+
1756
1971
  [[package]]
1757
1972
  name = "rustversion"
1758
1973
  version = "1.0.22"
@@ -1780,6 +1995,16 @@ version = "1.2.0"
1780
1995
  source = "registry+https://github.com/rust-lang/crates.io-index"
1781
1996
  checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
1782
1997
 
1998
+ [[package]]
1999
+ name = "sct"
2000
+ version = "0.7.1"
2001
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2002
+ checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414"
2003
+ dependencies = [
2004
+ "ring",
2005
+ "untrusted",
2006
+ ]
2007
+
1783
2008
  [[package]]
1784
2009
  name = "serde"
1785
2010
  version = "1.0.228"
@@ -1832,6 +2057,18 @@ dependencies = [
1832
2057
  "syn",
1833
2058
  ]
1834
2059
 
2060
+ [[package]]
2061
+ name = "serde_urlencoded"
2062
+ version = "0.7.1"
2063
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2064
+ checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
2065
+ dependencies = [
2066
+ "form_urlencoded",
2067
+ "itoa",
2068
+ "ryu",
2069
+ "serde",
2070
+ ]
2071
+
1835
2072
  [[package]]
1836
2073
  name = "serde_yaml"
1837
2074
  version = "0.9.17"
@@ -1900,6 +2137,16 @@ version = "1.15.1"
1900
2137
  source = "registry+https://github.com/rust-lang/crates.io-index"
1901
2138
  checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
1902
2139
 
2140
+ [[package]]
2141
+ name = "socket2"
2142
+ version = "0.5.10"
2143
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2144
+ checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678"
2145
+ dependencies = [
2146
+ "libc",
2147
+ "windows-sys 0.52.0",
2148
+ ]
2149
+
1903
2150
  [[package]]
1904
2151
  name = "socket2"
1905
2152
  version = "0.6.1"
@@ -1967,6 +2214,12 @@ dependencies = [
1967
2214
  "unicode-ident",
1968
2215
  ]
1969
2216
 
2217
+ [[package]]
2218
+ name = "sync_wrapper"
2219
+ version = "0.1.2"
2220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2221
+ checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
2222
+
1970
2223
  [[package]]
1971
2224
  name = "synstructure"
1972
2225
  version = "0.13.2"
@@ -1978,6 +2231,27 @@ dependencies = [
1978
2231
  "syn",
1979
2232
  ]
1980
2233
 
2234
+ [[package]]
2235
+ name = "system-configuration"
2236
+ version = "0.5.1"
2237
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2238
+ checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7"
2239
+ dependencies = [
2240
+ "bitflags 1.3.2",
2241
+ "core-foundation",
2242
+ "system-configuration-sys",
2243
+ ]
2244
+
2245
+ [[package]]
2246
+ name = "system-configuration-sys"
2247
+ version = "0.5.0"
2248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2249
+ checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9"
2250
+ dependencies = [
2251
+ "core-foundation-sys",
2252
+ "libc",
2253
+ ]
2254
+
1981
2255
  [[package]]
1982
2256
  name = "tauri-winrt-notification"
1983
2257
  version = "0.7.2"
@@ -2093,7 +2367,7 @@ dependencies = [
2093
2367
  "parking_lot",
2094
2368
  "pin-project-lite",
2095
2369
  "signal-hook-registry",
2096
- "socket2",
2370
+ "socket2 0.6.1",
2097
2371
  "tokio-macros",
2098
2372
  "windows-sys 0.61.2",
2099
2373
  ]
@@ -2109,6 +2383,16 @@ dependencies = [
2109
2383
  "syn",
2110
2384
  ]
2111
2385
 
2386
+ [[package]]
2387
+ name = "tokio-rustls"
2388
+ version = "0.24.1"
2389
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2390
+ checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
2391
+ dependencies = [
2392
+ "rustls",
2393
+ "tokio",
2394
+ ]
2395
+
2112
2396
  [[package]]
2113
2397
  name = "tokio-util"
2114
2398
  version = "0.7.18"
@@ -2276,6 +2560,12 @@ dependencies = [
2276
2560
  "once_cell",
2277
2561
  ]
2278
2562
 
2563
+ [[package]]
2564
+ name = "try-lock"
2565
+ version = "0.2.5"
2566
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2567
+ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
2568
+
2279
2569
  [[package]]
2280
2570
  name = "uds_windows"
2281
2571
  version = "1.1.0"
@@ -2322,6 +2612,12 @@ version = "0.2.11"
2322
2612
  source = "registry+https://github.com/rust-lang/crates.io-index"
2323
2613
  checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
2324
2614
 
2615
+ [[package]]
2616
+ name = "untrusted"
2617
+ version = "0.9.0"
2618
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2619
+ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
2620
+
2325
2621
  [[package]]
2326
2622
  name = "url"
2327
2623
  version = "2.5.8"
@@ -2368,6 +2664,15 @@ dependencies = [
2368
2664
  "winapi-util",
2369
2665
  ]
2370
2666
 
2667
+ [[package]]
2668
+ name = "want"
2669
+ version = "0.3.1"
2670
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2671
+ checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
2672
+ dependencies = [
2673
+ "try-lock",
2674
+ ]
2675
+
2371
2676
  [[package]]
2372
2677
  name = "wasi"
2373
2678
  version = "0.11.1+wasi-snapshot-preview1"
@@ -2396,6 +2701,19 @@ dependencies = [
2396
2701
  "wasm-bindgen-shared",
2397
2702
  ]
2398
2703
 
2704
+ [[package]]
2705
+ name = "wasm-bindgen-futures"
2706
+ version = "0.4.56"
2707
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2708
+ checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c"
2709
+ dependencies = [
2710
+ "cfg-if",
2711
+ "js-sys",
2712
+ "once_cell",
2713
+ "wasm-bindgen",
2714
+ "web-sys",
2715
+ ]
2716
+
2399
2717
  [[package]]
2400
2718
  name = "wasm-bindgen-macro"
2401
2719
  version = "0.2.106"
@@ -2428,6 +2746,22 @@ dependencies = [
2428
2746
  "unicode-ident",
2429
2747
  ]
2430
2748
 
2749
+ [[package]]
2750
+ name = "web-sys"
2751
+ version = "0.3.83"
2752
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2753
+ checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac"
2754
+ dependencies = [
2755
+ "js-sys",
2756
+ "wasm-bindgen",
2757
+ ]
2758
+
2759
+ [[package]]
2760
+ name = "webpki-roots"
2761
+ version = "0.25.4"
2762
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2763
+ checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1"
2764
+
2431
2765
  [[package]]
2432
2766
  name = "winapi"
2433
2767
  version = "0.3.9"
@@ -2607,6 +2941,15 @@ dependencies = [
2607
2941
  "windows-targets 0.48.5",
2608
2942
  ]
2609
2943
 
2944
+ [[package]]
2945
+ name = "windows-sys"
2946
+ version = "0.52.0"
2947
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2948
+ checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
2949
+ dependencies = [
2950
+ "windows-targets 0.52.6",
2951
+ ]
2952
+
2610
2953
  [[package]]
2611
2954
  name = "windows-sys"
2612
2955
  version = "0.59.0"
@@ -2847,6 +3190,16 @@ dependencies = [
2847
3190
  "memchr",
2848
3191
  ]
2849
3192
 
3193
+ [[package]]
3194
+ name = "winreg"
3195
+ version = "0.50.0"
3196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3197
+ checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1"
3198
+ dependencies = [
3199
+ "cfg-if",
3200
+ "windows-sys 0.48.0",
3201
+ ]
3202
+
2850
3203
  [[package]]
2851
3204
  name = "wit-bindgen"
2852
3205
  version = "0.46.0"
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "linthis"
3
- version = "0.0.13"
3
+ version = "0.2.0"
4
4
  edition = "2021"
5
5
  authors = ["zhlinh"]
6
6
  description = "A fast, cross-platform multi-language linter and formatter"
@@ -39,6 +39,10 @@ colored = "2.0"
39
39
  # Regex
40
40
  regex = "1.8"
41
41
 
42
+ # HTTP client (for AI API calls)
43
+ # Use rustls-tls to avoid OpenSSL dependency on Linux
44
+ reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls"] }
45
+
42
46
  # Glob pattern matching
43
47
  globset = "0.4"
44
48
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: linthis
3
- Version: 0.0.13
3
+ Version: 0.2.0
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -5,7 +5,7 @@ plugins {
5
5
  }
6
6
 
7
7
  group = "com.mojeter.linthis"
8
- version = "0.0.1"
8
+ version = "0.1.0"
9
9
 
10
10
  repositories {
11
11
  mavenCentral()
@@ -22,13 +22,14 @@ dependencies {
22
22
  intellijPlatform {
23
23
  intellijIdeaCommunity("2024.1")
24
24
  bundledPlugin("com.intellij.java")
25
+ // LSP4IJ plugin from JetBrains Marketplace (required dependency)
26
+ // The plugin() declaration makes LSP4IJ classes available for compilation
27
+ plugin("com.redhat.devtools.lsp4ij", "0.11.0")
25
28
  pluginVerifier()
26
29
  zipSigner()
27
30
  }
28
31
 
29
- // LSP4IJ library from FalsePattern repository
30
- compileOnly("com.redhat.devtools.intellij:lsp4ij:0.13.0")
31
- // Eclipse LSP4J (LSP4IJ's dependency)
32
+ // Eclipse LSP4J (LSP4IJ's transitive dependency, needed for LSP types)
32
33
  compileOnly("org.eclipse.lsp4j:org.eclipse.lsp4j:0.23.1")
33
34
  }
34
35
 
@@ -49,7 +49,7 @@
49
49
  <li><b>Format Current File</b> - Format the current file</li>
50
50
  </ul>
51
51
  <p>
52
- <img src="https://raw.githubusercontent.com/linthis-group/linthis/master/jetbrains-linthis/docs/images/tools-menu.png" alt="Linthis Tools Menu" width="400"/>
52
+ <img src="https://plugins.jetbrains.com/files/29860/screenshot_efe42203-d43e-4ae7-95c8-b394f2539229" alt="Linthis Tools Menu" width="400"/>
53
53
  </p>
54
54
 
55
55
  <h3>Configuration</h3>
@@ -64,13 +64,13 @@
64
64
  <li><b>Additional arguments</b> - Extra CLI arguments for linthis</li>
65
65
  </ul>
66
66
  <p>
67
- <img src="https://raw.githubusercontent.com/linthis-group/linthis/master/jetbrains-linthis/docs/images/settings.png" alt="Linthis Settings" width="600"/>
67
+ <img src="https://plugins.jetbrains.com/files/29860/screenshot_45c0e613-a97f-44c9-8700-23bd410aa2db" alt="Linthis Settings" width="600"/>
68
68
  </p>
69
69
 
70
70
  <h3>Requirements</h3>
71
71
  <ol>
72
72
  <li>
73
- <b>LSP4IJ plugin</b> (required):
73
+ <b>LSP4IJ plugin</b> (version 0.11.0 or later required):
74
74
  <br>Install from <a href="https://plugins.jetbrains.com/plugin/23257-lsp4ij">JetBrains Marketplace</a>
75
75
  </li>
76
76
  <li>
@@ -83,6 +83,13 @@
83
83
  ]]></description>
84
84
 
85
85
  <change-notes><![CDATA[
86
+ <h3>0.1.0</h3>
87
+ <ul>
88
+ <li>Feature: Security scanning for dependencies</li>
89
+ <li>Feature: License compliance checking</li>
90
+ <li>Feature: Code complexity visualization</li>
91
+ <li>Feature: AI-assisted fix suggestions</li>
92
+ </ul>
86
93
  <h3>0.0.1</h3>
87
94
  <ul>
88
95
  <li>Initial release</li>
@@ -0,0 +1,29 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">
2
+ <!-- Background circle -->
3
+ <circle cx="20" cy="20" r="19" fill="#2196f3" opacity="0.15"/>
4
+
5
+ <!-- Main circle -->
6
+ <circle cx="20" cy="20" r="17" fill="none" stroke="#2196f3" stroke-width="1.5"/>
7
+
8
+ <!-- Code lines representing multi-language support -->
9
+ <g stroke="#2196f3" stroke-width="1" stroke-linecap="round" opacity="0.6">
10
+ <line x1="11" y1="9" x2="18" y2="9"/>
11
+ <line x1="11" y1="12" x2="20" y2="12"/>
12
+ <line x1="11" y1="15" x2="17" y2="15"/>
13
+ </g>
14
+
15
+ <!-- Check mark (✓) representing linting -->
16
+ <path d="M 13 21 L 16 24 L 26 13"
17
+ fill="none" stroke="#2196f3" stroke-width="2.5"
18
+ stroke-linecap="round" stroke-linejoin="round"/>
19
+
20
+ <!-- Format indicator - aligned lines on right -->
21
+ <g stroke="#64b5f6" stroke-width="1" stroke-linecap="round" opacity="0.6">
22
+ <line x1="22" y1="23" x2="29" y2="23"/>
23
+ <line x1="22" y1="26" x2="29" y2="26"/>
24
+ </g>
25
+
26
+ <!-- "LTS" text at bottom -->
27
+ <text x="20" y="35" font-family="Arial, sans-serif" font-size="5"
28
+ font-weight="bold" text-anchor="middle" fill="#2196f3" opacity="0.8">LTS</text>
29
+ </svg>
@@ -0,0 +1,29 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">
2
+ <!-- Background circle -->
3
+ <circle cx="20" cy="20" r="19" fill="#42a5f5" opacity="0.2"/>
4
+
5
+ <!-- Main circle -->
6
+ <circle cx="20" cy="20" r="17" fill="none" stroke="#42a5f5" stroke-width="1.5"/>
7
+
8
+ <!-- Code lines representing multi-language support -->
9
+ <g stroke="#42a5f5" stroke-width="1" stroke-linecap="round" opacity="0.7">
10
+ <line x1="11" y1="9" x2="18" y2="9"/>
11
+ <line x1="11" y1="12" x2="20" y2="12"/>
12
+ <line x1="11" y1="15" x2="17" y2="15"/>
13
+ </g>
14
+
15
+ <!-- Check mark (✓) representing linting -->
16
+ <path d="M 13 21 L 16 24 L 26 13"
17
+ fill="none" stroke="#42a5f5" stroke-width="2.5"
18
+ stroke-linecap="round" stroke-linejoin="round"/>
19
+
20
+ <!-- Format indicator - aligned lines on right -->
21
+ <g stroke="#90caf9" stroke-width="1" stroke-linecap="round" opacity="0.7">
22
+ <line x1="22" y1="23" x2="29" y2="23"/>
23
+ <line x1="22" y1="26" x2="29" y2="26"/>
24
+ </g>
25
+
26
+ <!-- "LTS" text at bottom -->
27
+ <text x="20" y="35" font-family="Arial, sans-serif" font-size="5"
28
+ font-weight="bold" text-anchor="middle" fill="#42a5f5" opacity="0.9">LTS</text>
29
+ </svg>