Skip to content

Commit a1a5222

Browse files
committed
fix: lint and do not test on swift
1 parent 14242cf commit a1a5222

File tree

4 files changed

+9
-27
lines changed

4 files changed

+9
-27
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: tree-sitter/parser-test-action@v2
3939
with:
4040
test-rust: true
41-
test-node: false
4241
test-python: true
4342
test-go: true
44-
test-swift: true
43+
test-swift: false
44+
test-node: false

.github/workflows/fuzz.yml

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

grammar.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -420,19 +420,19 @@ module.exports = grammar({
420420
'"',
421421
letter,
422422
optional(repeat(choice(letter, decimal_digit, '_'))),
423-
'"'
423+
'"',
424424
),
425425
seq(
426-
"'",
426+
'\'',
427427
letter,
428428
optional(repeat(choice(letter, decimal_digit, '_'))),
429-
"'"
429+
'\'',
430430
),
431431
seq(
432432
letter,
433-
optional(repeat(choice(letter, decimal_digit, '_')))
434-
)
435-
)
433+
optional(repeat(choice(letter, decimal_digit, '_'))),
434+
),
435+
),
436436
),
437437
_identifier_or_string: $ => choice($.identifier, $.string),
438438

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"scripts": {
4747
"install": "node-gyp-build",
4848
"lint": "eslint grammar.js",
49+
"lint-fix": "eslint grammar.js --fix",
4950
"prestart": "tree-sitter build --wasm",
5051
"start": "tree-sitter playground",
5152
"test": "node --test bindings/node/*_test.js"

0 commit comments

Comments
 (0)