Skip to content

Commit

Permalink
Merge branch 'main' into update-npm-data
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Dec 17, 2023
2 parents 8972dd6 + 6289dbe commit 9094497
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 22 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const config = {
rules: {
'@typescript-eslint/array-type': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
'svelte/block-lang': ['error', { script: ['ts'] }],
'svelte/no-at-html-tags': 'off',
'svelte/valid-compile': 'off'
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Mermaid.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import { onMount } from 'svelte';
let graph = null;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/ComponentIndex/Card.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import Tag from '../Tag.svelte';
import { copyToClipboard } from '$lib/utils/clipboard';
import { packageManager as manager } from '$stores/packageManager';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/ComponentIndex/CardList.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
export let title;
export let id = `category-${encodeURI(title)}`;
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/EventListElement/index.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import Icon from '$lib/components/Icon/index.svelte';
export let title,
date,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Icon/index.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
export let name;
export let width = '24px';
export let height = '24px';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Select.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import SvelteSelect from 'svelte-select';
export let value;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Seo.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script type="ts">
<script lang="ts">
import { page } from '$app/stores';
const brand = 'Svelte Society';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Societies/index.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import Icon from '$lib/components/Icon/index.svelte';
import societies from './societies.json';
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Tag.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
export let title = '';
export let variant;
export let click = undefined;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/_SocialLinks/Link.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
export let path, image, alt;
</script>

Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/layout/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
// get the year for the copyright statement
var date = new Date();
var year = date.getFullYear();
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/recipes/CategoryTree.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import { page } from '$app/stores';
export let nodes;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/layouts/EventPage.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import Seo from '$lib/components/Seo.svelte';
export let title = '';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/layouts/Recipe.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import CategoryTree from '$lib/components/recipes/CategoryTree.svelte';
import Icon from '$lib/components/Icon/index.svelte';
import { categories } from '$lib/stores/recipes';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/layouts/RecipeCategory.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import Icon from '$lib/components/Icon/index.svelte';
import { categories } from '$lib/stores/recipes';
import { page } from '$app/stores';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/layouts/SearchLayout.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
export let title;
</script>

Expand Down
2 changes: 1 addition & 1 deletion src/routes/about/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import Seo from '$lib/components/Seo.svelte';
</script>

Expand Down
2 changes: 1 addition & 1 deletion src/routes/components/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import components from './components.json';
import SearchableJson from '../searchableJson.svelte';
import { injectNpmData } from '$utils/injectNpmData';
Expand Down
2 changes: 1 addition & 1 deletion src/routes/resources/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
const booksFromPublisher = [
{
name: 'Svelte 3 Up and Running',
Expand Down
2 changes: 1 addition & 1 deletion src/routes/searchableJson.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import ComponentCard from '$lib/components/ComponentIndex/Card.svelte';
import List from '$lib/components/ComponentIndex/CardList.svelte';
import SearchLayout from '$layouts/SearchLayout.svelte';
Expand Down
2 changes: 1 addition & 1 deletion src/routes/templates/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import templates from './templates.json';
import SearchableJson from '../searchableJson.svelte';
import { injectStars } from '$utils/stars';
Expand Down
2 changes: 1 addition & 1 deletion src/routes/tools/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import tools from '../tools/tools.json';
import SearchableJson from '../searchableJson.svelte';
import { injectNpmData } from '$utils/injectNpmData';
Expand Down

0 comments on commit 9094497

Please sign in to comment.