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
This commit is contained in:
@@ -33,7 +33,7 @@ export default defineConfig([
|
||||
"no-unused-vars": "off",
|
||||
"import/no-relative-packages": "error",
|
||||
"simple-import-sort/imports": [
|
||||
"error",
|
||||
"warn",
|
||||
{
|
||||
groups: [
|
||||
["^\\u0000"],
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
const config = {
|
||||
"*.{ts,tsx}": [() => "tsc -p tsconfig.json --noEmit", "prettier --write"],
|
||||
"*.{ts,tsx}": [
|
||||
() => "yarn lint",
|
||||
() => "tsc -p tsconfig.json --noEmit",
|
||||
"prettier --write",
|
||||
],
|
||||
"*.{json,md}": "prettier --write",
|
||||
"*.{html,js,cjs,mjs,css}": "prettier --write",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user