Skip to content

Commit

Permalink
Merge pull request #185 from boostcamp-2020/dev
Browse files Browse the repository at this point in the history
[Release] v0.0.1
  • Loading branch information
rile1036 authored Dec 4, 2020
2 parents 32a1ef2 + 7f4b0a3 commit 60d6875
Show file tree
Hide file tree
Showing 233 changed files with 34,080 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript"
]
}
41 changes: 41 additions & 0 deletions client/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"prettier",
"airbnb",
"airbnb/hooks",
"prettier/react",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"env": {
"node": true,
"es2020": true,
"jest": true
},
"rules": {
// import 부분에서 뜨던 에러 해결
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"import/no-unresolved": "off",
// ts, tsx, json 파일은 확장자 없이 import 가능
"no-console": "off",
// 콘솔 허용이 필요할 때는 위의 코드에 주석을 달아서 지워주세요!
"end_of_line": "auto",
"import/extensions": [
"off",
"ignorePackages",
{
"ts": "never",
"tsx": "never",
"json": "never"
}
],
// jsx 포함할 수 없다고 하는 이슈 해결
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"no-restricted-exports": ["error", { "restrictedNamedExports": ["default"] }],
"no-var": "error"
}
}
9 changes: 9 additions & 0 deletions client/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"singleQuote": true,
"semi": true,
"tabWidth": 2,
"trailingComma": "all",
"printWidth": 120,
"bracketSpacing": true
}

10 changes: 10 additions & 0 deletions client/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials"
]
}
4 changes: 4 additions & 0 deletions client/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
}
Loading

0 comments on commit 60d6875

Please sign in to comment.