Add web-ext lint and add an id for gecko

This commit is contained in:
Sebastian Sauer 2023-07-18 22:30:41 +02:00
parent 2b263859e6
commit c594b8a18a
3 changed files with 4489 additions and 3 deletions

@ -17,6 +17,11 @@
"host_permissions": [
"*://*/*"
],
"browser_specific_settings": {
"gecko": {
"id": "{caedf018-aaa8-4999-b196-cd29026bb558}"
}
},
"content_scripts": [
{
"matches": ["*://*/*"],

4482
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint src/**/*.js",
"lint": "eslint src/**/*.js && web-ext lint",
"lint_fix": "eslint --fix src/**/*.js"
},
"repository": {
@ -25,6 +25,7 @@
"homepage": "https://github.com/sebastian-sauer/gitea-conventional-comments-button#readme",
"devDependencies": {
"eslint": "^8.45.0",
"eslint-config-google": "^0.14.0"
"eslint-config-google": "^0.14.0",
"web-ext": "^7.6.2"
}
}