File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -505,7 +505,15 @@ we pass the directory to solium via the `--config' option."
505
505
source-inplace)
506
506
:error-patterns
507
507
((error line-start (zero-or-more " " ) line " :" column (zero-or-more " " ) " error" (message ))
508
+ (error line-start (zero-or-more not-newline) " [Fatal error]" (message ))
508
509
(warning line-start (zero-or-more " " ) line " :" column (zero-or-more " " ) " warning" (message )))
510
+ :error-filter
511
+ ; ; Add fake line numbers if they are missing in the lint output
512
+ (lambda (errors )
513
+ (dolist (err errors)
514
+ (unless (flycheck-error-line err)
515
+ (setf (flycheck-error-line err) 1 )))
516
+ errors)
509
517
:modes solidity-mode
510
518
:predicate (lambda () (eq major-mode 'solidity-mode )))
511
519
You can’t perform that action at this time.
0 commit comments