🎨 Run prettier on all files (fix #21)

This commit is contained in:
Alexandre Mouton-Brady
2021-12-24 22:42:17 +01:00
parent d8d2c5b2af
commit ccb0d1a718
38 changed files with 136 additions and 130 deletions
+1
View File
@@ -7,6 +7,7 @@ This is the reason you see a `pnpm-lock.yaml`. That being said, any package mana
```bash
$ npm install # or pnpm install or yarn install
```
### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)
## Available Scripts
+1 -1
View File
@@ -1,4 +1,4 @@
import type { Component } from "solid-js";
import type { Component } from 'solid-js';
const App: Component = () => {
return (
+4 -4
View File
@@ -1,6 +1,6 @@
import "windi.css";
import { render } from "solid-js/web";
import 'windi.css';
import { render } from 'solid-js/web';
import App from "./App";
import App from './App';
render(() => <App />, document.getElementById("root") as HTMLElement);
render(() => <App />, document.getElementById('root') as HTMLElement);
+5 -5
View File
@@ -1,18 +1,18 @@
import { defineConfig } from "vite";
import solidPlugin from "vite-plugin-solid";
import WindiCSS from "vite-plugin-windicss";
import { defineConfig } from 'vite';
import solidPlugin from 'vite-plugin-solid';
import WindiCSS from 'vite-plugin-windicss';
export default defineConfig({
plugins: [
solidPlugin(),
WindiCSS({
scan: {
fileExtensions: ["html", "js", "ts", "jsx", "tsx"],
fileExtensions: ['html', 'js', 'ts', 'jsx', 'tsx'],
},
}),
],
build: {
target: "esnext",
target: 'esnext',
polyfillDynamicImport: false,
},
});