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
import React from "react"; | |
// 절대 경로를 사용해서 컴포넌트 사용 | |
import Text from "components/atoms/Text"; | |
const Textarea = () => { | |
return ( | |
<> | |
<Text /> | |
</> | |
) |
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
. | |
├── README.md | |
├── jsconfig.json | |
├── package.json | |
├── public | |
│ ├── favicon.ico | |
│ ├── index.html | |
│ ├── logo192.png | |
│ ├── logo512.png | |
│ ├── manifest.json |
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
{ | |
"compilerOptions": { | |
"baseUrl": "src" | |
} | |
} |
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
$ git commit -m "Update App.js" | |
✔ Preparing... | |
✔ Running tasks... | |
✔ Applying modifications... | |
✔ Cleaning up... | |
[main 4d290a9] Update App.js | |
6 files changed, 74 insertions(+), 25 deletions(-) | |
create mode 100644 .eslintignore | |
create mode 100644 .eslintrc | |
create mode 100755 .husky/pre-commit |
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
import React from 'react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
function App() { | |
return ( | |
<div className="App"> | |
<header className="App-header"> | |
<img src={logo} className="App-logo" alt="logo"/> |
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
$ git commit -m "Update App.js" | |
✔ Preparing... | |
⚠ Running tasks... | |
❯ Running tasks for *.js | |
✖ npx eslint --no-fix src [FAILED] | |
↓ Skipped because of errors from tasks. [SKIPPED] | |
✔ Reverting to original state because of errors... | |
✔ Cleaning up... | |
✖ npx eslint --no-fix src: | |
/${ProjectName}/src/App.js |
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
import React from 'react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
function App() { | |
const a = ''; | |
const b = ""; | |
return ( |
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
$ npx husky add .husky/pre-commit "npx lint-staged" | |
husky - created .husky/pre-commit |
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
import React from 'react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
function App() { | |
const a = ''; | |
return ( | |
<div className="App"> |
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
$ npx eslint --fix src |
NewerOlder