build: refactor linting

This commit is contained in:
iCrawl
2023-08-22 09:40:11 +02:00
parent 2e40a05adf
commit d37632da05
72 changed files with 427 additions and 530 deletions

View File

@@ -6,8 +6,8 @@
"scripts": {
"test": "yarn docs:test && yarn test:typescript",
"test:typescript": "tsc --noEmit && tsd",
"lint": "prettier --check . && tslint typings/index.d.ts && eslint src --format=pretty",
"format": "prettier --write . && eslint src --fix --format=pretty",
"lint": "prettier --check . && tslint typings/index.d.ts && cross-env ESLINT_USE_FLAT_CONFIG=false eslint --format=pretty src",
"format": "prettier --write . && cross-env ESLINT_USE_FLAT_CONFIG=false eslint --fix --format=pretty src",
"fmt": "yarn format",
"docs": "docgen -i './src/*.js' './src/**/*.js' -c ./docs/index.json -r ../../ -o ./docs/docs.json",
"docs:test": "docgen -i './src/*.js' './src/**/*.js' -c ./docs/index.json -r ../../",
@@ -70,6 +70,7 @@
"@discordjs/docgen": "workspace:^",
"@favware/cliff-jumper": "2.1.1",
"@types/node": "16.18.41",
"cross-env": "^7.0.3",
"dtslint": "4.2.1",
"eslint": "8.47.0",
"eslint-formatter-pretty": "5.0.0",