mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-02-05 02:47:57 +00:00
chore: add eclint for editorconfig linting and fix violations
- Install eclint ^2.8.1 for editorconfig validation and fixing - Add .eclintignore to exclude generated files and dependencies - Add npm scripts: lint:editorconfig and lint:editorconfig:fix - Fix indentation issues in CONTRIBUTING.md (3 spaces -> 2 spaces) - Fix code alignment in scanner.c to match editorconfig rules - Regenerate parser after scanner.c formatting changes
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
"lint": "npx mega-linter-runner",
|
||||
"lint:yaml": "yamllint .",
|
||||
"lint:markdown": "markdownlint . --config .markdownlint.json --ignore node_modules --fix",
|
||||
"lint:editorconfig": "eclint check .",
|
||||
"lint:editorconfig:fix": "eclint fix .",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check .",
|
||||
"precommit": "pre-commit run --all-files",
|
||||
@@ -37,6 +39,7 @@
|
||||
"tree-sitter-bash": "^0.25.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eclint": "^2.8.1",
|
||||
"markdownlint-cli": "^0.46.0",
|
||||
"nodemon": "^3.0.1",
|
||||
"prettier": "^3.6.2",
|
||||
|
||||
Reference in New Issue
Block a user