Skip to content

Commit f9e3b83

Browse files
authored
feat(tolk): remove call argument inspection since we are using acton check for linting (#289)
1 parent 7ccccca commit f9e3b83

4 files changed

Lines changed: 6 additions & 134 deletions

File tree

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@
209209
"type": "tvm",
210210
"label": "TVM Debug"
211211
},
212+
{
213+
"type": "acton",
214+
"label": "Acton Debug"
215+
},
212216
{
213217
"type": "assembly",
214218
"label": "Assembly Debug"
@@ -708,8 +712,7 @@
708712
"struct-initialization",
709713
"cannot-reassign",
710714
"need-not-null-unwrapping",
711-
"missed-semicolon",
712-
"call-arguments-count-mismatch"
715+
"missed-semicolon"
713716
]
714717
},
715718
"default": [

server/src/languages/tolk/inspections/CallArgumentsCountMismatchInspection.ts

Lines changed: 0 additions & 129 deletions
This file was deleted.

server/src/languages/tolk/inspections/Inspection.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export const InspectionIds = {
1616
CANNOT_REASSIGN: "cannot-reassign",
1717
MISSED_SEMICOLON: "missed-semicolon",
1818
NEED_NOT_NULL_UNWRAPPING: "need-not-null-unwrapping",
19-
CALL_ARGUMENTS_COUNT_MISMATCH: "call-arguments-count-mismatch",
2019
} as const
2120

2221
export type InspectionId = (typeof InspectionIds)[keyof typeof InspectionIds]

server/src/languages/tolk/inspections/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {UnusedTopLevelDeclarationInspection} from "@server/languages/tolk/inspec
1313
import {UnusedTypeParameterInspection} from "@server/languages/tolk/inspections/UnusedTypeParameterInspection"
1414
import {NeedNotNullUnwrappingInspection} from "@server/languages/tolk/inspections/NeedNotNullUnwrappingInspection"
1515
import {MissedSemicolonInspection} from "@server/languages/tolk/inspections/MissedSemicolonInspection"
16-
import {CallArgumentsCountMismatchInspection} from "@server/languages/tolk/inspections/CallArgumentsCountMismatchInspection"
1716

1817
export async function runTolkInspections(
1918
uri: string,
@@ -32,7 +31,7 @@ export async function runTolkInspections(
3231
new CannotReassignInspection(),
3332
new NeedNotNullUnwrappingInspection(),
3433
new MissedSemicolonInspection(),
35-
new CallArgumentsCountMismatchInspection(),
34+
// new CallArgumentsCountMismatchInspection(),
3635
]
3736

3837
const settings = await getDocumentSettings(uri)

0 commit comments

Comments
 (0)