Skip to content

Commit c0e75c9

Browse files
authored
fix(config): Small ESLint & Prettier fixes (#267)
* fix(config): Small ESLint & Prettier fixes * fix(lint): Updated class
1 parent dc24ad2 commit c0e75c9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

eslint.config.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export default defineConfig(
4444
// @ts-expect-error Types of property languageOptions are incompatible. (ts 2322)
4545
importX.flatConfigs.typescript,
4646
stylistic.configs.customize({
47-
jsx: false,
4847
semi: true,
4948
}),
5049
perfectionist.configs['recommended-natural'],
@@ -61,16 +60,16 @@ export default defineConfig(
6160
{
6261
extends: [
6362
jsonc.configs['flat/recommended-with-jsonc'],
64-
jsonc.configs['flat/prettier'],
6563
prettierRecommended,
64+
jsonc.configs['flat/prettier'],
6665
],
6766
files: ['**/*.json'],
6867
},
6968
{
7069
extends: [
7170
yml.configs['flat/recommended'],
72-
yml.configs['flat/prettier'],
7371
prettierRecommended,
72+
yml.configs['flat/prettier'],
7473
],
7574
files: ['**/*.{yml,yaml}'],
7675
},

prettier.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ import { type Config } from 'prettier';
33
export default {
44
plugins: ['prettier-plugin-tailwindcss'],
55
singleQuote: true,
6+
tailwindStylesheet: 'src/index.css',
67
} satisfies Config;

src/ClockHands.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const ClockHands = () => {
4343
transform={minute()}
4444
/>
4545
<ClockHand
46-
class="stroke-solid-light dark:stroke-solid stroke-2"
46+
class="stroke-solid-light stroke-2 dark:stroke-solid"
4747
length={76}
4848
transform={second()}
4949
/>

0 commit comments

Comments
 (0)