eslint config
This commit is contained in:
parent
9b2f9d800b
commit
f0ea331f57
15
.eslintrc.json
Normal file
15
.eslintrc.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user