diff --git a/package.json b/package.json index 9fc87636c6..2a1dc29ee3 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,8 @@ "docs": "run-s docs:*", "docs:user": "node scripts/docs.mjs", "docs:api": "typedoc --tsconfig ./tsconfig.typedoc.json src/bpmn-visualization.ts", - "lint": "eslint \"**/*.{js,mjs,cjs,ts}\" --max-warnings 0 --quiet --fix", - "lint-check": "eslint \"**/*.{js,mjs,cjs,ts}\" --max-warnings 0", + "lint": "eslint \"**/*.{js,cjs,mjs,ts,cts,mts}\" --max-warnings 0 --quiet --fix", + "lint-check": "eslint \"**/*.{js,cjs,mjs,ts,cts,mts}\" --max-warnings 0", "test": "run-s test:unit test:integration test:e2e", "test:unit": "jest --runInBand --config=./test/unit/jest.config.cjs", "test:unit:coverage": "npm run test:unit -- --coverage", @@ -165,7 +165,7 @@ "@types/node": "^16.18.0" }, "lint-staged": { - "*.{js,mjs,cjs,ts}": [ + "*.{js,cjs,mjs,ts,cts,mts}": [ "eslint --fix" ] }