Skip to content

Commit

Permalink
package.json: more extension to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard committed Aug 31, 2023
1 parent f1550da commit 35828c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -165,7 +165,7 @@
"@types/node": "^16.18.0"
},
"lint-staged": {
"*.{js,mjs,cjs,ts}": [
"*.{js,cjs,mjs,ts,cts,mts}": [
"eslint --fix"
]
}
Expand Down

0 comments on commit 35828c1

Please sign in to comment.