Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions solidity-flycheck.el
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@ Possible values are:
:safe #'booleanp
:package-version '(solidity . "0.1.5"))

(flycheck-def-option-var flycheck-solidity-solc-addstd-contracts nil solidity-checker
"Whether to add standard solidity contracts.

When non-nil, enable add also standard solidity contracts via
`--add-std'."
:type 'boolean
:safe #'booleanp
:package-version '(solidity-mode . "0.1.3"))

(flycheck-def-option-var flycheck-solidity-solium-soliumrcfile nil solium-check
"The path to use for soliumrc.json

Expand All @@ -98,9 +89,7 @@ we pass the directory to solium via the `--config' option."
;; (let ((next-checkers-val `((,solidity-flycheck-chaining-error-level . solium-checker))))
;; (flycheck-define-checker solidity-checker
;; "A Solidity syntax checker using the solc compiler"
;; :command ("solc"
;; (option-flag "--add-std" flycheck-solidity-solc-addstd-contracts)
;; source-inplace)
;; :command ("solc" source-inplace)
;; :error-patterns
;; ((error line-start (file-name) ":" line ":" column ":" " Error: " (message))
;; (error line-start "Error: " (message))
Expand All @@ -116,9 +105,7 @@ we pass the directory to solium via the `--config' option."
(progn
(flycheck-def-executable-var solidity-checker "solc")
(flycheck-define-command-checker 'solidity-checker "A Solidity syntax checker using the solc compiler" :command
'("solc"
(option-flag "--add-std" flycheck-solidity-solc-addstd-contracts)
source-inplace)
'("solc" source-inplace)
:error-patterns
'((error line-start
(file-name)
Expand Down