Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mission5/정진경] Project_Notion_VanillaJs 과제 #52

Open
wants to merge 14 commits into
base: 4/#5_jkea1
Choose a base branch
from
21 changes: 21 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
},
extends: ['plugin:prettier/recommended'],
plugins: ['prettier'],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
'prettier/prettier': [
'error',
{
endOfLine: 'auto',
},
],
},
};
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// .eslintrc.json

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

린트 규칙이 두개가 있는데 이유가 있나요?_?


{
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
},
"extends": ["eslint:recommended", "eslint-config-prettier"]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_module/**
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

meta 설정에 있어 어떤 값들이 들어갈 수 있는지 이참에 찾아보면 좋을것 같네요~

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>notion project</title>
<link rel="stylesheet" href="./src/css/style.css">
</head>

<body>
<main id="app"></main>
<script src="/src/main.js" type="module"></script>
</body>

</html>
Loading