diff options
author | Shubhendra Singh Chauhan <withshubh@gmail.com> | 2021-02-01 01:56:09 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 21:26:09 +0100 |
commit | c8d11b8bdb97a1a2f8aaf5deca5f1c6c7c0d2688 (patch) | |
tree | 3b3552d07969abc85bac41b1ac5ff7fb8e2573a7 /.deepsource.toml | |
parent | 3efa0c54b6656fba189baab0857e60c0bc4f3c7d (diff) |
Fixed code quality issues (#15541)
* Added .deepsource.toml * Removed bad use of `alias` * Fixed operand order in the binary expression * Prefixed unused method arguments with an underscore * Replaced the old OpenSSL algorithmic constants with the newer strings initializers. * Removed unnecessary UTF-8 encoding comment
Diffstat (limited to '.deepsource.toml')
-rw-r--r-- | .deepsource.toml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 000000000..73d38901c --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,18 @@ +version = 1 + +test_patterns = ["/app/javascript/mastodon/**/__tests__/**"] + +[[analyzers]] +name = "ruby" +enabled = true + +[[analyzers]] +name = "javascript" +enabled = true + + [analyzers.meta] + environment = [ + "nodejs", + "browser", + "jest" + ] |