Skip to content

Commit

Permalink
Merge pull request #1 from rempl/firefox-support-and-build
Browse files Browse the repository at this point in the history
Added support for firefox, reworked build system
  • Loading branch information
exdis authored Nov 12, 2021
2 parents 20ee93c + e9dd346 commit bef714b
Show file tree
Hide file tree
Showing 17 changed files with 4,085 additions and 439 deletions.
171 changes: 171 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
{
"env": {
"node": true,
"browser": true,
"mocha": true,
"es6": true,
"webextensions": true
},
"globals": {
"discovery": true
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"no-duplicate-case": 2,
"no-undef": 2,
"no-unused-vars": [
2,
{
"vars": "all",
"args": "after-used"
}
],
"no-empty": [
2,
{
"allowEmptyCatch": true
}
],
"no-implicit-coercion": [
2,
{
"boolean": true,
"string": true,
"number": true
}
],
"no-with": 2,
"brace-style": 2,
"no-mixed-spaces-and-tabs": 2,
"no-multiple-empty-lines": 2,
"no-multi-str": 2,
"dot-location": [
2,
"property"
],
"operator-linebreak": [
2,
"after",
{
"overrides": {
"?": "before",
":": "before"
}
}
],
"key-spacing": [
2,
{
"beforeColon": false,
"afterColon": true
}
],
"space-unary-ops": [
2,
{
"words": false,
"nonwords": false
}
],
"no-spaced-func": 2,
"space-before-function-paren": [
2,
{
"anonymous": "ignore",
"named": "never"
}
],
"array-bracket-spacing": [
2,
"never"
],
"space-in-parens": [
2,
"never"
],
"comma-dangle": [
2,
"never"
],
"no-trailing-spaces": 2,
"yoda": [
2,
"never"
],
"camelcase": [
2,
{
"properties": "never"
}
],
"comma-style": [
2,
"last"
],
"curly": [
2,
"all"
],
"dot-notation": 2,
"eol-last": 2,
"one-var": [
2,
"never"
],
"wrap-iife": 2,
"space-infix-ops": 2,
"keyword-spacing": [
2,
{
"overrides": {
"else": {
"before": true
},
"while": {
"before": true
},
"catch": {
"before": true
},
"finally": {
"before": true
}
}
}
],
"spaced-comment": [
2,
"always"
],
"space-before-blocks": [
2,
"always"
],
"semi": [
2,
"always"
],
"indent": [
2,
4,
{
"SwitchCase": 1
}
],
"linebreak-style": [
2,
"unix"
],
"quotes": [
2,
"single",
{
"avoidEscape": true
}
]
}
}

5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules/
*.zip
node_modules
build*
!build.js
210 changes: 0 additions & 210 deletions .jscsrc

This file was deleted.

5 changes: 5 additions & 0 deletions HISTORY.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## next

- Added firefox support
- Added dev-build mode

## 1.0.0-beta11 (April 11, 2017)

- Fixed to work on pages with `https://`
Expand Down
Loading

0 comments on commit bef714b

Please sign in to comment.