|
| 1 | +# This file was automatically generated by `qlty init`. |
| 2 | +# You can modify it to suit your needs. |
| 3 | +# We recommend you to commit this file to your repository. |
| 4 | +# |
| 5 | +# This configuration is used by both Qlty CLI and Qlty Cloud. |
| 6 | +# |
| 7 | +# Qlty CLI -- Code quality toolkit for developers |
| 8 | +# Qlty Cloud -- Fully automated Code Health Platform |
| 9 | +# |
| 10 | +# Try Qlty Cloud: https://qlty.sh |
| 11 | +# |
| 12 | +# For a guide to configuration, visit https://qlty.sh/d/config |
| 13 | +# Or for a full reference, visit https://qlty.sh/d/qlty-toml |
| 14 | +config_version = "0" |
| 15 | + |
| 16 | +exclude_patterns = [ |
| 17 | + "*_min.*", |
| 18 | + "*-min.*", |
| 19 | + "*.min.*", |
| 20 | + "**/*.d.ts", |
| 21 | + "**/.yarn/**", |
| 22 | + "**/bower_components/**", |
| 23 | + "**/build/**", |
| 24 | + "**/cache/**", |
| 25 | + "**/config/**", |
| 26 | + "**/db/**", |
| 27 | + "**/deps/**", |
| 28 | + "**/dist/**", |
| 29 | + "**/extern/**", |
| 30 | + "**/external/**", |
| 31 | + "**/generated/**", |
| 32 | + "**/Godeps/**", |
| 33 | + "**/gradlew/**", |
| 34 | + "**/mvnw/**", |
| 35 | + "**/node_modules/**", |
| 36 | + "**/protos/**", |
| 37 | + "**/seed/**", |
| 38 | + "**/target/**", |
| 39 | + "**/testdata/**", |
| 40 | + "**/vendor/**", |
| 41 | + "**/assets/**", |
| 42 | +] |
| 43 | + |
| 44 | +test_patterns = [ |
| 45 | + "**/test/**", |
| 46 | + "**/spec/**", |
| 47 | + "**/*.test.*", |
| 48 | + "**/*.spec.*", |
| 49 | + "**/*_test.*", |
| 50 | + "**/*_spec.*", |
| 51 | + "**/test_*.*", |
| 52 | + "**/spec_*.*", |
| 53 | +] |
| 54 | + |
| 55 | +[smells] |
| 56 | +mode = "comment" |
| 57 | + |
| 58 | +[smells.boolean_logic] |
| 59 | +threshold = 4 |
| 60 | + |
| 61 | +[smells.file_complexity] |
| 62 | +threshold = 55 |
| 63 | + |
| 64 | +[smells.return_statements] |
| 65 | +threshold = 4 |
| 66 | + |
| 67 | +[smells.nested_control_flow] |
| 68 | +threshold = 4 |
| 69 | + |
| 70 | +[smells.function_parameters] |
| 71 | +threshold = 4 |
| 72 | + |
| 73 | +[smells.function_complexity] |
| 74 | +threshold = 5 |
| 75 | + |
| 76 | +[smells.duplication] |
| 77 | +threshold = 22 |
| 78 | + |
| 79 | +[[source]] |
| 80 | +name = "default" |
| 81 | +default = true |
| 82 | + |
| 83 | +[[plugin]] |
| 84 | +name = "actionlint" |
| 85 | + |
| 86 | +[[plugin]] |
| 87 | +name = "dotenv-linter" |
| 88 | + |
| 89 | +[[plugin]] |
| 90 | +name = "eslint" |
| 91 | +version = "9.13.0" |
| 92 | +package_file = "package.json" |
| 93 | +package_filters = ["eslint", "jest", "prettier"] |
| 94 | +prefix = "servers/execution/runner" |
| 95 | + |
| 96 | +[[plugin]] |
| 97 | +name = "eslint" |
| 98 | +version = "9.16.0" |
| 99 | +package_file = "package.json" |
| 100 | +package_filters = ["eslint", "jest", "prettier"] |
| 101 | +prefix = "servers/lib" |
| 102 | + |
| 103 | +[[plugin]] |
| 104 | +name = "eslint" |
| 105 | +version = "9.7.0" |
| 106 | +package_file = "package.json" |
| 107 | +package_filters = ["eslint", "jest", "prettier"] |
| 108 | +prefix = "client" |
| 109 | + |
| 110 | +[[plugin]] |
| 111 | +name = "markdownlint" |
| 112 | +version = "0.41.0" |
| 113 | + |
| 114 | +[[plugin]] |
| 115 | +name = "osv-scanner" |
| 116 | + |
| 117 | +[[plugin]] |
| 118 | +name = "prettier" |
| 119 | +version = "3.3.3" |
| 120 | +package_file = "package.json" |
| 121 | +package_filters = ["prettier"] |
| 122 | +prefix = "servers/execution/runner" |
| 123 | + |
| 124 | +[[plugin]] |
| 125 | +name = "prettier" |
| 126 | +version = "3.3.3" |
| 127 | +package_file = "package.json" |
| 128 | +package_filters = ["prettier"] |
| 129 | +prefix = "client" |
| 130 | + |
| 131 | +[[plugin]] |
| 132 | +name = "prettier" |
| 133 | +package_file = "package.json" |
| 134 | +package_filters = ["prettier"] |
| 135 | +prefix = "servers/lib" |
| 136 | + |
| 137 | +[[plugin]] |
| 138 | +name = "reek" |
| 139 | + |
| 140 | +[[plugin]] |
| 141 | +name = "ripgrep" |
| 142 | + |
| 143 | +[[plugin]] |
| 144 | +name = "rubocop" |
| 145 | + |
| 146 | +[[plugin]] |
| 147 | +name = "ruff" |
| 148 | +version = "0.5.3" |
| 149 | + |
| 150 | +[[plugin]] |
| 151 | +name = "shellcheck" |
| 152 | + |
| 153 | +[[plugin]] |
| 154 | +name = "shfmt" |
| 155 | + |
| 156 | +[[plugin]] |
| 157 | +name = "trivy" |
| 158 | +drivers = [ |
| 159 | + "config", |
| 160 | + "fs-vuln", |
| 161 | +] |
| 162 | + |
| 163 | +[[plugin]] |
| 164 | +name = "trufflehog" |
| 165 | + |
| 166 | +[[plugin]] |
| 167 | +name = "yamllint" |
0 commit comments