-
Notifications
You must be signed in to change notification settings - Fork 79
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
Lint all the code #323
Merged
Merged
Lint all the code #323
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
0197942
Add lint job to CI
9174beb
Ignore lint step failure
c540649
Don't need checkout to run lint
e5ca2a9
ignore unused :as binding when linting
c6a53fb
[lint] Remove unused imports
067364b
[lint] Fix namespace required but never used
33e7d44
[lint] Fix Prefer placing return type hint on arg vector
2fc57ae
Fix wrongly named namespace
1de71d1
[lint] Remove all usage of :refer :all
6b89c67
[lint] Add linter aliases for jackdaw.test.transports/deftransport an…
6b8f3a5
[lint] Fix redundant let expression
33a73e4
[lint] Fix empty or misplaced docstrings
c7164c4
[lint] Fix unresolved symbol
a6fc7fa
[lint] Fix missing else branch
431448b
[lint] Fix unresolved symbols
bcc4c56
[lint] Add linter alias for clojure.test.check.clojure-test/defspec
d35d652
[lint] Fix incorrect format string
ac6b51c
[lint] Fix redundant do
32753ed
[lint] Fix redundant let
df11e1c
[lint] Remove unused referred symbol
5e92ee3
[lint] Add missing require
6a2aa1d
[lint] Remove unused require
aff8e0e
[lint] Remove unused bindings
ac04de9
[lint] Remove trickier unused bindings
3c84e08
[lint] Locally ignore unresolved namespace for Datafy backport
335f55b
[lint] Remove unused private var
8b53e30
[lint] Fix unresolved symbol
033fa9c
[lint] Fix redefined vars
385560a
Update changelog
a360d09
Remove extra whitespace
1de7249
[lint] allow :refer :all in specific places
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{:linters {:unused-binding { ;; ignore unused :as binding. | ||
:exclude-destructured-as true} | ||
:unresolved-symbol { ;; `thrown-with-msg-and-data?` is a legit extension to the `is` macro | ||
;; via an `assert-expr` defmethod (see clojure.test doc) | ||
:exclude [(clojure.test/is [thrown-with-msg-and-data?])]}} | ||
|
||
:lint-as {clojure.test.check.clojure-test/defspec clojure.core/def | ||
jackdaw.data/defn->data clojure.core/defn | ||
jackdaw.test.transports/deftransport clojure.core/defn | ||
manifold.deferred/loop clojure.core/let}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be slightly simpler:
https://github.com/FundingCircle/decisioning/blob/4be4aa90ec49793eae3449f64bb5b00439a16e76/.drone.yml#L136
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jackdaw is still using circleci, not drone.