Skip to content

Commit e91eaad

Browse files
committed
format the repo
1 parent 926d79a commit e91eaad

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

.prettierrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"trailingComma": "all",
88
"bracketSpacing": true,
99
"bracketSameLine": true,
10-
"fluid": false,
1110
"proseWrap": "always",
1211
"overrides": [
1312
{

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"dist",
99
"src"
1010
],
11-
"scripts": {},
11+
"scripts": {
12+
"format": "prettier --write \"packages/**\""
13+
},
1214
"devDependencies": {
1315
"@typescript-eslint/eslint-plugin": "6.2.1",
1416
"@typescript-eslint/parser": "6.2.1",

packages/docs/src/app/page.module.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@
5151
border-radius: var(--border-radius);
5252
background: rgba(var(--card-rgb), 0);
5353
border: 1px solid rgba(var(--card-border-rgb), 0);
54-
transition: background 200ms, border 200ms;
54+
transition:
55+
background 200ms,
56+
border 200ms;
5557
}
5658

5759
.card span {

packages/sparx-icons/.eslintrc.cjs

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ module.exports = {
22
root: true,
33
env: { browser: true, es2020: true },
44
extends: [
5-
'eslint:recommended',
6-
'plugin:@typescript-eslint/recommended',
7-
'plugin:react-hooks/recommended',
5+
"eslint:recommended",
6+
"plugin:@typescript-eslint/recommended",
7+
"plugin:react-hooks/recommended",
88
],
9-
ignorePatterns: ['dist', '.eslintrc.cjs'],
10-
parser: '@typescript-eslint/parser',
11-
plugins: ['react-refresh'],
9+
ignorePatterns: ["dist", ".eslintrc.cjs"],
10+
parser: "@typescript-eslint/parser",
11+
plugins: ["react-refresh"],
1212
rules: {
13-
'react-refresh/only-export-components': [
14-
'warn',
15-
{ allowConstantExport: true },
16-
],
13+
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
1714
},
18-
}
15+
};

packages/sparx/examples/form-switch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as React from "react";
33
import { FormSwitch } from "../dist";
44

55
export default function Component() {
6-
const [checked, setChecked] = React.useState(false);
6+
const [checked, setChecked] = React.useState(true);
77

88
return (
99
<FormSwitch

packages/sparx/examples/util/PickerOptions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ export const PICKER_OPTIONS = [
2323
},
2424
];
2525

26-
export type PickerOption = typeof PICKER_OPTIONS[number];
26+
export type PickerOption = (typeof PICKER_OPTIONS)[number];

packages/sparx/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

0 commit comments

Comments
 (0)