Last active
April 16, 2022 09:48
-
-
Save majudhu/f03e8333c09167c728f04897e5978eeb to your computer and use it in GitHub Desktop.
nextjs eslint tailwind next config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"env": { | |
"browser": true, | |
"node": true, | |
"es2021": true | |
}, | |
"extends": ["eslint:recommended", "next"], | |
"rules": { | |
"@next/next/no-img-element": "off", | |
"jsx-a11y/alt-text": "off", | |
"no-unused-vars": "warn" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tabWidth": 2, | |
"useTabs": false, | |
"trailingComma": "es5", | |
"semi": true, | |
"singleQuote": true, | |
"jsxSingleQuote": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @type {import('next').NextConfig} */ | |
module.exports = { | |
reactStrictMode: true, | |
scrollRestoration: true, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @type {import('tailwindcss/tailwind-config').TailwindConfig} */ | |
module.exports = { | |
content: [ | |
"./pages/**/*.{js,ts,jsx,tsx}", | |
"./components/**/*.{js,ts,jsx,tsx}", | |
], | |
theme: { | |
extend: {}, | |
}, | |
plugins: [], | |
} |
npm install @headlessui/react iron-session @node-rs/argon2 date-fns @heroicons/react axios mongoose multer react-hot-toast
npm install -D tailwindcss postcss autoprefixer prettier-plugin-tailwindcssn prettier prettier-plugin-tailwindcss @tailwindcss/forms
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment