test: use eslint-plugin-json-files (#110)

* test(eslint): use eslint-plugin-json-files

* chore: remove sort-package-json from dependency
This commit is contained in:
Alfi Maulana
2023-12-11 19:53:00 +07:00
committed by GitHub
parent 96089ee386
commit 61dd4011c7
3 changed files with 169 additions and 66 deletions

View File

@@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"bundle": "tsc && ncc build dist/main.mjs -o main",
"check": "sort-package-json && prettier --write . !main !README.md && eslint src",
"check": "prettier --write . !main !README.md && eslint src package.json",
"test": "tsc && jest"
},
"dependencies": {
@@ -19,10 +19,10 @@
"@vercel/ncc": "^0.38.1",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-json-files": "^4.1.0",
"eslint-plugin-tsdoc": "^0.2.17",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"sort-package-json": "^2.6.0",
"typescript": "^5.3.3"
},
"packageManager": "yarn@4.0.2"