Skip to content

Commit

Permalink
Switch to bootstrap 5 (#324)
Browse files Browse the repository at this point in the history
* Pin bootstrap version to at least 5.0.0-alpha1
* Migrate from bootstrap 4 to bootstrap 5
* Update Dependencies
* Switch to ES6 Imports
* Remove last jquery pieces
* Fix template path
* Make unit testing ES6 import compatible
* Gulp mjs hack, older Thunderbird version do not load mjs from addon urls
* Fix linter errors
  • Loading branch information
thsmi authored Aug 8, 2020
1 parent f7e9833 commit 96c86b8
Show file tree
Hide file tree
Showing 343 changed files with 29,840 additions and 30,401 deletions.
32 changes: 6 additions & 26 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"plugins": [
"jsdoc",
"no-jquery"
"jsdoc"
],
"extends": [
"eslint:recommended"
Expand All @@ -13,11 +12,11 @@
"node": true
},
"parserOptions": {
"ecmaVersion": 8,
"ecmaVersion": 11,
"ecmaFeatures": {
"jsx": false
},
"sourceType": "script"
"sourceType": "module"
},
"rules": {
"array-callback-return": "error",
Expand Down Expand Up @@ -114,7 +113,7 @@
"no-this-before-super": "warn",
"no-eq-null" : "warn",
"no-dupe-class-members" :"error",
"no-undef": "warn",
"no-undef": "error",
"no-unreachable": "error",
"no-unused-vars": [
"warn",
Expand Down Expand Up @@ -208,25 +207,6 @@
"jsdoc/require-hyphen-before-param-description": 0,

"jsdoc/check-alignment": 1,
"jsdoc/check-examples": ["warn", {"paddedIndent": 4 }],

"no-jquery/no-animate" : 2,
"no-jquery/no-animate-toggle" : 2,
"no-jquery/no-attr" : 1,
"no-jquery/no-class" : 1,
"no-jquery/no-class-state" : 1,
"no-jquery/no-contains" : 1,
"no-jquery/no-context-prop" : 1,
"no-jquery/no-css" : 2,
"no-jquery/no-fade" : 1,
"no-jquery/no-find" : 1,
"no-jquery/no-param" : 2,
"no-jquery/no-parent" : 2,
"no-jquery/no-parents" : 2,
"no-jquery/no-prop" : 1,
"no-jquery/no-ready" : 2,
"no-jquery/no-selector-prop" : 1,
"no-jquery/no-text" : 1,
"no-jquery/no-val" : 1
}
"jsdoc/check-examples": ["warn", {"paddedIndent": 4 }]
}
}
4 changes: 3 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
},
"args": [
"./src/**/*.js",
"./src/**/*.mjs",
"./src/**/*.jsm",
"./tests/**/*.js"
"./tests/**/*.js",
"./tests/**/*.mjs"
],
"promptOnClose": false,
"presentation": {
Expand Down
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You find all app specific code in `src/app`, the WebExtension code is in `src/wx
To get started clone the project for github.

Then use either [yarn](https://yarnpkg.com/) or `npm install` to download the dependencies.
This will download gulp as well as jquery, codemirror, bootstrap, electron and everything else which is needed.
This will download gulp as well as codemirror, bootstrap, electron and everything else which is needed.

As editor I suggest [Visual Studio Code](https://code.visualstudio.com/)

Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Knuth Posern, Tim Van Den Eynde, Marcel Lamm, Lucy Archer
[SourceForge](http://sf.net),
[github](https://www.github.com),
[crowdin](https://crowdin.net),
[jQuery](https://www.jquery.com),
[CodeMirror](http://www.codemirror.net),
[ohloh](http://www.ohloh.net),
[bootstrap](https://getbootstrap.com/),
Expand Down
1 change: 0 additions & 1 deletion LICENSING_INFO.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ welcome to modify the source code as you want to meet your needs.
All of the third party source code is available under licenses which are both free and open source.

* [CodeMirror](http://www.codemirror.net) is released under the [MIT license](http://codemirror.net/LICENSE)
* [JQuery](http://www.jquery.com) is released under the [MIT License](http://jquery.org/license/)
* [Bootstrap](https://getbootstrap.com/) is released under the [MIT license](https://raw.githubusercontent.com/twbs/bootstrap/master/LICENSE)

## Icon
Expand Down
Loading

0 comments on commit 96c86b8

Please sign in to comment.