Skip to content

Commit

Permalink
MVP 0.5 : dev ➞ main
Browse files Browse the repository at this point in the history
MVP 0.5 : dev ➞ main
  • Loading branch information
sen2y authored Jul 17, 2024
2 parents 920e5b1 + 90b9315 commit 1236bf3
Show file tree
Hide file tree
Showing 106 changed files with 11,835 additions and 594 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": ["next/babel"],
"plugins": [
[
"styled-components",
"babel-plugin-styled-components",
{
"ssr": true,
"displayName": true,
Expand Down
31 changes: 29 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
{
"extends": "next/core-web-vitals"
}
"extends": [
"airbnb-base",
"plugin:prettier/recommended"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto",
"singleQuote": true,
"useTabs": false
}
],
"no-console": "off"
},
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"env": {
"browser": true,
"node": true
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ yarn-error.log*

# local env files
.env*.local
.env.*

# vercel
.vercel
Expand Down
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"tabWidth": 2,
"printWidth": 120,
"semi": true,
"useTabs": false,
"trailingComma": "es5",
"singleQuote": true,
"jsxSingleQuote": true,
"endOfLine": "auto"
}
14 changes: 13 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
reactStrictMode: false,
compiler: {
styledComponents: true,
},
webpack: (config) => {
config.module.rules.push({
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: ['@svgr/webpack'],
});

return config;
},
};

export default nextConfig;
Loading

0 comments on commit 1236bf3

Please sign in to comment.