Fix/linting * fix import issues and add lint check no-extraneous-dependencies * fix use type HotelType instead of string Approved-by: Anton Gunnarsson
12 lines
241 B
JavaScript
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
|