Project: Switch to Prettier for code formatting

This commit is contained in:
Romain Vigier
2026-07-20 13:05:11 +02:00
parent b4ff33e681
commit 1f514c023f
40 changed files with 4511 additions and 4119 deletions
+28 -13
View File
@@ -1,15 +1,30 @@
{
"repository": {
"type": "git",
"url": "https://gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension"
},
"license": "GPL-3.0-or-later",
"scripts": {
"test-lint": "eslint .",
"test": "npm run test-lint"
},
"devDependencies": {
"eslint": "^8.47.0",
"eslint-plugin-jsdoc": "^46.4.6"
}
"repository": {
"type": "git",
"url": "https://gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension"
},
"license": "GPL-3.0-or-later",
"scripts": {
"test-lint": "eslint .",
"test-style": "prettier --check .",
"test": "npm run test-lint && npm run test-style"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@girs/adw-1": "^4.1.0",
"@girs/gdesktopenums-3.0": "^4.1.0",
"@girs/gdk-4.0": "^4.1.0",
"@girs/gdkpixbuf-2.0": "^4.1.0",
"@girs/geoclue-2.0": "^4.1.0",
"@girs/gio-2.0": "^4.1.0",
"@girs/glib-2.0": "^4.1.0",
"@girs/gobject-2.0": "^4.1.0",
"@girs/gtk-4.0": "^4.1.0",
"@girs/meta-18": "^4.1.0",
"@girs/shell-18": "^4.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsdoc": "^63.2.0",
"globals": "^17.7.0",
"prettier": "3.9.5"
}
}