-
- Téléchargements
Port to eslint
parent
d3e4bbdd
Aucune branche associée trouvée
Aucune étiquette associée trouvée
.eslintrc
0 → 100644
... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
"main": "discordas.js", | "main": "discordas.js", | ||
"scripts": { | "scripts": { | ||
"test": "npm run-script build && mocha build/test/config.js build/test", | "test": "npm run-script build && mocha build/test/config.js build/test", | ||
"lint": "tslint --project ./tsconfig.json -t stylish", | "lint": "eslint -c .eslintrc --max-warnings 0 src/**/*.ts test/**/*.ts", | ||
"coverage": "tsc && nyc mocha build/test/config.js build/test", | "coverage": "tsc && nyc mocha build/test/config.js build/test", | ||
"build": "tsc", | "build": "tsc", | ||
"postinstall": "npm run build", | "postinstall": "npm run build", | ||
... | @@ -55,6 +55,8 @@ | ... | @@ -55,6 +55,8 @@ |
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@istanbuljs/nyc-config-typescript": "^1.0.1", | "@istanbuljs/nyc-config-typescript": "^1.0.1", | ||
"@typescript-eslint/eslint-plugin": "^2.14.0", | |||
"@typescript-eslint/parser": "^2.14.0", | |||
"@types/chai": "^4.2.11", | "@types/chai": "^4.2.11", | ||
"@types/command-line-args": "^5.0.0", | "@types/command-line-args": "^5.0.0", | ||
"@types/js-yaml": "^3.12.4", | "@types/js-yaml": "^3.12.4", | ||
... | @@ -68,8 +70,8 @@ | ... | @@ -68,8 +70,8 @@ |
"proxyquire": "^1.7.11", | "proxyquire": "^1.7.11", | ||
"source-map-support": "^0.5.19", | "source-map-support": "^0.5.19", | ||
"ts-node": "^8.10.2", | "ts-node": "^8.10.2", | ||
"tslint": "^5.20.1", | |||
"typescript": "^3.9.5", | "typescript": "^3.9.5", | ||
"why-is-node-running": "^2.2.0" | "why-is-node-running": "^2.2.0", | ||
"eslint": "^7.4.0" | |||
} | } | ||
} | } |
tslint.json
supprimé
100644 → 0
Veuillez vous inscrire ou vous se connecter pour commenter