eslint and prettier

This commit is contained in:
yoannchb-pro
2024-02-28 15:23:09 -05:00
parent ea4c9f0435
commit a3fa1fd834
+8 -1
View File
@@ -3,7 +3,9 @@
"version": "1.0.4", "version": "1.0.4",
"description": "This extension allows you to hide CHAT-GPT in a Moodle quiz.", "description": "This extension allows you to hide CHAT-GPT in a Moodle quiz.",
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c",
"lint": "eslint . --ext .ts",
"prettier": "prettier --write ."
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -25,6 +27,11 @@
"devDependencies": { "devDependencies": {
"@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-terser": "^0.4.3",
"@types/chrome": "^0.0.246", "@types/chrome": "^0.0.246",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.2.5",
"rollup": "^3.20.0", "rollup": "^3.20.0",
"rollup-plugin-ts": "^3.2.0", "rollup-plugin-ts": "^3.2.0",
"typescript": "^5.0.2" "typescript": "^5.0.2"