Skip to content

Commit

Permalink
format the codebase with new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaskiewicz committed Feb 6, 2024
1 parent d703daa commit 531d4a3
Show file tree
Hide file tree
Showing 7 changed files with 535 additions and 15 deletions.
14 changes: 8 additions & 6 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
"short_name": "Stencil",
"start_url": "/",
"display": "standalone",
"icons": [{
"src": "assets/img/icon.png",
"sizes": "512x512",
"type": "image/png"
}],
"icons": [
{
"src": "assets/img/icon.png",
"sizes": "512x512",
"type": "image/png"
}
],
"background_color": "#16161d",
"theme_color": "#16161d"
}
}
8 changes: 4 additions & 4 deletions src/theme/SearchBar/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React, { useEffect } from 'react';

import styles from './index.module.scss'
import styles from './index.module.scss';

type DocSearchProps = {
apiKey: string;
indexName: string;
inputSelector: string;
debug: boolean;
}
};

interface CustomWindow extends Window {
docsearch: (props: DocSearchProps) => void;
Expand All @@ -25,7 +25,7 @@ export default function SearchBar() {
apiKey: '6399791d239c7e56a6b47685a64f8873',
indexName: 'stenciljs',
inputSelector: '#algolia-search',
debug: false // Set debug to true if you want to inspect the dropdown
debug: false, // Set debug to true if you want to inspect the dropdown
});
};

Expand All @@ -42,4 +42,4 @@ export default function SearchBar() {
<input className={styles.searchInput} placeholder="Search docs..." id="algolia-search" />
</div>
);
}
}
244 changes: 243 additions & 1 deletion static/blog/how-lazy-loading-works.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/blog/list.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
"img": "/assets/img/blog/posts/stencil-lazy-loading.png",
"filePath": "/assets/blog/how-lazy-loading-works.json"
}
]
]
278 changes: 277 additions & 1 deletion static/blog/stencil-roadmap-fall-2019.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/cli.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
console.log('\x1b[31mERROR\x1b[0m Stencil for Deno has reached end-of-life')
console.log('\x1b[31mERROR\x1b[0m Stencil for Deno has reached end-of-life');
Deno.exit(1);
2 changes: 1 addition & 1 deletion static/docs-structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -445,4 +445,4 @@
}
]
}
]
]

0 comments on commit 531d4a3

Please sign in to comment.