Skip to content

Commit

Permalink
Merge branch 'next' into docs/utils/randomizer
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Nov 3, 2024
2 parents 9c50dfb + cb97682 commit bf03fd0
Show file tree
Hide file tree
Showing 7 changed files with 277 additions and 182 deletions.
56 changes: 11 additions & 45 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,53 +109,19 @@ const config: UserConfig<DefaultTheme.Config> = {
head: [
['link', { rel: 'icon', href: '/logo.svg' }],
['meta', { name: 'theme-color', content: '#40af7c' }],
[
'meta',
{
name: 'og:description',
content: description,
},
],
[
'meta',
{
name: 'twitter:description',
content: description,
},
],
[
'meta',
{
name: 'og:image',
content: image,
},
],
[
'meta',
{
name: 'twitter:image',
content: image,
},
],
[
'meta',
{
name: 'twitter:card',
content: 'summary_large_image',
},
],
[
'link',
{
rel: 'me',
href: 'https://fosstodon.org/@faker_js',
},
],
['meta', { name: 'og:title', content: 'FakerJS' }],
['meta', { name: 'og:description', content: description }],
['meta', { name: 'og:image', content: image }],
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
['meta', { name: 'twitter:title', content: 'FakerJS' }],
['meta', { name: 'twitter:description', content: description }],
['meta', { name: 'twitter:site', content: '@faker_js' }],
['meta', { name: 'twitter:image', content: image }],
['meta', { name: 'twitter:image:alt', content: 'The FakerJS logo' }],
['link', { rel: 'me', href: 'https://fosstodon.org/@faker_js' }],
[
'script',
{
id: 'browser-console-faker',
},
{ id: 'browser-console-faker' },
`
const logStyle = 'background: rgba(16, 183, 127, 0.14); color: rgba(255, 255, 245, 0.86); padding: 0.5rem; display: inline-block;';
console.log(\`%cIf you would like to test Faker in the browser console, you can do so using 'await enableFaker()'.
Expand Down
5 changes: 4 additions & 1 deletion eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ const config: ReturnType<typeof tseslint.config> = tseslint.config(
],
'@typescript-eslint/switch-exhaustiveness-check': [
'error',
{ requireDefaultForNonUnion: true },
{
considerDefaultExhaustiveForUnions: true, // we consider default cases for unions valid
requireDefaultForNonUnion: true,
},
],
'@typescript-eslint/unbound-method': 'off',
'@typescript-eslint/unified-signatures': 'off', // incompatible with our api docs generation
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@
],
"devDependencies": {
"@actions/github": "6.0.0",
"@eslint/compat": "1.2.1",
"@eslint/js": "9.13.0",
"@stylistic/eslint-plugin": "2.9.0",
"@eslint/compat": "1.2.2",
"@eslint/js": "9.14.0",
"@stylistic/eslint-plugin": "2.10.1",
"@types/eslint__js": "8.42.3",
"@types/node": "22.8.6",
"@types/sanitize-html": "2.13.0",
Expand All @@ -118,7 +118,7 @@
"@vueuse/core": "11.2.0",
"commit-and-tag-version": "12.5.0",
"cypress": "13.15.1",
"eslint": "9.13.0",
"eslint": "9.14.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jsdoc": "50.4.3",
"eslint-plugin-prettier": "5.2.1",
Expand All @@ -135,7 +135,7 @@
"tsup": "8.3.5",
"tsx": "4.19.2",
"typescript": "5.6.3",
"typescript-eslint": "8.11.0",
"typescript-eslint": "8.12.2",
"validator": "13.12.0",
"vitepress": "1.4.3",
"vitest": "2.1.4",
Expand Down
Loading

0 comments on commit bf03fd0

Please sign in to comment.