-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π Release/1.0.0
- Loading branch information
Showing
106 changed files
with
39,176 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
/.vscode | ||
node_modules | ||
dist | ||
build | ||
eslintrc | ||
src/assets/* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
module.exports = { | ||
/* νλ‘μ νΈμ μ¬μ© νκ²½ */ | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true, | ||
}, | ||
/* νλ¬κ·ΈμΈμ μΌλ ¨μ κ·μΉ μ§ν© */ | ||
plugins: [ | ||
// νλ¬κ·ΈμΈμ μΆκ°νμ¬λ κ·μΉμ μ μ©λμ§ μλλ€. | ||
'react', | ||
'react-hooks', | ||
'@typescript-eslint', | ||
'import', | ||
'prettier', | ||
], | ||
/* extendsλ μΆκ°ν νλ¬κ·ΈμΈμμ μ¬μ©ν κ·μΉ μ€μ */ | ||
extends: [ | ||
// κ·μΉμ μ μ©νκΈ° μν΄μλ μΆκ°ν νλ¬κ·ΈμΈ μ€, μ¬μ©ν κ·μΉ μΆκ° | ||
'airbnb', | ||
'plugin:react/recommended', | ||
'plugin:react-hooks/recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:@typescript-eslint/eslint-recommended', // eslintμμ κ·μΉμ λΉνμ±ν νλ νΈνμ±μ μν κ·μΉ λͺ¨μ | ||
'plugin:prettier/recommended', | ||
], | ||
settings: { | ||
react: { | ||
version: 'detect', // eslint-plugin-reactμκ² μ¬μ©νκ³ μλ 리μ‘νΈμ λ²μ μ μμμ νμ§νλλ‘ νλ€. | ||
}, | ||
'import/extensions': ['.js', '.jsx', '.ts', '.tsx'], | ||
'import/parsers': { | ||
'@typescript-eslint/parser': ['.ts', '.tsx'], | ||
}, | ||
'import/resolver': { | ||
typescript: {}, // this loads <rootdir>/tsconfig.json to eslint | ||
}, | ||
}, | ||
/* μλ°μ€ν¬λ¦½νΈ λ²μ , λͺ¨λ μ¬μ© μ¬λΆ λ±μ μ€μ */ | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser', // AST λ³νκΈ° | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 2018, | ||
sourceType: 'module', | ||
}, | ||
/* extendsμ pluginsμ λν μΈλΆ μ€μ μ λ³κ²½ */ | ||
rules: { | ||
'no-console': 'off', | ||
'no-alert': 'off', | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'react/jsx-uses-react': 'off', | ||
'react/react-in-jsx-scope': 'off', | ||
'react/prop-types': 'off', | ||
'react/jsx-props-no-spreading': 'off', | ||
'react/jsx-filename-extension': ['error', { extensions: ['.js', '.jsx', '.tsx', '.ts'] }], | ||
'no-use-before-define': 'off', // μ μλκΈ° μ μ μ¬μ©λλλ‘ νμ© ('React' was used before it was defined) | ||
'@typescript-eslint/no-use-before-define': ['error'], | ||
'import/prefer-default-export': 'off', | ||
'@typescript-eslint/no-explicit-any': ['off'], | ||
// airbnb ESLint ꡬμ±μ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν¨ | ||
'import/extensions': [ | ||
'error', | ||
'ignorePackages', | ||
{ | ||
js: 'never', | ||
jsx: 'never', | ||
ts: 'never', | ||
tsx: 'never', | ||
}, | ||
], | ||
// import order μ μ | ||
'import/order': [ | ||
'error', | ||
{ | ||
groups: ['builtin', 'external', 'internal'], | ||
pathGroups: [ | ||
{ | ||
pattern: 'react', | ||
group: 'external', | ||
position: 'before', | ||
}, | ||
], | ||
pathGroupsExcludedImportTypes: ['react'], | ||
'newlines-between': 'always', | ||
alphabetize: { | ||
order: 'asc', | ||
caseInsensitive: true, | ||
}, | ||
}, | ||
], | ||
'prettier/prettier': ['error'], | ||
'jsx-a11y/label-has-associated-control': [ | ||
'error', | ||
{ | ||
required: { | ||
some: ['nesting', 'id'], | ||
}, | ||
}, | ||
], | ||
}, | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"printWidth": 120, | ||
"singleQuote": true, | ||
"semi": false, | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"trailingComma": "es5", | ||
"endOfLine": "auto" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"javascript.format.enable": false, | ||
"typescript.format.enable": false, | ||
"editor.formatOnSave": false, | ||
"[sass]": { | ||
"editor.formatOnSave": true | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[json]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[html]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"eslint.options": { | ||
"extensions": [".js", ".jsx", ".ts", ".tsx"], | ||
"validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact" | ||
] | ||
}, | ||
"eslint.workingDirectories": [ | ||
{ | ||
"mode": "auto" | ||
} | ||
], | ||
"eslint.alwaysShowStatus": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": false, | ||
"source.fixAll.eslint": 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
Oops, something went wrong.