-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detekt Configuration Schema 1.22.0 #2623
Detekt Configuration Schema 1.22.0 #2623
Commits on Nov 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7c67541 - Browse repository at this point
Copy the full SHA 7c67541View commit details -
Add new test configs by converting
* detekt\detekt-core\src\main\resources\default-detekt-config.yml * gradlew :detektGenerateConfig output on v1.22.0 tag via https://onlineyamltools.com/convert-yaml-to-json.
Configuration menu - View commit details
-
Copy full SHA for 7eb5848 - Browse repository at this point
Copy the full SHA 7eb5848View commit details -
Configuration menu - View commit details
-
Copy full SHA for 878d2d6 - Browse repository at this point
Copy the full SHA 878d2d6View commit details -
Run generated-detekt-config.json
through https://www.liquid-technologies.com/online-json-to-schema-converter Options: array rules = allow anything, make required = false
Configuration menu - View commit details
-
Copy full SHA for 9dc517f - Browse repository at this point
Copy the full SHA 9dc517fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f12574 - Browse repository at this point
Copy the full SHA 6f12574View commit details -
Update ForbiddenImport.imports and ForbiddenMethodCall.methods schema…
…s to mimic valuesWithReason()
Configuration menu - View commit details
-
Copy full SHA for d24f23d - Browse repository at this point
Copy the full SHA d24f23dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6fb4c9 - Browse repository at this point
Copy the full SHA d6fb4c9View commit details -
Add common rule properties based on https://json-schema.org/understan…
…ding-json-schema/structuring.html#defs and https://stackoverflow.com/a/52579526/253468 Search (regex, spaces matter): ``` "properties": \{ "active": \{ "type": "boolean" },? ``` Replace (regex): ``` "allOf": [ { "\$ref": "#/\$defs/ruleProperties" } ], "properties": { ``` (I left autoCorrect at the original places, because, while it's valid to define it, it won't have effect other than where it's already shown.)
Configuration menu - View commit details
-
Copy full SHA for d5a530e - Browse repository at this point
Copy the full SHA d5a530eView commit details -
Remove excludes and define it centrally.
Search (regex, spaces and new line at the end matter): ``` "excludes": \{ "type": "array", "items": \{ "type": "string" } },? ``` Replace: nothing
Configuration menu - View commit details
-
Copy full SHA for c15fd54 - Browse repository at this point
Copy the full SHA c15fd54View commit details -
Minor cleanup to shorten schema
,\s*"properties": \{\s*} -> nothing
Configuration menu - View commit details
-
Copy full SHA for ea4a7c0 - Browse repository at this point
Copy the full SHA ea4a7c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f1154e - Browse repository at this point
Copy the full SHA 6f1154eView commit details -
Rename files to match store conventions.
Inferred original detekt schema and example to be 1.14.1 based on date and contents.
Configuration menu - View commit details
-
Copy full SHA for 0fedb79 - Browse repository at this point
Copy the full SHA 0fedb79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ab9cc7 - Browse repository at this point
Copy the full SHA 7ab9cc7View commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 8dad9f1 - Browse repository at this point
Copy the full SHA 8dad9f1View commit details