Skip to content

Commit

Permalink
chore: added a linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ncpa0cpl committed Nov 6, 2024
1 parent 32125cc commit 76c532d
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 6 deletions.
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,17 @@
"email": "[email protected]"
},
"scripts": {
"fix:lint": "eslint --fix .",
"fix:lint": "oxlint --fix .",
"fix:prettier": "prettier -w ./src/**/*.ts",
"test:lint": "eslint .",
"test:lint": "oxlint .",
"test:prettier": "prettier -c ./src/**/*.ts",
"test:tsc": "tsc --noEmit",
"test:unit": "yarn g",
"build": "./scripts/build.mjs",
"auto-bump": "./scripts/auto-bump.mjs",
"publish:npm": "yarn build --clean && npm publish --access public",
"g": "./node_modules/.bin/gest"
"g": "./node_modules/.bin/gest",
"prepare": "husky install"
},
"_bundledDependencies": [
"dilswer",
Expand All @@ -67,9 +68,10 @@
"axios": "~1.5.0",
"dilswer": "~2.1.1",
"fs-gjs": "~1.0.1",
"git-hook-tasks": "git+https://github.com/ncpa0cpl/git-hook-tasks#2.0.0",
"git-hook-tasks": "git+https://github.com/ncpa0cpl/git-hook-tasks#4215793",
"gjs-esm-types": "~0.0.4",
"husky": "~8.0.3",
"oxlint": "^0.11.0",
"pr-changelog-gen": "~1.1.3",
"prettier": "~3.0.0",
"prettier-plugin-jsdoc": "~1.0.1",
Expand Down
58 changes: 56 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,46 @@
dependencies:
"@octokit/openapi-types" "^18.0.0"

"@oxlint/[email protected]":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@oxlint/darwin-arm64/-/darwin-arm64-0.11.0.tgz#9c990b660d59695999ee8600a081d9668b7ecbea"
integrity sha512-qQ1C5yvRYECp+FP8DCOSqNX4+e72xXyApJ2O8QyIeYFuGGF2MoDVQz3NYJEOjOfArZ9YXGsELwM3UFtjTGIZVg==

"@oxlint/[email protected]":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@oxlint/darwin-x64/-/darwin-x64-0.11.0.tgz#6c0f2dc0aa168ace50eae1c9ba6ad45e5ac85d01"
integrity sha512-pAqp6/6+mAIPr8WBndzmEuRbcXW8WNdn80hd8fLeR9teJI8eMpTkYL6kQIU7VjJ3NxpmzBLO7nh979/bwmmuBQ==

"@oxlint/[email protected]":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-0.11.0.tgz#d92942838a1b1e4f9f47f860032b01fe7260c265"
integrity sha512-RmpjCWjX0RJ1MdIcqGQsOlXh9WgXnVgVolZLCs8MHqNuYtaIA+0VOxOhJOr7CQ0HmwV+ysPTAiQ2SVSI2tVJQQ==

"@oxlint/[email protected]":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@oxlint/linux-arm64-musl/-/linux-arm64-musl-0.11.0.tgz#4a14ad9a7442e5a697c23e00895826cc69ef15b9"
integrity sha512-totBeaOeZlblKRpSZi3svVWpJjFlhxR7Xzrh3nhPTgHMM3696qjzyb80Yg0K8gAlOrIDlBblLG0JnaxvdM2yjg==

"@oxlint/[email protected]":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@oxlint/linux-x64-gnu/-/linux-x64-gnu-0.11.0.tgz#60128cf1acc79887505dd9cb080303121d585f69"
integrity sha512-tXiJ97WH4vwTIkGMnXYPx5NqwQiYLW9MbmnGkKkm5Xv/wpAaN761PkHRJT0zsYoAgoU3nZVp3qhit9MpHq1SQg==

"@oxlint/[email protected]":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@oxlint/linux-x64-musl/-/linux-x64-musl-0.11.0.tgz#ce49152bd367cc2b4daa0d6236066cdcd49a4f4b"
integrity sha512-LgjgD80fiz37g31t/jMm9kyDM31WPjcTkXXXU702WQsdhujXVUZDWid9/QeVvi51EVufyyekaTYgNR8REVVZZg==

"@oxlint/[email protected]":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@oxlint/win32-arm64/-/win32-arm64-0.11.0.tgz#ed0614eb12c275424a209f4986659896101b9ea4"
integrity sha512-lfANFSWt0vU6x9JQYeMEy6uy8wniZGYQt0nT45P3BwXIMhAJbEC3yEX+bP5x8eTQrgkDu4dwIDURGCeeUL/NdA==

"@oxlint/[email protected]":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@oxlint/win32-x64/-/win32-x64-0.11.0.tgz#873762e8fa189ab1ebca118d30c3a3eaa0c9f813"
integrity sha512-5CHtAp82xbv0jnh/HGi3QE0ANBr3+R338MA0wgZXc7477Vuri0aSK0T9oRU+K/pVloPVJaWKSDCCZoiZIYckzg==

"@pkgjs/parseargs@^0.11.0":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
Expand Down Expand Up @@ -1061,9 +1101,9 @@ get-symbol-description@^1.0.0:
call-bind "^1.0.2"
get-intrinsic "^1.1.1"

"git-hook-tasks@git+https://github.com/ncpa0cpl/git-hook-tasks#2.0.0":
"git-hook-tasks@git+https://github.com/ncpa0cpl/git-hook-tasks#4215793":
version "2.0.0"
resolved "git+https://github.com/ncpa0cpl/git-hook-tasks#1c70c0404277aa23c462c1615109061768c51e4c"
resolved "git+https://github.com/ncpa0cpl/git-hook-tasks#42157935c4202b19e7ffdd39ced8342979ac4f19"
dependencies:
async-await-queue "^2.1.4"
chalk "^4.0.0"
Expand Down Expand Up @@ -1761,6 +1801,20 @@ once@^1.4.0:
dependencies:
wrappy "1"

oxlint@^0.11.0:
version "0.11.0"
resolved "https://registry.yarnpkg.com/oxlint/-/oxlint-0.11.0.tgz#23b9ba390ca1cbf61f0149481c0219a991a74364"
integrity sha512-uY6/R4k5bECwJBR+y8CqGRcUb5hxNReziBjt5+pk6DKxj46DqMd6HwEk090KnaH1czVf23r8mcEsJYGowMWeIA==
optionalDependencies:
"@oxlint/darwin-arm64" "0.11.0"
"@oxlint/darwin-x64" "0.11.0"
"@oxlint/linux-arm64-gnu" "0.11.0"
"@oxlint/linux-arm64-musl" "0.11.0"
"@oxlint/linux-x64-gnu" "0.11.0"
"@oxlint/linux-x64-musl" "0.11.0"
"@oxlint/win32-arm64" "0.11.0"
"@oxlint/win32-x64" "0.11.0"

parse-github-repo-url@^1.4.1:
version "1.4.1"
resolved "https://registry.yarnpkg.com/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50"
Expand Down

0 comments on commit 76c532d

Please sign in to comment.