Skip to content

Commit

Permalink
WIP still a lot to let the service worker holding the common logic
Browse files Browse the repository at this point in the history
  * components should register there listeners themselve
  * always return a cleaning handle when registering listeners
  * de-duplicated code from the popup layer (pushed back in the
    service worker)
  • Loading branch information
nxmatic committed Mar 11, 2024
1 parent 7d25e5d commit efe467c
Show file tree
Hide file tree
Showing 36 changed files with 2,010 additions and 14,646 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"parserOptions": {
"ecmaVersion": 2022,
"ecmaFeatures": {
"legacyDecorators": true
"legacyDecorators": true,
"importAssertions": true
}
},
"extends": [
Expand All @@ -13,6 +14,7 @@
"rules": {
"func-names": 0,
"indent": ["error", 2],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*"]}],
"max-len": [2, 120, 2, {
"ignoreUrls": true,
"ignoreTemplateLiterals": true,
Expand All @@ -30,6 +32,7 @@
"no-unused-expressions": 0,
"no-use-before-define": ["error", {"variables": false}],
"no-useless-escape": 0,
"operator-linebreak": "off",
"prefer-destructuring": ["error", {
"array": false,
"object": false
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ ftest/.settings/
selenium-standalone.txt
.local
.nix/.devenv
.env.chrome
.env.firefox
.env.local
14 changes: 14 additions & 0 deletions .hintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": [
"development"
],
"hints": {
"meta-viewport": "off",
"axe/language": [
"default",
{
"html-has-lang": "off"
}
]
}
}
Loading

0 comments on commit efe467c

Please sign in to comment.