Skip to content

Commit

Permalink
chore: alias 설정(related to: #1)
Browse files Browse the repository at this point in the history
@ -> /src
  • Loading branch information
hyeonjin25 committed Aug 1, 2023
1 parent 4aec60b commit 56b208b
Show file tree
Hide file tree
Showing 6 changed files with 891 additions and 204 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"env": {
"browser": true,
"es2021": true
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
Expand All @@ -21,7 +22,8 @@
"plugins": ["react", "react-hooks", "@typescript-eslint", "prettier"],
"rules": {
"quotes": ["error", "single"],
"prettier/prettier": "error"
"prettier/prettier": ["error", { "endOfLine": "auto" }],
"@typescript-eslint/no-var-requires": 0
},
"settings": {
"import/parsers": {
Expand Down
9 changes: 9 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const path = require('path');

module.exports = {
webpack: {
alias: {
'@': path.resolve(__dirname, 'src/'),
},
},
};
Loading

0 comments on commit 56b208b

Please sign in to comment.