Update cairo linter to Cairo 1.0 (#4530)

* update cairo linter

* new cairo handler test

* add another handler instead of replacing
This commit is contained in:
0xHyoga authored and GitHub committed 2023-06-27 18:44:20 +09:00
1 parent c0eff9f2f1
commit 5ab35a7a30
3 files changed
+77 -1

No files matched your search

+3 -1
View File
@@ -1,5 +1,6 @@
" Author: 0xHyoga <0xHyoga@gmx.com>
" Description: Report starknet-compile errors in cairo code
" Description: Report starknet-compile errors in cairo code (pre-starknet
" 1.0). This is deprecated but kept for backwards compatability.
call ale#Set('cairo_starknet_executable', 'starknet-compile')
call ale#Set('cairo_starknet_options', '')
@@ -35,3 +36,4 @@ call ale#linter#Define('cairo', {
\ 'callback': 'ale_linters#cairo#starknet#Handle',
\ 'output_stream': 'stderr',
\})