mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-03 01:20:58 +01:00
Added ESLint
I used a fairly minimal ESLint configuration, other plugins can be added
This commit is contained in:
parent
6cef702845
commit
2d5b87ccd3
3 changed files with 1819 additions and 1 deletions
5
.eslintrc.yml
Normal file
5
.eslintrc.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
root: true
|
||||
|
||||
extends:
|
||||
- typescript
|
||||
- prettier
|
1807
package-lock.json
generated
1807
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -9,14 +9,20 @@
|
|||
"log": "wrangler tail",
|
||||
"reload": "wrangler publish && wrangler tail",
|
||||
"register": "node src/register.js",
|
||||
"prettier": "prettier --write ."
|
||||
"prettier": "prettier --write .",
|
||||
"lint:eslint": "eslint --max-warnings=0 src"
|
||||
},
|
||||
"author": "dangered wolf",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@cloudflare/workers-types": "^3.14.1",
|
||||
"@types/service-worker-mock": "^2.0.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
||||
"@typescript-eslint/parser": "^5.31.0",
|
||||
"dotenv": "^16.0.1",
|
||||
"eslint": "^8.20.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-config-typescript": "^3.0.0",
|
||||
"prettier": "^2.7.1",
|
||||
"service-worker-mock": "^2.0.5",
|
||||
"ts-loader": "^9.3.1",
|
||||
|
|
Loading…
Add table
Reference in a new issue