Skip to content

Commit

Permalink
stylelint, styled-component 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunmindev committed Mar 12, 2023
1 parent cc57a85 commit 2d32857
Show file tree
Hide file tree
Showing 12 changed files with 3,413 additions and 138 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"typescript-sort-keys/interface": "error",
"typescript-sort-keys/string-enum": "error",

"react/react-in-jsx-scope": "off"
"react/react-in-jsx-scope": "off",
"react/jsx-sort-props": "error"
}
}
28 changes: 28 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/node_modules
/.pnp
.pnp.js

/coverage

/.next/
/out/

/build

.DS_Store
*.pem

npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

.env*.local

.vercel

*.tsbuildinfo
next-env.d.ts

.idea
.vscode
13 changes: 13 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": [
"stylelint-config-recess-order",
"stylelint-config-standard-scss"
],
"customSyntax": "postcss-scss",
"overrides": [
{
"files": ["**/*.tsx"],
"customSyntax": "postcss-styled"
}
]
}
46 changes: 33 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,47 @@
# Nextjs Boilerplate

## Summary

This is a boilerplate for Next.js with TypeScript, styled-components.

## Features

- Nextjs
- Typescript
- Bundle Analyzer
- Next.js

- `/appDir` Feature
- Bundle Analyzer

- TypeScript

- Strict Mode

- Style

- sass, scss
- styled-components
- Slim Pico.css

- SEO Support

- next-sitemap
- next-seo

- styled-components
- Formatters, Linters

- next-sitemap
- next-seo
- Eslint
- Prettier
- Stylelint

- Eslint
- Prettier
- Stylelint
- Dev Tools

- Husky
- Lint staged
- Husky
- Lint staged

- Vercel
- Deployment Support
- Vercel Analytics

## Customization

1. customize name in `package.json`
2. customize siteUrl in `next-sitemap.config.js`
3. customize favicon in `src/app/favicon.ico`
3. customize favicon in `src/app/favicon.ico`
Loading

0 comments on commit 2d32857

Please sign in to comment.