Skip to content
This repository was archived by the owner on Jun 27, 2022. It is now read-only.

Commit 68e067b

Browse files
committed
Agregar vite, prettier y eslint
1 parent 3d1159f commit 68e067b

8 files changed

+2549
-20
lines changed

.eslintrc.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": ["eslint:recommended", "prettier"],
7+
"parserOptions": {
8+
"ecmaVersion": "latest",
9+
"sourceType": "module"
10+
},
11+
"rules": {}
12+
}

.gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

.prettierrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

index.html

+18-20
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Swapi</title>
7-
<script src="src/index.js" type="module"></script>
8-
</head>
9-
<body>
10-
<h1>Swapi</h1>
11-
<table>
12-
<thead>
13-
<tr>
14-
<th>Name</th>
15-
<th>Height</th>
16-
</tr>
17-
</thead>
18-
<tbody id="people">
19-
asdf
20-
</tbody>
21-
</table>
22-
</body>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Swapi</title>
7+
<script src="./src/main.js" type="module"></script>
8+
</head>
9+
<body>
10+
<h1>Swapi</h1>
11+
<table>
12+
<thead>
13+
<tr>
14+
<th>Name</th>
15+
<th>Height</th>
16+
</tr>
17+
</thead>
18+
<tbody id="people"></tbody>
19+
</table>
20+
</body>
2321
</html>

0 commit comments

Comments
 (0)