Skip to content
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

super-linter: VALIDATE_ALL_CODEBASE true #477

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- uses: super-linter/super-linter/slim@v6.3.0
env:
DEFAULT_BRANCH: main
ERROR_ON_MISSING_EXEC_BIT: true
VALIDATE_EDITORCONFIG: true
# VALIDATE_EDITORCONFIG: true
VALIDATE_CLANG_FORMAT: true
VALIDATE_DOCKERFILE_HADOLINT: true
Expand Down
86 changes: 43 additions & 43 deletions tmp/c-new/input.one
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,34 @@ package main
// const i32 global_int2 = 110

i8 test1 {
_ 4
_ 4+3
_ 5+1-2+6
_ 5.5 - 0.1 * 5.2 + 6 / 24
_ (2 + 15 * ( 25 - 13 ) / 1 - 4) + 10 / 2
_ -3
_ +4
_ 4
_ 4+3
_ 5+1-2+6
_ 5.5 - 0.1 * 5.2 + 6 / 24
_ (2 + 15 * ( 25 - 13 ) / 1 - 4) + 10 / 2
_ -3
_ +4
}

/*
i8 test2{
}

i8 main {
// _
_ 1
__ 2
!_ 3
!__ 4
__ 8, 9, 10
// _
_ 1
__ 2
!_ 3
!__ 4
__ 8, 9, 10
}

i8 ret_num {
ret 54
ret 54
}

i8 ret_my_num (i8 a) {
ret a, 1, 10, 100, 1000
ret a, 1, 10, 100, 1000
}

*/
Expand All @@ -52,42 +52,42 @@ i8 ret_my_num (i8 a) {

/*
test() {
u8 u_age = 32
u8 u_age = 32

age = 5
age = 5

const c_police = 110 // You cannot change the value of this variable anymore!
const c_police = 110 // You cannot change the value of this variable anymore!

final c_my_phone
c_my_phone = 91240405555 // You cannot change the value of this variable anymore!
final c_my_phone
c_my_phone = 91240405555 // You cannot change the value of this variable anymore!

final c_my_phone2 = 912404011111 // You cannot change the value of this variable anymore!
final c_my_phone2 = 912404011111 // You cannot change the value of this variable anymore!

name = "Max"
name = "Max!"
name = "Max"
name = "Max!"

string s_name = "Max"
s_name = "Max?"
string s_name = "Max"
s_name = "Max?"

// 5
// 5.64.4
// if
// 5
// 5.64.4
// if

if 5 > 4 {
_ "Yes\n"
// equal to
__ "Yes"
}
if 5 > 4 {
_ "Yes\n"
// equal to
__ "Yes"
}

names = ["Max", "Ali", "John"]
string[] sa_names = ["Max", "Ali", "John"]
for name in names {
_ name
}
_ "Hello, World!"
_ 1, 2, 3, 4, 5
_ ret_num()
_ ret_my_num(40)
_ ret_my_num(10)
names = ["Max", "Ali", "John"]
string[] sa_names = ["Max", "Ali", "John"]
for name in names {
_ name
}
_ "Hello, World!"
_ 1, 2, 3, 4, 5
_ ret_num()
_ ret_my_num(40)
_ ret_my_num(10)
}
*/
6 changes: 3 additions & 3 deletions tmp/c/input.one
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


main(i32 a){
# this have crash: ret -3
ret 110
ret 3
# this have crash: ret -3
ret 110
ret 3
}
Loading