package: update lint scripts

This commit is contained in:
0x1eef 2023-07-14 18:16:40 -03:00
parent 70a33d4bd7
commit ef562d3274

View file

@ -2,9 +2,8 @@
"name": "al-quran.reflectslight.io", "name": "al-quran.reflectslight.io",
"workspaces": ["./packages/typescript/*"], "workspaces": ["./packages/typescript/*"],
"scripts": { "scripts": {
"eslint": "node ./node_modules/eslint/bin/eslint.js src/js/", "eslint": "npm exec eslint -- --fix src/js/",
"eslint-autofix": "node ./node_modules/eslint/bin/eslint.js --fix src/js/", "prettier": "npm exec prettier -- --write src/js/"
"prettier-autofix": "npm exec prettier -- --write src/js/"
}, },
"dependencies": { "dependencies": {
"react": "^18.2.0", "react": "^18.2.0",