Skip to content

Commit 3dac2bf

Browse files
committed
updated eslint formatter
1 parent b9d3126 commit 3dac2bf

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
node-version: ${{vars.NODE_VERSION}}
2323
- name: Install modules
2424
run: npm ci --legacy-peer-deps
25-
- name: Run ESLint
26-
run: npm run Eslint linter
27-
- name: Run Eslint formatter
25+
- name: Run ESLint linter
26+
run: npm run linter
27+
- name: Run ESLint formatter
2828
run: npm run format

grammar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ module.exports = grammar({
665665

666666
/// Composite Expressions
667667

668-
expr_unary: $ => {
668+
expr_unary: $ => {
669669
const after_not = choice(
670670
$.val_bool,
671671
$.expr_parenthesized,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"start": "tree-sitter playground",
5050
"test": "node --test bindings/node/*_test.js",
5151
"lint": "eslint grammar.js",
52-
"format": "eslint --format grammar.js"
52+
"format": "eslint --fix grammar.js"
5353
}
5454
}

0 commit comments

Comments
 (0)