Skip to content

Commit 2b79497

Browse files
committed
chore(lint): remove playground from root lint scope and fix lint issues in playground
1 parent f69656b commit 2b79497

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const gitignorePath = fileURLToPath(new URL(".gitignore", import.meta.url));
1111

1212
export default defineConfig(
1313
includeIgnoreFile(gitignorePath, "Imported .gitignore patterns"),
14-
globalIgnores(["scripts/", "eslint.config.mjs"]),
14+
globalIgnores(["scripts/", "eslint.config.mjs", "playground/"]),
1515
eslint.configs.recommended,
1616
tseslint.configs.recommendedTypeChecked,
1717
eslintConfigPrettier,

playground/app/components/recipe/CookwareItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { Cookware } from "cooklang-parser";
33
4-
const props = defineProps<{
4+
defineProps<{
55
cookware: Cookware;
66
}>();
77
</script>

playground/app/components/recipe/TimerItem.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
<script setup lang="ts">
2-
import type {
3-
Timer,
4-
FixedValue,
5-
Range,
6-
DecimalValue,
7-
FractionValue,
8-
} from "cooklang-parser";
2+
import type { Timer, DecimalValue, FractionValue } from "cooklang-parser";
93
104
const props = defineProps<{
115
timer: Timer;

0 commit comments

Comments
 (0)