Skip to content

Commit

Permalink
BDE-226 v3 manifest refactor
Browse files Browse the repository at this point in the history
* moving from backround page to service worker
* always call service worker components from popup pages
  • Loading branch information
nxmatic committed Mar 11, 2024
1 parent d062362 commit 581e17c
Show file tree
Hide file tree
Showing 88 changed files with 4,386 additions and 20,639 deletions.
5 changes: 4 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"presets": ["@babel/preset-env"]
"presets": ["@babel/preset-env"],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }]
]
}
42 changes: 20 additions & 22 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 6
"ecmaVersion": 2022,
"ecmaFeatures": {
"legacyDecorators": true,
"importAssertions": true
}
},
"extends": [
"eslint:recommended",
"airbnb-base",
"airbnb-base"
],
"parser": "@babel/eslint-parser",
"rules": {
"func-names": 0,
"indent": ["error", 2],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*"]}],
"max-len": [2, 120, 2, {
"ignoreUrls": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreComments": false,
"ignoreComments": false
}],
"no-undef": 0,
"no-console": 0,
"no-else-return": 0,
"no-multi-assign": 0,
Expand All @@ -28,31 +32,25 @@
"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,
"object": false
}, {
"enforceForRenamedProperties": false
}],
"radix": 0,
"wrap-iife": [2, "inside"],
"wrap-iife": [2, "inside"]
},
"globals": {
"$": true,
"chrome": true,
"browser": true,
"app": true,
"disableTabExtension": true,
"getCurrentTabUrl": true,
"hljs": true,
"navigator": true,
"window": true,
"document": true,
"Nuxeo": true,
"nuxeo": true,
"studioExt": true,
},
overrides: [
{
files: ['gulpfile.mjs'], // replace with the path to your gulpfile
rules: {
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
},
},
]
"disableTabExtension": true,
"hljs": true
}
}
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"
}
]
}
}
46 changes: 0 additions & 46 deletions app/scripts/.eslintrc

This file was deleted.

28 changes: 0 additions & 28 deletions app/scripts/about.js

This file was deleted.

10 changes: 0 additions & 10 deletions app/scripts/bkg/.eslintrc

This file was deleted.

27 changes: 0 additions & 27 deletions app/scripts/bkg/chrome-api-adapter.js

This file was deleted.

Loading

0 comments on commit 581e17c

Please sign in to comment.