eslint config

This commit is contained in:
17ms 2023-06-01 17:55:54 +03:00
parent 9b2f9d800b
commit f0ea331f57
6 changed files with 175 additions and 160 deletions

15
.eslintrc.json Normal file
View File

@ -0,0 +1,15 @@
{
"env": {
"browser": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2021
},
"rules": {
"quotes": ["warn", "double"],
"semi": ["warn", "never"],
"indent": ["warn", 4],
"prettier/prettier": 0
}
}

View File

@ -10,7 +10,7 @@
function download(url) { function download(url) {
fetch(url, { fetch(url, {
mode: "no-cors" mode: "no-cors",
}) })
.then((response) => response.blob()) .then((response) => response.blob())
.then((blob) => { .then((blob) => {