File tree Expand file tree Collapse file tree 7 files changed +1230
-3363
lines changed
Expand file tree Collapse file tree 7 files changed +1230
-3363
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,15 @@ export default tseslint.config({
2828 tsconfigRootDir: import .meta.dirname,
2929 },
3030 },
31- })
31+ });
3232```
3333
3434You can also install [ eslint-plugin-react-x] ( https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x ) and [ eslint-plugin-react-dom] ( https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom ) for React-specific lint rules:
3535
3636``` js
3737// eslint.config.js
38- import reactX from ' eslint-plugin-react-x'
39- import reactDom from ' eslint-plugin-react-dom'
38+ import reactX from ' eslint-plugin-react-x' ;
39+ import reactDom from ' eslint-plugin-react-dom' ;
4040
4141export default tseslint .config ({
4242 plugins: {
@@ -50,5 +50,5 @@ export default tseslint.config({
5050 ... reactX .configs [' recommended-typescript' ].rules ,
5151 ... reactDom .configs .recommended .rules ,
5252 },
53- })
53+ });
5454```
Original file line number Diff line number Diff line change 1- import js from '@eslint/js'
2- import globals from 'globals'
3- import reactHooks from 'eslint-plugin-react-hooks'
4- import reactRefresh from 'eslint-plugin-react-refresh'
5- import tseslint from 'typescript-eslint'
1+ import js from '@eslint/js' ;
2+ import globals from 'globals' ;
3+ import reactHooks from 'eslint-plugin-react-hooks' ;
4+ import reactRefresh from 'eslint-plugin-react-refresh' ;
5+ import tseslint from 'typescript-eslint' ;
66
77export default tseslint . config (
88 { ignores : [ 'dist' ] } ,
@@ -19,10 +19,7 @@ export default tseslint.config(
1919 } ,
2020 rules : {
2121 ...reactHooks . configs . recommended . rules ,
22- 'react-refresh/only-export-components' : [
23- 'warn' ,
24- { allowConstantExport : true } ,
25- ] ,
22+ 'react-refresh/only-export-components' : [ 'warn' , { allowConstantExport : true } ] ,
2623 } ,
27- } ,
28- )
24+ }
25+ ) ;
Original file line number Diff line number Diff line change 1- @import " tailwindcss" ;
1+ @import ' tailwindcss' ;
22
33@tailwind utilities;
44
5- @theme (dark) {
5+ @theme (dark) {
66 /* Neon Colors */
77 --neon-pink : # ff2d76 ;
88 --neon-blue : # 00f9ff ;
99 --neon-purple : # b537f2 ;
1010 --neon-green : # 3fff00 ;
1111 --neon-yellow : # ffff00 ;
12- --neon-orange : # FF675E ;
12+ --neon-orange : # ff675e ;
1313
1414 /* Dark Theme Base Colors */
1515 --bg-primary : # 0a0a1f ;
2020}
2121
2222@layer base {
23- * , * ::before , * ::after {
23+ * ,
24+ * ::before ,
25+ * ::after {
2426 box-sizing : border-box;
2527 }
2628
3335 padding : 0 ;
3436 }
3537
36- html , body {
38+ html ,
39+ body {
3740 @apply bg-[var (--bg-primary )] text-[var (--text-primary )];
3841
3942 font-family : 'Inter' , system-ui, sans-serif;
4346 min-height : 100vh ;
4447 }
4548}
46-
Original file line number Diff line number Diff line change 2323 "noUncheckedSideEffectImports" : true ,
2424
2525 "paths" : {
26- "@/*" : [" src/*" ]
26+ "@/*" : [" ./ src/*" ]
2727 }
2828 },
29- "include" : [
30- " src"
31- ]
29+ "include" : [" src" ]
3230}
Original file line number Diff line number Diff line change 11{
22 "files" : [],
3- "references" : [
4- { "path" : " ./tsconfig.app.json" },
5- { "path" : " ./tsconfig.node.json" }
6- ]
3+ "references" : [{ "path" : " ./tsconfig.app.json" }, { "path" : " ./tsconfig.node.json" }]
74}
Original file line number Diff line number Diff line change 2121 "noUncheckedSideEffectImports" : true ,
2222
2323 "paths" : {
24- "@/*" : [" src/*" ]
24+ "@/*" : [" ./ src/*" ]
2525 }
2626 },
2727 "include" : [" vite.config.ts" ]
You can’t perform that action at this time.
0 commit comments