Files
web/packages/design-system/lint-staged.config.js
Joakim Jäderberg 80c3327419 Merged in fix/linting (pull request #2708)
Fix/linting

* fix import issues and add lint check no-extraneous-dependencies
* fix use type HotelType instead of string

Approved-by: Anton Gunnarsson
2025-08-27 09:22:37 +00:00

12 lines
241 B
JavaScript

const config = {
'*.{ts,tsx}': [
() => 'yarn lint',
() => 'tsc -p tsconfig.json --noEmit',
'prettier --write',
],
'*.{json,md}': 'prettier --write',
'*.{html,js,cjs,mjs,css}': 'prettier --write',
}
export default config