-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
675 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
pre-commit: | ||
parallel: false | ||
commands: | ||
prettier: | ||
format: | ||
glob: '*.{json,md,yml,ts}' | ||
run: npx prettier --write {staged_files} && git add {staged_files} | ||
eslint: | ||
lint: | ||
glob: 'src/*.ts' | ||
run: npx oxlint --fix {staged_files} && git add {staged_files} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,21 +12,24 @@ | |
"@evilmartians/lefthook": "1.5.5", | ||
"@ffflorian/eslint-config": "0.10.1", | ||
"@ffflorian/prettier-config": "0.3.1", | ||
"@types/eslint": "8.56.2", | ||
"@types/fs-extra": "11.0.4", | ||
"@types/jsonabc": "2.3.3", | ||
"@types/lodash": "4.14.202", | ||
"@types/node": "~20", | ||
"@types/prettier": "3.0.0", | ||
"@types/semver": "7.5.6", | ||
"@typescript-eslint/eslint-plugin": "6.18.0", | ||
"@typescript-eslint/parser": "6.18.0", | ||
"@typescript-eslint/eslint-plugin": "6.18.1", | ||
"@typescript-eslint/parser": "6.18.1", | ||
"babel-eslint": "10.1.0", | ||
"cross-env": "7.0.3", | ||
"eslint": "8.56.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-import": "2.29.1", | ||
"eslint-plugin-jasmine": "4.1.3", | ||
"eslint-plugin-jsdoc": "48.0.2", | ||
"eslint-plugin-no-unsanitized": "4.0.2", | ||
"eslint-plugin-oxlint": "0.2.0", | ||
"eslint-plugin-prettier": "5.1.2", | ||
"eslint-plugin-simple-import-sort": "10.0.0", | ||
"eslint-plugin-sort-keys-fix": "1.1.2", | ||
|
@@ -52,22 +55,21 @@ | |
"packageManager": "[email protected]", | ||
"prettier": "@ffflorian/prettier-config", | ||
"repository": "https://github.com/ffflorian/schemastore-updater.git", | ||
"resolutions": { | ||
"minimatch": "^3" | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"clear": "rimraf dist", | ||
"check-disabled": "yarn start check-disabled", | ||
"fix-lockfile": "yarn start fix-lockfile", | ||
"dist": "yarn clear && yarn build", | ||
"fix": "yarn fix:other && yarn fix:ts", | ||
"fix:other": "yarn prettier --write", | ||
"fix:other": "yarn format --write", | ||
"fix:ts": "yarn lint:ts --fix", | ||
"lint": "yarn lint:ts && yarn lint:other", | ||
"lint:other": "yarn prettier --list-different", | ||
"lint:ts": "oxlint --ignore-path .gitignore src/", | ||
"prettier": "prettier \"*.{json,md,yml}\"", | ||
"lint:other": "yarn format --list-different", | ||
"lint:ts": "yarn lint:oxlint && yarn lint:eslint", | ||
"lint:oxlint": "oxlint --ignore-path .gitignore src/", | ||
"lint:eslint": "eslint --ignore-path .gitignore --ext .ts src/", | ||
"format": "prettier \"*.{json,md,yml}\"", | ||
"start": "cross-env NODE_DEBUG='schemastore-updater/*' ts-node src/cli.ts", | ||
"test": "exit 0", | ||
"update": "yarn start update" | ||
|
Oops, something went wrong.