Skip to content

Commit

Permalink
Prep for patch
Browse files Browse the repository at this point in the history
  • Loading branch information
zerodevx committed Sep 3, 2024
1 parent 6c59f6b commit 7cea67a
Show file tree
Hide file tree
Showing 3 changed files with 1,180 additions and 23 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Svelte-world is akin to the fiery aftermath when the universes of
[Mad Max](https://en.wikipedia.org/wiki/Mad_Max:_Fury_Road) and
[Split](<https://en.wikipedia.org/wiki/Split_(2016_American_film)>) collide - full of peril, violent
sandstorms and new beginnings with a touch of disassociative personality disorder.
sandstorms and new beginnings with a touch of dissociative identity disorder.

To help navigate through this madness, just like how Moses parted the Red Sea, behold the emergence
of this repo. Cue angels singing. The best way to describe this is it's like a brick-layer - but
Expand All @@ -22,7 +22,7 @@ Generate the base template using `create-svelte` with these recommended options:

- [x] Skeleton or Library project
- [x] JavaScript with JSDoc comments
- [x] Include ESLint, Prettier and Playwight
- [x] Include ESLint, Prettier and Playwright

```
$ npm create svelte@latest my-app
Expand All @@ -31,7 +31,7 @@ $ npm create svelte@latest my-app
### Step 2: Run the combo-patcher

Then, layer the patches based on the last-known SvelteKit decisions. This uses
[zx](https://github.com/google/zx), so make sure that's installed.
[`zx`](https://github.com/google/zx), so make sure that's installed.

```
$ zx https://cdn.jsdelivr.net/gh/zerodevx/svelte-starter@2/index.mjs my-app
Expand Down Expand Up @@ -81,12 +81,12 @@ both well, but spaces display better outside IDEs (I'm looking at you Github).

Add defence against `no-semi`:

```js
module.exports = {
```json
{
//...
rules: {
'no-tabs': 'error',
'no-unexpected-multiline': 'error'
"rules": {
"no-tabs": "error",
"no-unexpected-multiline": "error"
}
}
```
Expand All @@ -111,9 +111,9 @@ Use `@fontsource-variable` for self-hosted open-source fonts.
### Icons

Use `@iconify/tailwind` plugin for high-performance css-only icons. Apply icon classes using
`icon-[{prefix}--{name}]`. Install icon sets at `@iconify-json/{prefix}`. Set icon size using
standard tw classes eg. `h-6 w-6`. Only icons you use will be included in your build. Read more at
[Iconify](https://github.com/iconify/iconify/tree/main/plugins/tailwind).
`iconify {prefix}--{name}`. Install icon sets at `@iconify-json/{prefix}`. Set icon size using
standard tailwind classes like `text-lg` or `w-6 h-6`. Only icons you use will be included in your
build. Read more at [Iconify](https://github.com/iconify/iconify/tree/main/plugins/tailwind).

## License

Expand Down
Loading

0 comments on commit 7cea67a

Please sign in to comment.