mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-01-26 03:34:03 +00:00
security: replace vulnerable eclint with editorconfig-checker
- Remove eclint@2.8.1 (has 15 vulnerabilities, possibly abandoned) - Add editorconfig-checker@6.1.1 (actively maintained, zero vulnerabilities) - Update npm scripts to use editorconfig-checker commands - Resolves all 15 security vulnerabilities (8 moderate, 7 high) editorconfig-checker is a more modern, actively maintained alternative written in Go with no Node.js dependency vulnerabilities.
This commit is contained in:
3182
package-lock.json
generated
3182
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -29,8 +29,8 @@
|
||||
"lint": "npx mega-linter-runner",
|
||||
"lint:markdown": "markdownlint . --config .markdownlint.json --ignore node_modules",
|
||||
"lint:markdown:fix": "markdownlint . --config .markdownlint.json --ignore node_modules --fix",
|
||||
"lint:editorconfig": "eclint check .",
|
||||
"lint:editorconfig:fix": "eclint fix .",
|
||||
"lint:editorconfig": "editorconfig-checker",
|
||||
"lint:editorconfig:fix": "editorconfig-checker -fix",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check .",
|
||||
"precommit": "pre-commit run --all-files",
|
||||
@@ -52,8 +52,8 @@
|
||||
"tree-sitter-bash": "^0.25.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eclint": "^2.8.1",
|
||||
"markdownlint-cli": "^0.46.0",
|
||||
"editorconfig-checker": "^6.1.1",
|
||||
"markdownlint-cli": "^0.47.0",
|
||||
"nodemon": "^3.0.1",
|
||||
"prettier": "^3.6.2",
|
||||
"tree-sitter-cli": "^0.25.10"
|
||||
|
||||
Reference in New Issue
Block a user