firetruss-worker 2.6.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Gruntfile.js +0 -8
- package/dist/worker.es2015.js +485 -557
- package/dist/worker.es2015.js.map +1 -1
- package/dist/worker.umd.js +487 -559
- package/dist/worker.umd.js.map +1 -1
- package/dist/worker.umd.min.js +1 -1
- package/dist/worker.umd.min.js.map +1 -1
- package/eslint.config.mjs +22 -0
- package/package.json +10 -11
- package/src/worker.js +17 -17
- package/.eslintrc.js +0 -123
- package/bower.json +0 -23
package/.eslintrc.js
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
env: {
|
|
3
|
-
worker: true,
|
|
4
|
-
es6: true
|
|
5
|
-
},
|
|
6
|
-
parserOptions: {
|
|
7
|
-
ecmaVersion: 6,
|
|
8
|
-
sourceType: 'module'
|
|
9
|
-
},
|
|
10
|
-
extends: ['eslint:recommended'],
|
|
11
|
-
rules: {
|
|
12
|
-
'accessor-pairs': 'error',
|
|
13
|
-
'array-bracket-spacing': 'warn',
|
|
14
|
-
'arrow-spacing': 'warn',
|
|
15
|
-
'block-spacing': ['warn', 'never'],
|
|
16
|
-
'brace-style': ['warn', '1tbs', {allowSingleLine: true}],
|
|
17
|
-
'camelcase': 'error',
|
|
18
|
-
'comma-spacing': 'warn',
|
|
19
|
-
'comma-style': 'warn',
|
|
20
|
-
'computed-property-spacing': 'warn',
|
|
21
|
-
'curly': ['error', 'multi-line'],
|
|
22
|
-
'dot-location': ['warn', 'property'],
|
|
23
|
-
'dot-notation': 'warn',
|
|
24
|
-
'eol-last': 'warn',
|
|
25
|
-
'eqeqeq': 'error',
|
|
26
|
-
'func-call-spacing': 'warn',
|
|
27
|
-
'generator-star-spacing': 'warn',
|
|
28
|
-
'indent': ['warn', 2, {
|
|
29
|
-
SwitchCase: 1,
|
|
30
|
-
MemberExpression: 'off',
|
|
31
|
-
FunctionDeclaration: {parameters: 'off'},
|
|
32
|
-
FunctionExpression: {parameters: 'off'}
|
|
33
|
-
}],
|
|
34
|
-
'key-spacing': ['warn', {mode: 'minimum'}],
|
|
35
|
-
'keyword-spacing': 'warn',
|
|
36
|
-
'linebreak-style': 'warn',
|
|
37
|
-
'max-len': ['warn', {code: 100, ignoreUrls: true, ignoreRegExpLiterals: true}],
|
|
38
|
-
'new-cap': 'error',
|
|
39
|
-
'new-parens': 'error',
|
|
40
|
-
'no-alert': 'error',
|
|
41
|
-
'no-array-constructor': 'error',
|
|
42
|
-
'no-bitwise': ['error', {allow: ['~']}],
|
|
43
|
-
'no-caller': 'error',
|
|
44
|
-
'no-console': 'off',
|
|
45
|
-
'no-constant-condition': ['error', {checkLoops: false}],
|
|
46
|
-
'no-duplicate-imports': 'error',
|
|
47
|
-
'no-else-return': 'error',
|
|
48
|
-
'no-empty-function': 'error',
|
|
49
|
-
'no-eval': 'error',
|
|
50
|
-
'no-extend-native': 'error',
|
|
51
|
-
'no-extra-bind': 'error',
|
|
52
|
-
'no-extra-label': 'error',
|
|
53
|
-
'no-floating-decimal': 'error',
|
|
54
|
-
'no-implicit-globals': 'error',
|
|
55
|
-
'no-implied-eval': 'error',
|
|
56
|
-
'no-invalid-this': 'error',
|
|
57
|
-
'no-iterator': 'error',
|
|
58
|
-
'no-lone-blocks': 'error',
|
|
59
|
-
'no-lonely-if': 'error',
|
|
60
|
-
'no-loop-func': 'error',
|
|
61
|
-
'no-multi-spaces': ['warn', {ignoreEOLComments: true}],
|
|
62
|
-
'no-multi-str': 'warn',
|
|
63
|
-
'no-multiple-empty-lines': 'warn',
|
|
64
|
-
'no-new': 'error',
|
|
65
|
-
'no-new-func': 'error',
|
|
66
|
-
'no-new-object': 'error',
|
|
67
|
-
'no-new-wrappers': 'error',
|
|
68
|
-
'no-octal-escape': 'error',
|
|
69
|
-
'no-proto': 'error',
|
|
70
|
-
'no-prototype-builtins': 'off',
|
|
71
|
-
'no-script-url': 'error',
|
|
72
|
-
'no-self-compare': 'error',
|
|
73
|
-
'no-sequences': 'error',
|
|
74
|
-
'no-shadow': 'error',
|
|
75
|
-
'no-shadow-restricted-names': 'error',
|
|
76
|
-
'no-tabs': 'warn',
|
|
77
|
-
'no-template-curly-in-string': 'error',
|
|
78
|
-
'no-throw-literal': 'error',
|
|
79
|
-
'no-trailing-spaces': 'warn',
|
|
80
|
-
'no-undef-init': 'error',
|
|
81
|
-
'no-unexpected-multiline': 'off',
|
|
82
|
-
'no-unmodified-loop-condition': 'error',
|
|
83
|
-
'no-unneeded-ternary': 'error',
|
|
84
|
-
'no-unused-expressions': 'error',
|
|
85
|
-
'no-unused-vars': ['error', {args: 'none'}],
|
|
86
|
-
'no-use-before-define': ['error', {functions: false}],
|
|
87
|
-
'no-useless-call': 'error',
|
|
88
|
-
'no-useless-computed-key': 'error',
|
|
89
|
-
'no-useless-concat': 'error',
|
|
90
|
-
'no-useless-constructor': 'error',
|
|
91
|
-
'no-useless-rename': 'error',
|
|
92
|
-
'no-useless-return': 'error',
|
|
93
|
-
'no-var': 'error',
|
|
94
|
-
'no-whitespace-before-property': 'warn',
|
|
95
|
-
'no-with': 'error',
|
|
96
|
-
'nonblock-statement-body-position': 'error',
|
|
97
|
-
'object-curly-spacing': 'warn',
|
|
98
|
-
'object-shorthand': 'error',
|
|
99
|
-
'operator-linebreak': ['warn', 'after'],
|
|
100
|
-
// 'prefer-arrow-callback': 'error', // turned off due to Angular
|
|
101
|
-
'prefer-const': 'error',
|
|
102
|
-
'prefer-numeric-literals': 'error',
|
|
103
|
-
'prefer-promise-reject-errors': 'error',
|
|
104
|
-
'quotes': ['error', 'single', {allowTemplateLiterals: true}],
|
|
105
|
-
'radix': 'error',
|
|
106
|
-
'rest-spread-spacing': 'warn',
|
|
107
|
-
'semi': 'error',
|
|
108
|
-
'semi-spacing': 'warn',
|
|
109
|
-
'semi-style': 'warn',
|
|
110
|
-
'space-before-blocks': 'warn',
|
|
111
|
-
'space-before-function-paren': ['warn', 'never'],
|
|
112
|
-
'space-in-parens': 'warn',
|
|
113
|
-
'space-infix-ops': 'warn',
|
|
114
|
-
'space-unary-ops': ['warn', {words: true, nonwords: false}],
|
|
115
|
-
'spaced-comment': 'warn',
|
|
116
|
-
'strict': ['error'],
|
|
117
|
-
'switch-colon-spacing': 'warn',
|
|
118
|
-
'template-curly-spacing': 'warn',
|
|
119
|
-
'template-tag-spacing': 'warn',
|
|
120
|
-
'unicode-bom': 'error',
|
|
121
|
-
'yoda': 'error',
|
|
122
|
-
}
|
|
123
|
-
};
|
package/bower.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "firetruss-worker",
|
|
3
|
-
"version": "2.6.1",
|
|
4
|
-
"homepage": "https://github.com/pkaminski/firetruss-worker",
|
|
5
|
-
"authors": [
|
|
6
|
-
"Piotr Kaminski"
|
|
7
|
-
],
|
|
8
|
-
"description": "Web worker component for pkaminski/firetruss",
|
|
9
|
-
"keywords": [
|
|
10
|
-
"firebase",
|
|
11
|
-
"vuejs",
|
|
12
|
-
"model",
|
|
13
|
-
"worker",
|
|
14
|
-
"angular"
|
|
15
|
-
],
|
|
16
|
-
"license": "MIT",
|
|
17
|
-
"ignore": [
|
|
18
|
-
"**/.*",
|
|
19
|
-
"node_modules",
|
|
20
|
-
"bower_components"
|
|
21
|
-
],
|
|
22
|
-
"main": "dist/worker.umd.js"
|
|
23
|
-
}
|