Skip to content

Commit 60d6875

Browse files
authored
Merge pull request #185 from boostcamp-2020/dev
[Release] v0.0.1
2 parents 32a1ef2 + 7f4b0a3 commit 60d6875

File tree

233 files changed

+34080
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+34080
-0
lines changed

client/.babelrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"presets": [
3+
"@babel/preset-env",
4+
"@babel/preset-react",
5+
"@babel/preset-typescript"
6+
]
7+
}

client/.eslintrc

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"plugins": ["@typescript-eslint"],
4+
"extends": [
5+
"prettier",
6+
"airbnb",
7+
"airbnb/hooks",
8+
"prettier/react",
9+
"plugin:@typescript-eslint/recommended",
10+
"prettier/@typescript-eslint",
11+
"plugin:prettier/recommended"
12+
],
13+
"env": {
14+
"node": true,
15+
"es2020": true,
16+
"jest": true
17+
},
18+
"rules": {
19+
// import 부분에서 뜨던 에러 해결
20+
"no-use-before-define": "off",
21+
"@typescript-eslint/no-use-before-define": ["error"],
22+
"import/no-unresolved": "off",
23+
// ts, tsx, json 파일은 확장자 없이 import 가능
24+
"no-console": "off",
25+
// 콘솔 허용이 필요할 때는 위의 코드에 주석을 달아서 지워주세요!
26+
"end_of_line": "auto",
27+
"import/extensions": [
28+
"off",
29+
"ignorePackages",
30+
{
31+
"ts": "never",
32+
"tsx": "never",
33+
"json": "never"
34+
}
35+
],
36+
// jsx 포함할 수 없다고 하는 이슈 해결
37+
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
38+
"no-restricted-exports": ["error", { "restrictedNamedExports": ["default"] }],
39+
"no-var": "error"
40+
}
41+
}

client/.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"singleQuote": true,
3+
"semi": true,
4+
"tabWidth": 2,
5+
"trailingComma": "all",
6+
"printWidth": 120,
7+
"bracketSpacing": true
8+
}
9+

client/.storybook/main.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
"stories": [
3+
"../src/**/*.stories.mdx",
4+
"../src/**/*.stories.@(js|jsx|ts|tsx)"
5+
],
6+
"addons": [
7+
"@storybook/addon-links",
8+
"@storybook/addon-essentials"
9+
]
10+
}

client/.storybook/preview.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
export const parameters = {
3+
actions: { argTypesRegex: "^on[A-Z].*" },
4+
}

0 commit comments

Comments
 (0)