Refine code formatting configuration
[poolifier.git] / package.json
index 441c9475c4e651272eed7bcbc8397a75865dfde9..0561bb507ba225bcdcc6a51db21d812d737c6f80 100644 (file)
@@ -15,6 +15,7 @@
     "test:debug": "npm run build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
     "coverage": "c8 report --reporter=lcov",
     "coverage:html": "c8 report --reporter=html",
+    "format": "prettier . --write; ts-standard . --fix",
     "lint": "eslint . --cache",
     "lint:fix": "eslint . --cache --fix",
     "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
     "prepublishOnly": "npm run build:prod"
   },
   "ts-standard": {
-    "ignore": [
-      "tests/**/*.js"
+    "globals": [
+      "describe",
+      "it",
+      "before",
+      "after",
+      "beforeEach",
+      "afterEach"
     ]
   },
   "engines": {