Add format command and format codebase
This commit is contained in:
parent
b8ee10599e
commit
a8d02531de
@ -33,7 +33,8 @@ const StackableContainer = (props: Props) => (
|
||||
.base {
|
||||
max-width: 750px;
|
||||
background: #62145f;
|
||||
box-shadow: 0px 28px 80px rgba(0, 0, 0, 0.07),
|
||||
box-shadow:
|
||||
0px 28px 80px rgba(0, 0, 0, 0.07),
|
||||
0px 12.7134px 39.2617px rgba(0, 0, 0, 0.0519173),
|
||||
0px 7.26461px 23.349px rgba(0, 0, 0, 0.0438747),
|
||||
0px 4.44678px 14.5028px rgba(0, 0, 0, 0.0377964),
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { type ClassValue, clsx } from "clsx"
|
||||
import { twMerge } from "tailwind-merge"
|
||||
|
||||
import { type ClassValue, clsx } from "clsx";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = nextConfig
|
||||
module.exports = nextConfig;
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
"test:ci": "jest",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"format": "prettier --write --log-level warn \"./**/*.{js,jsx,ts,tsx}\"",
|
||||
"lint": "eslint --max-warnings 0 \"./**/*.{js,jsx,ts,tsx}\"",
|
||||
"lint:fix": "eslint --max-warnings 0 \"./**/*.{js,jsx,ts,tsx}\" --fix"
|
||||
},
|
||||
|
||||
@ -3,4 +3,4 @@ module.exports = {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
@ -2,11 +2,11 @@
|
||||
module.exports = {
|
||||
darkMode: ["class"],
|
||||
content: [
|
||||
'./pages/**/*.{ts,tsx}',
|
||||
'./components/**/*.{ts,tsx}',
|
||||
'./app/**/*.{ts,tsx}',
|
||||
'./src/**/*.{ts,tsx}',
|
||||
],
|
||||
"./pages/**/*.{ts,tsx}",
|
||||
"./components/**/*.{ts,tsx}",
|
||||
"./app/**/*.{ts,tsx}",
|
||||
"./src/**/*.{ts,tsx}",
|
||||
],
|
||||
theme: {
|
||||
container: {
|
||||
center: true,
|
||||
@ -73,4 +73,4 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
plugins: [require("tailwindcss-animate")],
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user