Skip to content

Commit 8ec66f2

Browse files
committed
initial commit
1 parent 92716b4 commit 8ec66f2

33 files changed

+16260
-8299
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
HP_API_BASE_URL = https://hp-api.herokuapp.com/api/characters
1+
HP_API_BASE_URL = https://hp-api.onrender.com/api/characters
22
QUIZ_MAX_TIME_SECONDS = 120

.eslintrc.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

.npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
shamefully-hoist=true
2+
strict-peer-dependencies=false
3+
auto-install-peers=true
4+
enable-pre-post-scripts=true

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

.pnpm-approve-builds-config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"@parcel/watcher": true,
3+
"@swc/core": true,
4+
"lmdb": true,
5+
"msgpackr-extract": true
6+
}

.pnpm-builds.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@parcel/watcher\n@swc/core\nlmdb\nmsgpackr-extract

eslint.config.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
import js from '@eslint/js';
2+
import prettier from 'eslint-config-prettier';
3+
import prettierPlugin from 'eslint-plugin-prettier';
4+
5+
export default [
6+
js.configs.recommended,
7+
prettier,
8+
{
9+
languageOptions: {
10+
ecmaVersion: 'latest',
11+
sourceType: 'module',
12+
globals: {
13+
window: 'readonly',
14+
document: 'readonly',
15+
console: 'readonly',
16+
setTimeout: 'readonly',
17+
setInterval: 'readonly',
18+
clearInterval: 'readonly',
19+
localStorage: 'readonly',
20+
fetch: 'readonly',
21+
},
22+
},
23+
plugins: {
24+
prettier: prettierPlugin,
25+
},
26+
rules: {
27+
'no-underscore-dangle': 'off',
28+
'prettier/prettier': [
29+
'error',
30+
{
31+
endOfLine: 'auto',
32+
},
33+
],
34+
},
35+
},
36+
];

0 commit comments

Comments
 (0)