diff --git a/dapp/package.json b/dapp/package.json index 4461d8f68..1e2be3b7b 100644 --- a/dapp/package.json +++ b/dapp/package.json @@ -9,8 +9,10 @@ "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", - "lint:eslint": "eslint .", - "lint:fix:eslint": "eslint . --fix", + "format": "npm run lint:js && npm run lint:config", + "format:fix": "npm run lint:js:fix && npm run lint:config:fix", + "lint:js": "eslint .", + "lint:js:fix": "eslint . --fix", "lint:config": "prettier -c '**/*.@(json|yaml|toml)'", "lint:config:fix": "prettier -w '**/*.@(json|yaml|toml)'" },