fix linting issues

This commit is contained in:
Arthur Lu 2023-07-06 05:13:22 +00:00
parent 4fbb64745b
commit f389087a2b
3 changed files with 1197 additions and 1154 deletions

View File

@ -20,6 +20,6 @@
"eslint-plugin-promise": "^6.1.1" "eslint-plugin-promise": "^6.1.1"
}, },
"scripts": { "scripts": {
"lint": "eslint --fix ." "lint": "DEBUG=eslint:cli-engine eslint --fix ."
} }
} }

File diff suppressed because it is too large Load Diff

2
src/package.js Normal file
View File

@ -0,0 +1,2 @@
import { readFileSync } from "fs";
export const api = JSON.parse(readFileSync("package.json"));